• Resolved peter8nss

    (@peter8nss)


    Since updating to version 6.2.5 I’m gettting the following error when viewing an event:

    PHP Fatal error: Uncaught TEC\Common\Exceptions\Not_Bound_Exception:

    Error while making events: cannot instantiate abstract class Events. in …/wp-content/plugins/the-events-calendar/common/src/Common/Contracts/Container.php:27

    Stack trace:

    #0 …./wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/stellarwp/telemetry/src/Telemetry/Events/Event_Subscriber.php(89): TEC\Common\Contracts\Container->get(‘events’)

    #1 …/wp-includes/class-wp-hook.php(310): TEC\Common\StellarWP\Telemetry\Events\Event_Subscriber->send_cached_events(”)

    #2 …./wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)

    #3 …/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

    #4 …/wp-includes/load.php(1252): do_action(‘shutdown’)\n#5 [internal function]: s…’

    Reverting to version 6.2.4 appears to clear the problem.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Darian

    (@d0153)

    Hi @peter8nss

    I’m sorry to hear that you’re having this issue.

    Could I ask the PHP and WP version that you’re using? I want to check it further on my end.

    Looking forward to your reply.

    Thread Starter peter8nss

    (@peter8nss)

    WordPress 6.3.2

    PHP 8.0.29

    I’m also seeing this, but the error is triggered on event-tickets plugin

    [07-Nov-2023 17:41:40 UTC] PHP Fatal error:  Uncaught TEC\Common\Exceptions\Not_Bound_Exception: Error while making events: cannot instantiate abstract class Events. in .../plugins/event-tickets/common/src/Common/Contracts/Container.php:27
    Stack trace:
    #0 .../plugins/event-tickets/common/vendor/vendor-prefixed/stellarwp/telemetry/src/Telemetry/Events/Event_Subscriber.php(89): TEC\Common\Contracts\Container->get('events')
    
    ...
    
    #5 [internal function]: shutdown_action_hook()
    #6 {main}
      thrown in .../plugins/event-tickets/common/src/Common/Contracts/Container.php on line 27

    PHP 7.4.33 and WP 6.3.2

    I am also getting same with recent WP update to 6.4. Website works but admin is inaccessible.

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TEC\Common\Exceptions\Not_Bound_Exception: Error while making events: cannot instantiate abstract class Events. in /var/www/vhosts/XX.co.uk/.uk/wp-content/plugins/the-events-calendar/common/src/Common/Contracts/Container.php:27\nStack trace:\n#0 /var/www/vhosts/XX.co.uk/.uk/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/stellarwp/telemetry/src/Telemetry/Events/Event_Subscriber.php(89): TEC\Common\Contracts\Container->get()\n#1 /var/www/vhosts/XX.co.uk/.uk/wp-includes/class-wp-hook.php(324): TEC\Common\StellarWP\Telemetry\Events\Event_Subscriber->send_cached_events()\n#2 /var/www/vhosts/.co.uk/.uk/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#3 /var/www/vhosts/XX.co.uk/.uk/wp-includes/plugin.php(517): WP_Hook->do_action()\n#4 /var/www/vhosts/XX.co.uk/research-p…’, referer: https://XX/wp-login.php?loggedout=true&wp_lang=en_GB

    Plugin Support Darian

    (@d0153)

    Hi @peter8nss @leogermani @mattkcostello

    I’m reaching out to let you know that we’ve created an internal ticket to address the issue you reported, and we’ve included your case in it.

    Unfortunately, we don’t have an estimated time for when the issue will be resolved, but we’ll keep you updated as soon as a solution becomes available.


    Internal Bug Ticket Reference: BTRIA-2105

    mattkcostello

    (@mattkcostello)

    Hi Darian.

    My main issue of no access to wp-admin stemmed from the breaking update to WP6.4 yesterday. This broke many many sites, particularly woocommerce using stripe, plus the core plugin update process (basically any plugin that calls external servers using cURL and possibly ajax calls to admin-ajax) – hence the very quick release of 6.4.1 early this morning!

    More info here if you need to see if its causing the error in your plugin:
    https://core.trac.wordpress.org/ticket/59842

    I am still getting the fatal error on every page load inside wp-admin (not on front end, but that might be as sites using WP Super Cache)

    AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught TEC\\Common\\Exceptions\\Not_Bound_Exception: Error while making events: cannot instantiate abstract class Events. in /var/www/vhosts/XXX/wp-content/plugins/the-events-calendar/common/src/Common/Contracts/Container.php:27\nStack trace:\n#0 /var/www/vhosts/XXX/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/stellarwp/telemetry/src/Telemetry/Events/Event_Subscriber.php(89): TEC\\Common\\Contracts\\Container->get()\n#1 /var/www/vhosts/XXX/wp-includes/class-wp-hook.php(324): TEC\\Common\\StellarWP\\Telemetry\\Events\\Event_Subscriber->send_cached_events()\n#2 /var/www/vhosts/XXX/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()\n#3 /var/www/vhosts/XXX/wp-includes/plugin.php(517): WP_Hook->do_action()\n#4 /var/www/vhosts/XXX.’,

    Frank Remmy

    (@frankremmy)

    Hello @peter8nss @leogermani @mattkcostello,

    Thanks for your patience. 

    We’re back with some good news! This issue with our plugin throwing a Telemetry fatal error was fixed in the latest release of our plugins.

    Please update The Events Calendar/Events Calendar PRO to their latest versions to apply that fix to your site.

    As always, we suggest testing updates on a staging site first and having a recent backup, but it should all be smooth sailing. 

    I hope that helps. Please let us know if you need anything else.

    Thread Starter peter8nss

    (@peter8nss)

    I’m no longer seeing that error with these new releases. Thanks.

    Plugin Support Darian

    (@d0153)

    Hi @peter8nss

    Thanks for your confirmation and I’m glad that it is now working.

    If you have a minute, a great review from you would be amazing!

    https://wordpress.org/support/plugin/the-events-calendar/reviews/

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Uncaught TEC\\Common\\Exceptions\\Not_Bound_Exception in v6.2.5’ is closed to new replies.