Conditional groups in Additional headers critical error
-
I’m having a problem using conditional groups in Additional headers.
In previous versions of this plugin I’ve used them without any issues, but now when saving any cotact form that has conditional groups in Additional headers, it gives a Critical error. It still saves and functions correctly, but the Critical error is making me worried.
For example this will give an error:
Cc: [group][email protected],[/group]I’ve tried both on the website that has had them for years, and in a new clean installation of WordPress, with the basic theme and without any other plugins, and it gives me the same error:
Fatal error: Uncaught Error: Undefined class constant 'error_invalid_mailbox_syntax' in (...)/wp-content/plugins/cf7-conditional-fields/cf7cf.php:78 Stack trace: #0 (...)/wp-includes/class-wp-hook.php(310): CF7CF->wpcf7cf_config_validator_validate(Object(WPCF7_ConfigValidator)) #1 (...)/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters('', Array) #2 (...)/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 (...)/wp-content/plugins/contact-form-7/includes/config-validator/validator.php(329): do_action('wpcf7_config_va...', Object(WPCF7_ConfigValidator)) #4 (...)/wp-content/plugins/contact-form-7/admin/admin.php(249): WPCF7_ConfigValidator->validate() #5 (...)/wp-includes/class-wp-hook.php(308): wpcf7_load_contact_form_admin() #6 (...)/wp-includes/class-wp-hook.php(334): WP_Hook->a in (...)/wp-content/plugins/cf7-conditional-fields/cf7cf.php on line 78In further testing, I’ve tried using a previous version of the main CF7 plugin (5.7.7) and it didn’t give an error, but after 5.8 it does.
Thanks in advance.
The topic ‘Conditional groups in Additional headers critical error’ is closed to new replies.