• Hi,

    for your information : with Contact Form 7 v6.0 using WordPress 6.6.2 there is following error shown :

    Deprecated: WPCF7_TagGenerator::add(): Use of tag generator instances older than version 2 is deprecated. Version 1 instance (multiple file upload) detected. in /home/646765b1c1ac1878f84943b3/public_html/wp-includes/functions.php on line 6085

    This error occurs not with CF7 Version 5.9.8.

    All the best!
    kraeMit

    • This topic was modified 4 months, 2 weeks ago by kraeMit.
Viewing 12 replies - 1 through 12 (of 12 total)
  • I am having the exact same issue and error message.

    The latest release notes state:

    6.0 introduces the tag-generator version 2 and rewrites existing generators based on v2. Tag-generator v2 allows you to implement a finer, more solid user interface than ever before.

    The previous tag-generator (v1) will continue to work, but an E_USER_DEPRECATED level warning will urge users to upgrade to v2.

    If this is something you maintain, look at how the standard tags are being generated and adjust your code accordingly. Otherwise, refer to the respective developer.

    Hopefully, @takayukister will soon publish more details instructions on this.

    Still have this problem! How to fix it?

    If you have Contact Form 7 – Dynamic Text Field installed, please update to the latest version, released today, as it now uses version 2 of the form tag generator.

    Thread Starter kraeMit

    (@kraemit)

    Hm … I don’t use ‘Dynamic Text Field’, but if I understand correct one or some of the plugins have to be changed to avoid this error? MAy be one can explain more in detail.

    Plugins used here with Contact Form 7 are : Chimpmatic, Conditional Fields for Contact Form 7, Contact Form 7 Extension For Mailchimp, Country & Phone Field Contact Form 7, Drag and Drop Multiple File Upload PRO – Contact Form 7, Jquery Validation For Contact Form 7 Pro.

    Some of the plugins you’ve listed may be using the tag generator, and they should get updated soon.

    So you have 2 options:

    1. Await those updates and ignore the messages, while the CF7 still supports the old tag generator
    2. Revert CF7 to the previous version until all the plugins release compatibility updates

    Either way, your site should continue to work for a reasonable while.

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    Probably this plugin:

    Drag and Drop Multiple File Upload PRO – Contact Form 7

    And, note that the Deprecated warning appears because you run the website in the debug mode (WP_DEBUG is true). Running a live site in the debug mode is never recommended.

    Good point. @takayukister can you please publish how to use Tag Generator v2?

    @galbaras After having fixed it for DTX, I wrote up a 7-minute tutorial here: https://aurisecreative.com/blog/2024/11/how-to-use-tag-generator-version-2-in-contact-form-7/

    It was surprisingly much simpler than I was expecting and I was able to do away with some of the customizing JS code for DTX’s form tag generators since CF7 now looks for the data-form-tag and data-form-option attributes.

    Though I’d still like a filter for the tag generator buttons, but that’s neither here nor there ??

    So great on both counts, @tessawatkinsllc !

    @kraemit Other CF7 extensions have also released updates, so once all of the extensions on your site area compliant (as well as any custom code), there should be no more notices.

    Thread Starter kraeMit

    (@kraemit)

    Thanks for all answers!
    Very helpful!??

    All the best!
    kraeMit

    I saw this too. how bad is it?

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.