I came across this thread by searching for the same error message that @webtekky posted about. And coincidentally, I’m working on the same project as @webtekky.
I’m writing because I found the cause of the problem, and want to suggest a solution to the plugin author.
The issue is with nggallery.php in the /plugins/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy folder.
On line 68 of the file, within the function start_plugin(), the ‘ngg_init_check’ option is fetched, and based on its value, the error message is generated. Unfortunately, except during plugin installation, the ‘ngg_init_check’ option is never set/verified. Once the error condition gets set (regardless of the reason), there is no opportunity to “reset” it when the issue gets resolved.
So, in the start_plugin() function, I believe you should include the same test condition as was initially coded in lines 90-94 of the install.php module, and if the $nggpictures table can be located, the error flag should be reset.
** EDIT **
Pending a correction to the plugin, I have temporarily removed the message by editing the wp_options table and NULLing out the value associated with the ‘ngg_init_check’ option.
-
This reply was modified 7 years, 5 months ago by
jefromcanada.
-
This reply was modified 7 years, 5 months ago by
jefromcanada.