• Resolved ericreynolds007

    (@ericreynolds007)


    Hello. I am experiencing the following critical error on numerous sites. I’ve thoroughly tested multiple websites (plugins, theme, and even a fresh installation) that are experiencing the same error. The tests were done using PHP 8.0, 8.1, 8.2, and 8.3. The error doesn’t occur for PHP 7.4. All websites are up to date running WordPress 6.4.3 and the Events Calendar 6.3.3.1 and Event Tickets 5.8.2. Themes used for testing included Divi and TwentyTwenty-Four.

    In my case, the critical error doesn’t break any of the websites. I’m not certain what Event Tickets features are affected.

    I hope this helps. Looking forward to a solution.

    The error:

    Error Details
    =============
    An error of type E_ERROR was caused in line 27 of the file /home/user/public_html/wp-content/plugins/event-tickets/common/src/Common/Contracts/Container.php. Error message: Uncaught TEC\Common\Exceptions\Not_Bound_Exception: Error while making cache: count(): Argument #1 ($value) must be of type Countable|array, null given. in /home/user/public_html/wp-content/plugins/event-tickets/common/src/Common/Contracts/Container.php:27
    Stack trace:
    #0 /home/user/public_html/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(271): TEC\Common\Contracts\Container->get('TEC\\Tickets\\Sit...')
    #1 /home/user/public_html/wp-content/plugins/event-tickets/src/Tickets/Site_Health/Provider.php(79): TEC\Common\lucatume\DI52\Container->make('TEC\\Tickets\\Sit...')
    #2 /home/user/public_html/wp-includes/class-wp-hook.php(324): TEC\Tickets\Site_Health\Provider->filter_include_sections(Array)
    #3 /home/user/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #4 /home/user/public_html/wp-content/plugins/event-tickets/common/src/Common/Site_Health/Factory.php(63): apply_filters('tec_debug_info_...', Array)
    #5 /home/user/public_html/wp-content/plugins/event-tickets/common/src/Common/Site_Health/Factory.php(92): TEC\Common\Site_Health\Factory->get_sections()
    #6 /home/user/public_html/wp-content/plugins/event-tickets/common/src/Common/Site_Health/Provider.php(49): TEC\Common\Site_Health\Factory->filter_include_info_sections(Array)
    #7 /home/user/public_html/wp-includes/class-wp-hook.php(324): TEC\Common\Site_Health\Provider->filter_include_info_section(Array)
    #8 /home/user/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #9 /home/user/public_html/wp-admin/includes/class-wp-debug-data.php(1463): apply_filters('debug_informati...', Array)
    #10 /home/user/public_html/wp-admin/site-health-info.php(36): WP_Debug_Data::debug_data()
    #11 /home/user/public_html/wp-admin/includes/class-wp-site-health.php(68): require_once('/home/user/p...')
    #12 /home/user/public_html/wp-includes/class-wp-hook.php(324): WP_Site_Health->show_site_health_tab('debug')
    #13 /home/user/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
    #14 /home/user/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #15 /home/user/public_html/wp-admin/site-health.php(220): do_action('site_health_tab...', 'debug')
    #16 {main}
      thrown
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support tristan083

    (@tristan083)

    Hi @ericreynolds007,

    I suspect there’s a conflict that’s causing the issue here. It would be good to test for conflicts. Could you follow the following steps?

    1. Deactivate all other plugins except for The Events Calendar Plugins.
    2. Switching to the Default theme.

    Please read the Testing for Conflicts Article before doing anything. 

    To be safe, we’d recommend conducting tests and updates on a Staging Server. Also, please keep a working backup of your website.

    Plugin Support Darian

    (@d0153)

    Hi there,

    It appears that we haven’t heard back from you in a while, so I’ll assume that the matter has been resolved. If you need any more help, feel free to start a new thread and we’ll be happy to assist you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Event Tickets 5.8.2 Critical Error’ is closed to new replies.