Support » Plugin: Contact Form 7 Modules » Throws error with CF7 4.6

  • Resolved Aurovrata Venet

    (@aurovrata)


    The module uses a deprecated function call, line 43 of hidden.php,

    
    [22-Dec-2016 11:36:09 UTC] PHP Notice:  wpcf7_add_shortcode is <strong>deprecated</strong> since Contact Form 7 version 4.6! Use wpcf7_add_form_tag instead. in /Users/aurovrata/Sites/crm/wp-content/plugins/contact-form-7/includes/functions.php on line 351
    [22-Dec-2016 11:36:09 UTC] PHP Stack trace:
    [22-Dec-2016 11:36:09 UTC] PHP   1. {main}() /Users/aurovrata/Sites/crm/wp-admin/admin-ajax.php:0
    [22-Dec-2016 11:36:09 UTC] PHP   2. require_once() /Users/aurovrata/Sites/crm/wp-admin/admin-ajax.php:22
    [22-Dec-2016 11:36:09 UTC] PHP   3. require_once() /Users/aurovrata/Sites/crm/wp-load.php:37
    [22-Dec-2016 11:36:09 UTC] PHP   4. require_once() /Users/aurovrata/Sites/crm/wp-config.php:101
    [22-Dec-2016 11:36:09 UTC] PHP   5. do_action() /Users/aurovrata/Sites/crm/wp-settings.php:326
    [22-Dec-2016 11:36:09 UTC] PHP   6. WP_Hook->do_action() /Users/aurovrata/Sites/crm/wp-includes/plugin.php:453
    [22-Dec-2016 11:36:09 UTC] PHP   7. WP_Hook->apply_filters() /Users/aurovrata/Sites/crm/wp-includes/class-wp-hook.php:323
    [22-Dec-2016 11:36:09 UTC] PHP   8. call_user_func_array:{/Users/aurovrata/Sites/crm/wp-includes/class-wp-hook.php:298}() /Users/aurovrata/Sites/crm/wp-includes/class-wp-hook.php:298
    [22-Dec-2016 11:36:09 UTC] PHP   9. contact_form_7_hidden_fields() /Users/aurovrata/Sites/crm/wp-includes/class-wp-hook.php:298
    [22-Dec-2016 11:36:09 UTC] PHP  10. wpcf7_add_shortcode() /Users/aurovrata/Sites/crm/wp-content/plugins/contact-form-7-modules/hidden.php:43
    [22-Dec-2016 11:36:09 UTC] PHP  11. wpcf7_deprecated_function() /Users/aurovrata/Sites/crm/wp-content/plugins/contact-form-7/includes/shortcodes.php:9
    [22-Dec-2016 11:36:09 UTC] PHP  12. trigger_error() /Users/aurovrata/Sites/crm/wp-content/plugins/contact-form-7/includes/functions.php:351
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Throws error with CF7 4.6’ is closed to new replies.