Yes, I can confirm that the latest version of Contact Form 7 indeed throws a PHP error when Nextgen Gallery flash upload is being used.
Fatal Error: Call to undefined function wpcf7_add_tag_generator() in /pathname/wp-content/plugins/contact-form-7/modules/text.php on line 152
The only work around is to deactivate the Conctact Form 7 plugin while using NextGen Gallery, which is a real pain because I love to use both of these plugins on multiple client web sites.
Thank you for the quick reply, I’ve updated the issue in the NextGen file: ngg-config.php
from:
require_once( WP_LOAD_PATH . 'wp-load.php');
to:
require_once( WP_LOAD_PATH . 'wp-admin/admin.php');
I can now upload photos in NextGen without seeing any error message from Contact Form 7.
@daniel payne :
Thank you, it works fine !
I posted your fix in the comments of the last update of the plugin on the author’s blog.
Yes it works… bug in ngg gallery ! Tanks !!!
@daniel, how do I update the code as you mentioned above?
Thank you!!
melobster,
In WordPress click on: Plugins> Edit
Select: NextGen Gallery
Click the link for: ngg-config.php
Make your edits, click: Save
@daniel, Thank you for helping this amateur at WP code! It works now.
Glad to help out although 99% of the time we don’t have to patch plugin code, we just choose it, install it, and use it.
Confirmed this fix works. A little too late for me though, I deleted contact form 7 and lost all my forms “SOAB”!!!! Back to creating the forms again.
Brilliant!
It works for me too 🙂 Thanks guys!
Curious why either Contact Form 7 or Nextgen Gallery aren’t pushing out an update to resolve this?
Guys, thank you A LOT. I wasted a lot of time trying to find the problem. And you’ve made my day!
Thnx!