Hi Vodim. Thank you for the trick. Perhaps there is no solution, but it works fine. http://www.mensday-drei-thermen.eu/fotos
I inserted a line at line 513:
// re-order them and populate some
foreach ($sortorder as $key) {
if (!isset($galleries[$key])) $galleries[$key] = new stdclass; // this is the new line
Thanks biziclop, this solution works for me. Cheers
You can also just turn error reporting off. I put in…
error_reporting(0);
…on line 2.
Would be nice to get this fixed in the next release, so the update doesn’t overwrite the manual fix.
thx biziclop,
insert a line at line 513:
if (!isset($galleries[$key])) $galleries[$key] = new stdclass;
works fine.
// re-order them and populate some
foreach ($sortorder as $key) {
if (!isset($galleries[$key])) $galleries[$key] = new stdclass; // this is the new line
Thanks bizclop and wernergetzmann
the simple insertion worked for me.
if (!isset($galleries[$key])) $galleries[$key] = new stdclass;
Crap. With the new version of Nextgen does not work anymore.
Does anyone have a new idea?
I’m also having this problem. Will this still work?
error_reporting(0);
Now I have just turned off the screen errors in php.ini. (display_errors = Off). That’s it.
Now my images aren’t showing. But that’s another problem I guess.
Hello,
I still have this problem with my galleries http://telliers.fr/photos/
Warning: Creating default object from empty value in /homepages/32/d316530274/htdocs/telliers_wordpress/wp-content/plugins/nextgen-gallery/nggfunctions.php on line 553
is displayed 7 times (corresponding to number of galleries displayed in the 2 albums shown).
Here is my configuration:
Système d’exploitation : Linux (32 Bit)
Serveur : Apache
Mémoire utilisée : 16.59Mega octets
Version MySql : 5.0.96-log
Mode SQL : Non configuré
Version PHP : 5.4.9
PHP Safe Mode : Non
PHP autorise les URL fopen : Oui
PHP mémoire maxi : 90
PHP taille max. de téléchargement : 40M
PHP taille max. du billet : 8M
Limite de PCRE Backtracking : 500000
PHP durée max. d’exécution du script : 50000s
Support PHP Exif : Oui ( V1.4 )
Support PHP IPTC : Oui
Support de PHP XML : Oui
Bibliothèque graphique
GD Version : bundled (2.0.34 compatible)
FreeType Support : Oui
FreeType Linkage : with freetype
T1Lib Support : Non
GIF Read Support : Oui
GIF Create Support : Oui
JPEG Support : Oui
PNG Support : Oui
WBMP Support : Oui
XPM Support : Non
XBM Support : Oui
JIS-mapped Japanese Font Support : Non
My website host recently updated to php 5.4 and I updated Nextgen gallery to latest (1.9.9)
May someone be nice and confirm that line should be inserted in nggfunctions.php file or another ? !
May someone also indicate me an editor for code that counts lines as I couldn’t find correct location to inseret code.
simple questions for advanced persons but not for the beginner I am
thanks in advance.
R
Hey everyone,
We just released v1.9.10 that should resolve this error.
Fuck, I just upgraded the plugin based on that advice, and now I have to revert again. It’s still not PHP 5.4 compatible it seems.
Just a lot of Warning: Creating default object from empty value in /.../public_html/wp/wp-content/plugins/nextgen-gallery/nggfunctions.php on line 554
Still, the line 513 fix above seems to fix it for me. So I didn’t need to restore from backup. Still, it would be nice to get this commited to trunk.