Support » Plugin: Save Contact Form 7 » Deprecated method calls

  • Hi,

    the save contact form 7 plugin uses deprecated method calls – having the WordPress debug settings set to true I can’t save my Contact Form 7 forms anymore.
    According to the PHP notice you have to change the code in the following way:

    Since Contact Form 7 Version 4.6:
    Use WPCF7_FormTagsManager::get_instance ( instead of WPCF7_ShortcodeManager::get_instance )
    Use: WPCF7_FormTagsManager::scan ( instead of WPCF7_ShortcodeManager::scan_shortcode )

    Error happened using:
    CF7 version 4.9
    Save Contact Form 7 version 2.0
    WP version 4.8.2

    PHP error notice:

    Notice: WPCF7_ShortcodeManager::get_instance ist veraltet seit Contact Form 7 Version 4.6! Nutze WPCF7_FormTagsManager::get_instance stattdessen. in /Users/***/***/htdocs/aaa/content/plugins/contact-form-7/includes/functions.php on line 355

    Notice: WPCF7_ShortcodeManager::scan_shortcode ist veraltet seit Contact Form 7 Version 4.6! Nutze WPCF7_FormTagsManager::scan stattdessen. in /Users/***/***/htdocs/aaa/content/plugins/contact-form-7/includes/functions.php on line 355

    Notice: WPCF7_ShortcodeManager::get_instance ist veraltet seit Contact Form 7 Version 4.6! Nutze WPCF7_FormTagsManager::get_instance stattdessen. in /Users/***/***/htdocs/aaa/content/plugins/contact-form-7/includes/functions.php on line 355

    Notice: WPCF7_ShortcodeManager::scan_shortcode ist veraltet seit Contact Form 7 Version 4.6! Nutze WPCF7_FormTagsManager::scan stattdessen. in /Users/***/***/htdocs/aaa/content/plugins/contact-form-7/includes/functions.php on line 355

    Warning: Cannot modify header information – headers already sent by (output started at /Users/***/***/htdocs/aaa/content/plugins/contact-form-7/includes/functions.php:355) in /Users/***/***/htdocs/aaa/wordpress/wp-includes/pluggable.php on line 1210

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Deprecated method calls’ is closed to new replies.