Error Using NextGen Gallery

I have used NextGen gallery many times and have never had a problem. The gallery displays correctly, but when I click Album1 to go back and display all galleries, I get an error. I have included the error in Secure Notes. Why is this error occurring?

Hello @eutaw,

Thanks for writing in! You are seeing a PHP notice generated by the 3rd party NGG plugin. Please disable the debug mode to get rid of this message. You can do this by opening wp-config.php and adding

define('WP_DEBUG', false);

/* That's all, stop editing! Happy blogging. */

When you revisit the page, you should no longer be seeing the message.

Hope this helps.

Wouldn’t that mean that debug code would not be there when it is needed? Also why is the gallery being shown on url/calendar/ page instead of url/gallery/ page when the gallery shortcode is on the gallery page?

Hi @eutaw,

By setting the debug mode false all the unwanted notice and warning will not be shown, only the fatal errors will be shown. As the 3rd party plugins show the Notice, it will suppress by disabling the debug mode. Regarding the calendar URL issue, it seems that the page was named as calendar before and then renamed to gallery and that is why the slug calendar is still there. I would suggest you change the slug by clicking on the Quick Edit link.

Thanks

Thank you. That works. Does the config.php code go at the end of the config.php file?

Hi @eutaw,

To know more where you will put your define(‘WP_DEBUG’, false); code in the wp-config.php file, please check this article.

Hope that helps.

Thank you.

OK, thank you.

Hi @eutaw,

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.