Custom Fields
Re-Envisioned
Support Meta Box AIO PHP Notices and Warnings when using Contact Form 7

  • Creator
    Topic
  • #28856
    Resolved Aaron Kessler
    Participant

    I get these PHP Notices and Warnings when I am adding a new form to Contact Form 7. Should i do something about it?

    ( ! ) Notice: Trying to get property 'post_name' of non-object in /Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/app/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Editor.php on line 47
    Call Stack
    #  Time    Memory  Function    Location
    1   0.0006  393560  {main}( )   .../admin.php:0
    2   0.0007  394200  require_once( '/Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/wp/wp-load.php' ) .../admin.php:34
    3   0.0007  394512  require_once( '/Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/wp-config.php' )  .../wp-load.php:42
    4   0.0200  437192  require_once( '/Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/wp/wp-settings.php' ) .../wp-config.php:9
    5   0.4100  17283768    do_action( )    .../wp-settings.php:560
    6   0.4100  17284144    WP_Hook->do_action( )    .../plugin.php:484
    7   0.4100  17284144    WP_Hook->apply_filters( )    .../class-wp-hook.php:316
    8   0.6018  19596120    RWMB_Core->register_meta_boxes( )    .../class-wp-hook.php:292
    9   0.6018  19596120    apply_filters( )    .../core.php:49
    10  0.6018  19596528    WP_Hook->apply_filters( )    .../plugin.php:212
    11  0.6197  19839048    MBViews\Editor->register_meta_boxes( )   .../class-wp-hook.php:292
    
    ( ! ) Warning: Cannot modify header information - headers already sent by (output started at /Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/app/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Editor.php:47) in /Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/wp/wp-includes/functions.php on line 6362
    Call Stack
    #  Time    Memory  Function    Location
    1   0.0006  393560  {main}( )   .../admin.php:0
    2   0.8109  22741752    do_action( )    .../admin.php:175
    3   0.8109  22742128    WP_Hook->do_action( )    .../plugin.php:484
    4   0.8109  22742128    WP_Hook->apply_filters( )    .../class-wp-hook.php:316
    5   0.8130  22757488    send_frame_options_header( )    .../class-wp-hook.php:290
    6   0.8130  22757488    header ( )  .../functions.php:6362
    
    ( ! ) Warning: Cannot modify header information - headers already sent by (output started at /Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/app/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Editor.php:47) in /Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/wp/wp-admin/includes/misc.php on line 1310
    Call Stack
    #  Time    Memory  Function    Location
    1   0.0006  393560  {main}( )   .../admin.php:0
    2   0.8109  22741752    do_action( )    .../admin.php:175
    3   0.8109  22742128    WP_Hook->do_action( )    .../plugin.php:484
    4   0.8109  22742128    WP_Hook->apply_filters( )    .../class-wp-hook.php:316
    5   0.8282  22880704    wp_admin_headers( ) .../class-wp-hook.php:292
    6   0.8282  22881024    header ( )  .../misc.php:1310
    
    ( ! ) Warning: Cannot modify header information - headers already sent by (output started at /Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/app/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Editor.php:47) in /Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/wp/wp-includes/pluggable.php on line 1329
    Call Stack
    #  Time    Memory  Function    Location
    1   0.0006  393560  {main}( )   .../admin.php:0
    2   0.8312  22911032    do_action( )    .../admin.php:237
    3   0.8312  22911408    WP_Hook->do_action( )    .../plugin.php:484
    4   0.8312  22911408    WP_Hook->apply_filters( )    .../class-wp-hook.php:316
    5   0.8312  22912536    wpcf7_load_contact_form_admin( )    .../class-wp-hook.php:290
    6   0.8933  23133248    wp_safe_redirect( ) .../admin.php:284
    7   0.8934  23133248    wp_redirect( )  .../pluggable.php:1437
    8   0.8935  23133336    header ( )  .../pluggable.php:1329
    
    ( ! ) Warning: Cannot modify header information - headers already sent by (output started at /Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/app/plugins/meta-box-aio/vendor/meta-box/mb-views/src/Editor.php:47) in /Users/aaronkessler/Local Sites/majelkadicom/app/bedrock/web/wp/wp-includes/pluggable.php on line 1332
    Call Stack
    #  Time    Memory  Function    Location
    1   0.0006  393560  {main}( )   .../admin.php:0
    2   0.8312  22911032    do_action( )    .../admin.php:237
    3   0.8312  22911408    WP_Hook->do_action( )    .../plugin.php:484
    4   0.8312  22911408    WP_Hook->apply_filters( )    .../class-wp-hook.php:316
    5   0.8312  22912536    wpcf7_load_contact_form_admin( )    .../class-wp-hook.php:290
    6   0.8933  23133248    wp_safe_redirect( ) .../admin.php:284
    7   0.8934  23133248    wp_redirect( )  .../pluggable.php:1437
    8   0.8941  23133408    header ( )  .../pluggable.php:1332
Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #28863
    Long Nguyen
    Moderator

    Hi Aaron,

    Thank you for your feedback.

    I've tried to reproduce the issue on my end but no luck. Can you please deactivate the plugin Contact Form 7 to see if the error message disappears?

    And please make sure that your view has a title.

    #28866
    Aaron Kessler
    Participant

    Hi,
    I think there is a misunderstanding here. I get these Errors inside the Contact Form 7 Plugin doing this in the WordPress Admin area:

    Click on

    1. Contact
    2. Add new
    3. Save

    Theme is Twentytwentyone, active Plugins are: Meta Box, Meta Box AIO, Contact-Form 7

    #28873
    Long Nguyen
    Moderator

    Hi Aaron,

    I didn't see the error message on my local site, screen record https://share.getcloudapp.com/lluNYXqz

    Can you please re-install Meta Box and MB AIO then check this issue?

    #28892
    Aaron Kessler
    Participant

    I did reinstall Meta Box and MB AIO with no effect. Hoewer i was able to reproduce the behaviour on a new wordpress installation:

    I initiated a new container with local by flywheel with the following settings:
    PHP 8.0.0, Apache 2.4.43, MySQL 8.0.16.

    If i swich to PHP 7.4.1 there are no PHP Notices/Warnings.

    The wired thing is that my actual project, after starting on PHP 8 and switching back to 7.4.1 due to the lack of imagick for PHP8, has the same notices/warnings on PHP 7.4.1

    #28901
    Long Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    I think there are not many plugins/themes compatible with PHP 8. I will inform the development team to check this case and improve on our end. Please start your project with PHP 7.4 for a better experience.

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