NextGen Gallery post error (error solution)
-
Hi !
I’m using WP 4.4.2 + WPML (latest) + NextGen Gallery (latest), and in a multisite configuration (8 sites).I noticed when you are in a post, if you try to add something with the green nextgen gallery button (in the toolbar), you have the following fatal error :
Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/third_party_compat/module.third_party_compat.php on line 325
tried default theme and no active plugins (except nextgen), same trouble.
after reaching the file, I just added a simple conditional test like :
if (isset($wp_filter[‘after_setup_theme’][1])) {
//foreach loop
}and everything is working after re-enabling themes and plugins.
You should just check that, hope I’ll see that in a future upgrade!Thx!
- The topic ‘NextGen Gallery post error (error solution)’ is closed to new replies.