• Resolved kender

    (@kender)


    Deprecated: WPCF7_TagGenerator::add(): Use of tag generator instances older than version 2 is deprecated. Version 1 instance (password) detected. in /{domain}/wp-includes/functions.php on line 6085

    this is generated because of the function wpcf7_add_tag_generator_password()

    that function is found here /wp-content/plugins/wpcf7-redirect/modules/cf7-shortcode-password-field.php

    the error can be resolved by adding a comma to the end of line 168 (callback) and adding in a new line 169 of array(‘version’ => ‘2’)

    function wpcf7_add_tag_generator_password() {
    $tag_generator = WPCF7_TagGenerator::get_instance();
    $tag_generator->add(
    'password',
    __( 'password', 'wpcf7-redirect' ),
    'wpcf7_tag_generator_password',
    array( 'version' => '2' )
    );
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Kush

    (@kushnamdev)

    Hello?@kender,

    We appreciate your cooperation in reporting the issue you’re encountering. We are sorry for the inconvenience, and we have confirmed the problem. A bug report has been created and forwarded to our product development team for review.

    If you have any additional questions or concerns, please feel free to open another ticket. Again, we apologize for the inconvenience and thank you for your patience.

    @kushnamdev Does this bug affect the functionality? The error message is annoying, but as long as it’s not interfering with how the plugin works, I will wait for the bug fix to be released. Otherwise, I will implement @kender’s solution above. Thank you!

    Plugin Support Kush

    (@kushnamdev)

    @kimn667 No It doesn’t affect the functionality of the plugin. We have fixed this issue and it will be resolved with next plugin update.

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