• Using WP v 3.9.1 and Nextgen Gallery v2.0.66 I get a fatal error message in the “customize thumbnail” popup window every time I try to edit a thumbnail. This is a new install of Nextgen Gallery, not an upgrade. Same error occurs regardless of which browser I use.

    Here’s the error message:

    Fatal error: Cannot redeclare ngg_getOnlyImages() (previously declared in /home/lightsee/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/functions.php:1420) in /home/lightsee/public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/functions.php on line 1422

    These appear to be the lines in question:

    function ngg_getOnlyImages($p_event, &$p_header)	{
    	return nggAdmin::getOnlyImages($p_event, $p_header);
    }

    Is there a fix or workaround for this?

    Thanks

    https://www.ads-software.com/plugins/nextgen-gallery/

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

    (@photocrati)

    @susan Warren – This is the only report of this particular issue that I am aware of and not something commonly found.

    I’m also not seeing the reference as pointing to the correct line for 2.0.66 … have you tried (manually) re-installing NextGEN Gallery overwriting the existing files and folders under the /nextgen-gallery/ folder?

    – Cais.

    Thread Starter Susan Warren

    (@susan-warren)

    Doing an a complete uninstall and a manual re-install didn’t fix it. I still get the same error. For now I’ve done a work-around by setting up galleries on the live site and then downloading the images and thumbnails to a clean install of WP 3.9.1 on my local server, where I crop the thumbnails as needed. Then I upload the cropped thumbs to the live site and everybody’s happy.

    When I get some time I’ll probably set up the live site on my local server and start reverse engineering things to see if I can fine why the redeclare thing is happening.

    Plugin Contributor photocrati

    (@photocrati)

    @susan Warren – Thanks for the update and sorry about how inconvenient this may be. Please let us know what you find, feel free to send us a Bug Report (https://www.nextgen-gallery.com/report-bug/ … please reference this topic) with the details as well.

    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error in "Edit Thumb" "Customize Thumbnail" Code’ is closed to new replies.