Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » Fatal error: Cannot unset string offsets in… line 1578

  • Resolved vanels



    When I add a gallery to a page, it only shows a blank square and when I click on it, I get this error:
    Fatal error: Cannot unset string offsets in /…/wordpress/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/package.module.nextgen_gallery_display.php on line 1578
    I’ve already tried clearing cache, different browser, etc. – nothing works…
    I uninstalled and installed again the plugin too.

    I had another gallery in other page and it works correctly :S


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author photocrati


    @vanels – Are you referencing the “blank square” as in the page/post you have published or the new placeholder block in the TinyMCE editor’s visual tab?

    Also, have you tried deactivating all of your plugins, clearing your browser cache (and site caches if you are using a caching plugin), then reactivating the NextGEN plugin?

    If this fixes the problem then it was likely one of the deactivated plugins that was causing an issue. Now, retrace your steps activating each plugin and re-checking to see if the problem returns. If it does then that last activated plugin was probably the one. Keep reactivating and in most cases it is also best to keep checking after each plugin, sometimes there may be more than one plugin on a site that will create an issue. If you do find one (or more) plugins causing this problem we would greatly appreciate your feedback on them so the developers may address them as soon as they can.

    Also to note, in rare cases it may be the theme itself that is causing a conflict so while you have just the NextGEN plugin activated you might consider temporarily switching to one of the default WordPress Twenty series themes and see if this corrects the issue as well.

    If the problem still persists after all of this we would still want to know, even more so, as we will still want to sort out the issue and may need additional details.


    – Cais.

    Thread Starter vanels



    I am referencing the new placeholder block in the TinyMCE editor’s visual tab.
    I’ve try in both Chrome and IE with the same results.

    I’ve deactivated every plugin and only NextGen Gallery is activated (browser cache is clear too).

    I go to a page, “add gallery”, only select “Gallerys” –> MyGallery and create, but the placeholder block appears.

    If I try to insert another gallery next to the gallery that works ok, in the same page… the same result.

    Thanks a lot!

    • This reply was modified 7 years ago by vanels.
    Plugin Author photocrati


    @vanels – Please send us a Bug Report ( … please reference this topic) so we can get a better look under the page at your site.

    Please include as many details as you can about your site and the issue at hand so we can move on this as fast as possible.


    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Cannot unset string offsets in… line 1578’ is closed to new replies.