• Resolved marian1

    (@marian1)


    I got a couple of PHP notices with PHP 7.4

    Undefined index: _wpcf7cf_hidden_group_fields in /wp-content/plugins/cf7-conditional-fields/cf7cf.php on line 258
    Undefined index: _wpcf7cf_hidden_groups in /wp-content/plugins/cf7-conditional-fields/cf7cf.php on line 267
    Undefined index: _wpcf7cf_visible_groups in /wp-content/plugins/cf7-conditional-fields/cf7cf.php on line 268
    Undefined index: _wpcf7cf_repeaters in /wp-content/plugins/cf7-conditional-fields/cf7cf.php on line 269
    Undefined index: _wpcf7cf_steps in /wp-content/plugins/cf7-conditional-fields/cf7cf.php on line 270

    Here’s the backtrace

    'Undefined index: _wpcf7cf_hidden_group_fields' at /wp-content/plugins/cf7-conditional-fields/cf7cf.php 258: /wp-content/plugins/cf7-conditional-fields/cf7cf.php 163 calling set_hidden_fields_arrays() | /wp-includes/class-wp-hook.php 324 calling skip_validation_for_hidden_fields() | /wp-includes/plugin.php 205 calling apply_filters() | /wp-content/plugins/contact-form-7/includes/submission.php 581 calling apply_filters() | /wp-content/plugins/contact-form-7/includes/submission.php 90 calling validate() | <unknown file> <unknown line> calling {closure}() | /wp-content/plugins/contact-form-7/includes/l10n.php 147 calling call_user_func() | /wp-content/plugins/contact-form-7/includes/submission.php 137 calling wpcf7_switch_locale() | /wp-content/plugins/contact-form-7/includes/submission.php 35 calling proceed() | /wp-content/plugins/contact-form-7/includes/contact-form.php 1063 calling get_instance() | /wp-content/plugins/contact-form-7/includes/rest-api.php 365 calling submit() | /wp-includes/rest-api/class-wp-rest-server.php 1230 calling create_feedback() | /wp-includes/rest-api/class-wp-rest-server.php 1063 calling respond_to_request() | /wp-includes/rest-api/class-wp-rest-server.php 439 calling dispatch() | /wp-includes/rest-api.php 428 calling serve_request() | /wp-includes/class-wp-hook.php 324 calling rest_api_loaded() | /wp-includes/class-wp-hook.php 348 calling apply_filters() | /wp-includes/plugin.php 565 calling do_action() | /wp-includes/class-wp.php 418 calling do_action_ref_array() | /wp-includes/class-wp.php 813 calling parse_request() | /wp-includes/functions.php 1336 calling main() | /wp-blog-header.php 16 calling wp() | /index.php 17 calling require()
    
    'Undefined index: _wpcf7cf_hidden_groups' at /wp-content/plugins/cf7-conditional-fields/cf7cf.php 267: /wp-content/plugins/cf7-conditional-fields/cf7cf.php 163 calling set_hidden_fields_arrays() | /wp-includes/class-wp-hook.php 324 calling skip_validation_for_hidden_fields() | /wp-includes/plugin.php 205 calling apply_filters() | /wp-content/plugins/contact-form-7/includes/submission.php 581 calling apply_filters() | /wp-content/plugins/contact-form-7/includes/submission.php 90 calling validate() | <unknown file> <unknown line> calling {closure}() | /wp-content/plugins/contact-form-7/includes/l10n.php 147 calling call_user_func() | /wp-content/plugins/contact-form-7/includes/submission.php 137 calling wpcf7_switch_locale() | /wp-content/plugins/contact-form-7/includes/submission.php 35 calling proceed() | /wp-content/plugins/contact-form-7/includes/contact-form.php 1063 calling get_instance() | /wp-content/plugins/contact-form-7/includes/rest-api.php 365 calling submit() | /wp-includes/rest-api/class-wp-rest-server.php 1230 calling create_feedback() | /wp-includes/rest-api/class-wp-rest-server.php 1063 calling respond_to_request() | /wp-includes/rest-api/class-wp-rest-server.php 439 calling dispatch() | /wp-includes/rest-api.php 428 calling serve_request() | /wp-includes/class-wp-hook.php 324 calling rest_api_loaded() | /wp-includes/class-wp-hook.php 348 calling apply_filters() | /wp-includes/plugin.php 565 calling do_action() | /wp-includes/class-wp.php 418 calling do_action_ref_array() | /wp-includes/class-wp.php 813 calling parse_request() | /wp-includes/functions.php 1336 calling main() | /wp-blog-header.php 16 calling wp() | /index.php 17 calling require()
    
    'Undefined index: _wpcf7cf_visible_groups' at /wp-content/plugins/cf7-conditional-fields/cf7cf.php 268: /wp-content/plugins/cf7-conditional-fields/cf7cf.php 163 calling set_hidden_fields_arrays() | /wp-includes/class-wp-hook.php 324 calling skip_validation_for_hidden_fields() | /wp-includes/plugin.php 205 calling apply_filters() | /wp-content/plugins/contact-form-7/includes/submission.php 581 calling apply_filters() | /wp-content/plugins/contact-form-7/includes/submission.php 90 calling validate() | <unknown file> <unknown line> calling {closure}() | /wp-content/plugins/contact-form-7/includes/l10n.php 147 calling call_user_func() | /wp-content/plugins/contact-form-7/includes/submission.php 137 calling wpcf7_switch_locale() | /wp-content/plugins/contact-form-7/includes/submission.php 35 calling proceed() | /wp-content/plugins/contact-form-7/includes/contact-form.php 1063 calling get_instance() | /wp-content/plugins/contact-form-7/includes/rest-api.php 365 calling submit() | /wp-includes/rest-api/class-wp-rest-server.php 1230 calling create_feedback() | /wp-includes/rest-api/class-wp-rest-server.php 1063 calling respond_to_request() | /wp-includes/rest-api/class-wp-rest-server.php 439 calling dispatch() | /wp-includes/rest-api.php 428 calling serve_request() | /wp-includes/class-wp-hook.php 324 calling rest_api_loaded() | /wp-includes/class-wp-hook.php 348 calling apply_filters() | /wp-includes/plugin.php 565 calling do_action() | /wp-includes/class-wp.php 418 calling do_action_ref_array() | /wp-includes/class-wp.php 813 calling parse_request() | /wp-includes/functions.php 1336 calling main() | /wp-blog-header.php 16 calling wp() | /index.php 17 calling require()
    
    'Undefined index: _wpcf7cf_repeaters' at /wp-content/plugins/cf7-conditional-fields/cf7cf.php 269: /wp-content/plugins/cf7-conditional-fields/cf7cf.php 163 calling set_hidden_fields_arrays() | /wp-includes/class-wp-hook.php 324 calling skip_validation_for_hidden_fields() | /wp-includes/plugin.php 205 calling apply_filters() | /wp-content/plugins/contact-form-7/includes/submission.php 581 calling apply_filters() | /wp-content/plugins/contact-form-7/includes/submission.php 90 calling validate() | <unknown file> <unknown line> calling {closure}() | /wp-content/plugins/contact-form-7/includes/l10n.php 147 calling call_user_func() | /wp-content/plugins/contact-form-7/includes/submission.php 137 calling wpcf7_switch_locale() | /wp-content/plugins/contact-form-7/includes/submission.php 35 calling proceed() | /wp-content/plugins/contact-form-7/includes/contact-form.php 1063 calling get_instance() | /wp-content/plugins/contact-form-7/includes/rest-api.php 365 calling submit() | /wp-includes/rest-api/class-wp-rest-server.php 1230 calling create_feedback() | /wp-includes/rest-api/class-wp-rest-server.php 1063 calling respond_to_request() | /wp-includes/rest-api/class-wp-rest-server.php 439 calling dispatch() | /wp-includes/rest-api.php 428 calling serve_request() | /wp-includes/class-wp-hook.php 324 calling rest_api_loaded() | /wp-includes/class-wp-hook.php 348 calling apply_filters() | /wp-includes/plugin.php 565 calling do_action() | /wp-includes/class-wp.php 418 calling do_action_ref_array() | /wp-includes/class-wp.php 813 calling parse_request() | /wp-includes/functions.php 1336 calling main() | /wp-blog-header.php 16 calling wp() | /index.php 17 calling require()
    
    'Undefined index: _wpcf7cf_steps' at /wp-content/plugins/cf7-conditional-fields/cf7cf.php 270: /wp-content/plugins/cf7-conditional-fields/cf7cf.php 163 calling set_hidden_fields_arrays() | /wp-includes/class-wp-hook.php 324 calling skip_validation_for_hidden_fields() | /wp-includes/plugin.php 205 calling apply_filters() | /wp-content/plugins/contact-form-7/includes/submission.php 581 calling apply_filters() | /wp-content/plugins/contact-form-7/includes/submission.php 90 calling validate() | <unknown file> <unknown line> calling {closure}() | /wp-content/plugins/contact-form-7/includes/l10n.php 147 calling call_user_func() | /wp-content/plugins/contact-form-7/includes/submission.php 137 calling wpcf7_switch_locale() | /wp-content/plugins/contact-form-7/includes/submission.php 35 calling proceed() | /wp-content/plugins/contact-form-7/includes/contact-form.php 1063 calling get_instance() | /wp-content/plugins/contact-form-7/includes/rest-api.php 365 calling submit() | /wp-includes/rest-api/class-wp-rest-server.php 1230 calling create_feedback() | /wp-includes/rest-api/class-wp-rest-server.php 1063 calling respond_to_request() | /wp-includes/rest-api/class-wp-rest-server.php 439 calling dispatch() | /wp-includes/rest-api.php 428 calling serve_request() | /wp-includes/class-wp-hook.php 324 calling rest_api_loaded() | /wp-includes/class-wp-hook.php 348 calling apply_filters() | /wp-includes/plugin.php 565 calling do_action() | /wp-includes/class-wp.php 418 calling do_action_ref_array() | /wp-includes/class-wp.php 813 calling parse_request() | /wp-includes/functions.php 1336 calling main() | /wp-blog-header.php 16 calling wp() | /index.php 17 calling require()
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Thanks, will take care of it in a future update

    Plugin Author Jules Colle

    (@jules-colle)

    Any idea how I can reproduce these warnings? Might be a conflict with another plugin because I’m not getting these warnings on a fresh WP installation.

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