It seems that the most recent version of Contact Form 7 is breaking the flash upload function for Nextgen gallery.
Hope this will be fixed asap.
It seems that the most recent version of Contact Form 7 is breaking the flash upload function for Nextgen gallery.
Hope this will be fixed asap.
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.
It was Miyoshi's fix?
yes
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!
Thanks a lot! This fix works for me as well!
Saved me a lot of time finding the problem.
Yay! NextGen fixed this problem in version 1.9.5 which was just released today! This is in the Changelog:
Bugfix: Fixed compatibility issues with Contact Form 7 and other plugins by following WordPress Plugin conventions
I am going to try to upgrade, then we will see if it's necessary to reverse the "fix" that we have all done.
You must log in to post.