Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » [Plugin: NextGEN Gallery] Call to undefined function wpcf7_add_tag_generator()

  • Resolved w3dgie


    Hello NextGEN Gallery Developers, and WordPress Community,

    I am using the following:

    • WordPress Version 3.4
    • NextGEN Gallery Version 1.9.3
    • Contact Form 7 Version 3.2

    Now, I am not certain whether this issue is related to WordPress Core, Contact Form 7, or NextGEN Gallery.

    However, when I try uploading images into my galleries, I run into an error:
    Fatal error: Call to undefined function wpcf7_add_tag_generator() in /home/xxxx/public_html/wp-content/plugins/contact-form-7/modules/text.php on line 152

    According to this thread, WordPress community member “liquid50” has apparently found a solution to this issue.

    It looks like the underlying issue is ultimately within the NextGEN Gallery plugin, and might be worth looking into for a hot-fix.

    Proposed fix is described in the following:
    NextGen file: ngg-config.php
    Find: require_once( WP_LOAD_PATH . 'wp-load.php');
    Change to: require_once( WP_LOAD_PATH . 'wp-admin/admin.php');

Viewing 15 replies - 1 through 15 (of 17 total)
  • I have also experienced the same problem with Contact Form 7 when trying to upload images to NextGEN gallery.

    On one site i used the fix w3dgie proposed and it worked, on another I have downloaded development version of Contact Form 7 which also solved my issues.

    Thanks. W3dgie’s patch worked for me!

    Thank you, w3dgie! It works!

    Thanks for the patch from w3dgie it works again!
    (WordPress v3.4 – ContactForm7 v3.2 – NGG v1.9.3)

    Is there any reaction on this from Nextgen Gallery developers? Is it going to be fixed or will we have to apply this fix upon every NGG update?

    Worked great for me too ! Thanks a lot !

    The fix worked for me too, but I hope this will be included in a hotfix the next days?


    Thanks for posting the link from the other thread. I do have contact form 7 too! Who’d a thunk it?

    fix worked for me too.

    Thanks! Its work for me.

    Thanks, the fix saved my day. Hope it will be included in NextGenGallery’s next updates, too.

    Perfect! Thank you, w3dgie!

    Thank you w3dgie!

    THANK YOU w3dgie…I was about to give up hope on this plugin!

    This issues has been solved in NextGen Gallery V1.9.5 – 18.07.2012 :

    Changed: Branding changes following Photocrati acquisition (removed donation messages and updated links)
    Secured: Use WordPress-bundled JavaScript libraries for swfobject and swfupload instead of bundling our own
    Bugfix: Adjusted thickbox effect styling to ensure that the lightbox is always displayed in the foreground
    Bugfix: Fixed compatibility issues with Contact Form 7 and other plugins by following WordPress Plugin conventions
    Bugfix: Fixed network-wide activation in WordPress 3.4
    Bugfix: Plugin is no longer dependent on it’s folder name

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘[Plugin: NextGEN Gallery] Call to undefined function wpcf7_add_tag_generator()’ is closed to new replies.