• Hi, I do not know what happened, but all of a sudden I have most of my pages not showing and with the following message:
    Warning: Illegal string offset ‘saved’ in … plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/package.module.nextgen_data.php on line 2497
    What is that? Can anyone help me with this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I was getting exactly the same thing.

    I looked at the previous version of NextGen and it looked like it wasn’t trying to force ‘saved’ as a default meta tag… so I just commented out line 2497 in that file and things appear to be working fine.

    FWIW, for me it was working fine where I was using the ScrollGallery plugin, but where I had started using the updated BMo Expo plugin was where I got the error.

    Are you using any further plugins to show your gallery, or is it a straight next-gen gallery??

    Thread Starter inesfromfriends

    (@inesfromfriends)

    thanks for your input mintynz. I am using only nextgen gallery, no other plugins.
    what do you means by “I just commented out line 2497”? How does that work? Sorry, I am a super greenhorn here.

    Hey Ines,

    It means editing the file that the warning occurs in.

    Not really newbie stuff, but if you’re feeling brave:

    Use ftp (or cpanel file editor) to log in to your site, and look in:

    wp-content//plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_data/

    The file you want is “package.module.nextgen_data.ph”

    Scroll down to line 2497. The lines there will look like this:

    if (!isset($meta['saved'])) {
                $meta['saved'] = FALSE;
            }

    Change it to:

    if (!isset($meta['saved'])) {
                //$meta['saved'] = FALSE;
            }

    (Two backslashes at the start of line 2497 comments it out)

    Save the file, and try reloading your website page.

    If it works, great. If it doesn’t, undo your change and save it again.

    NOTE: Even if it works, the next time you update NextGen it will overwrite these changes. But hopefully by then they’ll have fixed it properly…

    “But hopefully by then they’ll have fixed it properly…”
    This bug still exists ?? and the fix detailed above still works ??
    (I also use BMO Expo)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Nextgen Photocrati – Warning: Illegal string offset 'saved' in…’ is closed to new replies.