Same Problem here
would be appreciated as well
Well I tried the development version of Contact Form 7 but it generated an error message on my WP Admin Page. I’m trying to find how I can revert back to the previous version that worked with NextGEN.
I v tried to downgrader contact form 7 foudn here : http://wordpress.org/extend/plugins/contact-form-7/developers/
but it s the same …
I cannot use Nextgen Gallery …
I had the same problem with Contact Form 7 V3.2, I had to revert back to the previous version which worked fine with NGG. I re-downloaded CF7 V3.1.2 here — http://downloads.wordpress.org/plugin/contact-form-7.2.4.6.zip
I downloaded and reinstalled Contact Form 7 version 3.1.2 (the previous working version) from here:
http://wordpress.org/extend/plugins/contact-form-7/developers/
Now NGG gallery uploads work fine again.
This looks like a similar issue that I’m having(same error message).
http://wordpress.org/support/topic/plugin-nextgen-gallery-fatal-error-using-flash-uploader?replies=1
I do not have the plugin you mentioned, however…
Any help?
Sorry. My error messages were caused by the plugin “Contact Form 7.” If you’re getting the same error messages but you don’t have that plugin, then try to think about when it first started happening and if you had recently installed or updated a particular plugin.
Me too i have the same Issue!!
Thanks JCMilton.
I installed the last development version of Contact Form 7 (3.1.2) and I have it all working again.
There’s a definite conflict between those two plugins – would be great if the two developers would try resolve the issue, as these as two of the most popular plugins for WordPress.
same problem here,I installed the last development version of Contact Form 7 (3.1.2) and I have it all working again.
It looks to me that it is a bug in NextGen that is becoming evident with the new Contact Form update.
***Start (short) Technical reason (from what I can figure out)***
The nextgen file admin/upload.php does a require of ngg-config.php which includes the WordPress wp-load.php. This loads WordPress and all plugins. Then later down in NGG’s upload.php file it loads the WordPress admin bootstrap wp-admin/admin.php. This is a problem since WP already loaded as a non-admin, and good plugin programmers only load files that are needed by non-admin WP. Now hooks like admin-init are getting called and functions are getting called that aren’t loaded.
***End Technical reason***
My fix:
Change the last line in NextGen’s ngg-config.php file from
require_once( WP_LOAD_PATH . 'wp-load.php');
to:
require_once( WP_LOAD_PATH . 'wp-admin/admin.php');
Disclaimer: I’m not a NextGen or Contact Form 7 developer. From searching through their code it looks like the ngg-config.php file is always loaded for admin uses. This means that the above fix should not break anything. I can’t guarantee this, but it is working so far for me.
mslocum, I totally agree with you. There seems to be many plugins including famous ones like NGG which load wp-load.php and wp-admin/admin.php. IMO it’s not a good practice as it can cause many many conflicts with other plugins, not only with Contact Form 7. Even if it’s necessary for them, they shouldn’t load wp-load.php before wp-admin/admin.php.
SOLVED
Thanks mslocum. Really appreciate you posting the fix.
For the last few days I’ve been trying to find the answer.
Did as you suggested and from within the plugin editor, edited:
nextgen-gallery/ngg-config.php
// let’s load WordPress
// removed by PEB http://wordpress.org/support/topic/plugin-nextgen-gallery-conflict-with-contact-form-7#post-2874491
// require_once( WP_LOAD_PATH . ‘wp-load.php’);
require_once( WP_LOAD_PATH . ‘wp-admin/admin.php’);
WORKED.
Many thanks
Peter
Thanks mslocum. Hopefully the NextGen Gallery dev will remedy their next release.