• Resolved Bob

    (@bobroos)


    Hello,

    Happy user of the events calendar here, but I’m experiencing a critical error when I try to open a post or post type. When this happens the WordPress built in feature sends an e-mail with the following information

    >>>
    […]

    In this case, WordPress caught an error with one of your plugins, The Events Calendar.

    […]

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.8
    Active theme: Avada Child (version 1.0.0)
    (My Avada version is v7.12)
    Current plugin: The Events Calendar (version 6.11.2)
    (I’m using the free version)
    PHP version 8.1.32

    […] Error Details

    An error of type E_ERROR was caused in line 93 of the file /var/www/vhosts/ropemarks.com/httpdocs/sitewp/wp-content/plugins/the-events-calendar/src/Events/Calendar_Embeds/Admin/Singular_Page.php.
    Error message: Uncaught TypeError: TEC\Events\Calendar_Embeds\Admin\Singular_Page::modify_post_updated_messages(): Argument #1 ($messages) must be of type array, null given, called in /var/www/vhosts/ropemarks.com/httpdocs/sitewp/wp-includes/class-wp-hook.php on line 324 and defined in /var/www/vhosts/ropemarks.com/httpdocs/sitewp/wp-content/plugins/the-events-calendar/src/Events/Calendar_Embeds/Admin/Singular_Page.php:93
    Stack trace: 0 /var/www/vhosts/ropemarks.com/httpdocs/sitewp/wp-includes/class-wp-hook.php(324): TEC\Events\Calendar_Embeds\Admin\Singular_Page->modify_post_updated_messages() 1 /var/www/vhosts/ropemarks.com/httpdocs/sitewp/wp-includes/plugin.php(205): WP_Hook->apply_filters() 2 /var/www/vhosts/ropemarks.com/httpdocs/sitewp/wp-admin/edit-form-advanced.php(212): apply_filters() 3 /var/www/vhosts/ropemarks.com/httpdocs/sitewp/wp-admin/post.php(206): require(‘…’) 4 {main}

    thrown
    <<<

    From here I did some conflict testing by using the troubleshooting mode of the “Health Check & Troubleshooting” plugin.

    Assuming that the problem is with The Events Calendar, disabling this solves the issue. I also found that if I disable either “Avada Builder” or “Vimeotheque” the issue is not happening anymore.

    So, what I found is that if “The Events Calander”, “Avada Builder” and “Vimoetheque” are enabled the issue happens and WordPress reports TEC as the source. With any of these three disabled the issue does not happen.

    Any ideas on how to get this working again?

    Thank you,
    Bob

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Critical error when opening post or post-types’ is closed to new replies.