• Resolved tvalleau

    (@tvalleau)


    we reported the 6.1.0.2 fatal error this morning. Got an email two hours ago, saying that Event Tickets 5.6.0 and ET Plus 5.70 and EC 6.1.1 “would fix the error. “

    They did not. The exact same error remains, (NotFoundException: nothing is bound to the ‘tickets.cache-central’ id and it’s not an existing or instantiable class) and your “RESOLVED” tag needs to be removed. For the SECOND time today, our non-profit site is totally off the air, and I’m having to revert it.

    Why are you folks continually having such trouble programming? EC programming errors have been going on for literally years now! Quit adding features and get around to fixing what you’ve got!!!

    An error of type E_ERROR was caused in line 84 of the file /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php. Error message: Uncaught TEC\Common\lucatume\DI52\NotFoundException: nothing is bound to the ‘tickets.cache-central’ id and it’s not an existing or instantiable class. in /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php:84

Viewing 15 replies - 31 through 45 (of 45 total)
  • Plugin Author Gustavo Bordoni

    (@bordoni)

    @redcapscorner I was able to reproduce the problem you are reporting there it seems to be something related to PHP version, which version are you using?

    I’ve already opened a PR for us to solve the issue you reported:
    https://github.com/the-events-calendar/event-tickets/pull/2699

    Thread Starter tvalleau

    (@tvalleau)

    Howdy!
    
    I'm the OP. I tried the latest release and am suffering the exact same error as in my op.
    
    Below is the entire stack crawl. As you can see, it begins on boot, and references no plugins other than those by TEC. The problem seems to be a failure by the lucatume builder to create and/or register a "tickets.cache.central".
    
    I hope this information helps.
    
    In order to get our site back online, have deleted most recent versions of your four plugins and reinstalled:
    
    event-tickets-plus.5.6.10
    event-tickets.5.5.11.1
    events-calendar-pro.6.0.12.1
    the-events-calendar.6.0.13 This brings the site back online. I have a question brought on by all this: it seems the issue is in the two Tickets plug ins. Can I install the latest Events CALENDAR plugins along side the older Event TICKET which don't crash the site, or are all four needed to work together safely? Here is the email with stack-crawl: system-generated automatic "fatal error email" in full: WordPress has a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, Event Tickets. First, visit your website (https://photography.org/) and check for any visible issues. Next, visit the page where the error was caught (https://photography.org/wp-admin/plugins.php) and check for any visible issues. Please contact your host for assistance with investigating this issue further. If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further. https://photography.org/wp-login.php?action=enter_recovery_mode&rm_token=(snipped out since this is a public forum) To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires. When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.2.2
    Active theme: Avada (version 7.9.1)
    Current plugin: Event Tickets (version 5.6.0.1)
    PHP version 8.0.2 Error Details An error of type E_ERROR was caused in line 84 of the file /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php. Error message: Uncaught TEC\Common\lucatume\DI52\NotFoundException: nothing is bound to the 'tickets.cache-central' id and it's not an existing or instantiable class. in /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php:84
    Stack trace: 0 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php(233): TEC\Common\lucatume\DI52\Builders\ClassBuilder->__construct('tickets.cache-c…', Object(TEC\Common\lucatume\DI52\Builders\Resolver), 'tickets.cache-c…') 1 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php(210): TEC\Common\lucatume\DI52\Builders\Resolver->resolveUnbound('tickets.cache-c…') 2 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(216): TEC\Common\lucatume\DI52\Builders\Resolver->resolve('tickets.cache-c…', Array) 3 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(263): TEC\Common\lucatume\DI52\Container->get('tickets.cache-c…') 4 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/src/Tribe/Container.php(179): TEC\Common\lucatume\DI52\Container->make('tickets.cache-c…') 5 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/src/Tribe/Service_Provider.php(27): tribe('tickets.cache-c…') 6 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(455): Tribe__Tickets__Service_Provider->register() 7 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/src/Tribe/Container.php(305): TEC\Common\lucatume\DI52\Container->register('Tribe__Tickets_…') 8 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/src/Tribe/Main.php(372): tribe_register_provider('Tribe__Tickets_…') 9 /home/cpaorg/photography.org/wp-includes/class-wp-hook.php(308): Tribe__Tickets__Main->bootstrap('') 10 /home/cpaorg/photography.org/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 11 /home/cpaorg/photography.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 12 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/src/Tribe/Main.php(134): do_action('tribe_common_lo…') 13 /home/cpaorg/photography.org/wp-includes/class-wp-hook.php(308): Tribe__Main->plugins_loaded('') 14 /home/cpaorg/photography.org/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 15 /home/cpaorg/photography.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 16 /home/cpaorg/photography.org/wp-settings.php(486): do_action('plugins_loaded') 17 /home/cpaorg/photography.org/wp-config.php(184): require_once('/home/cpaorg/ph…') 18 /home/cpaorg/photography.org/wp-load.php(50): require_once('/home/cpaorg/ph…') 19 /home/cpaorg/photography.org/wp-admin/admin.php(34): require_once('/home/cpaorg/ph…') 20 /home/cpaorg/photography.org/wp-admin/plugins.php(10): require_once('/home/cpaorg/ph…') 21 {main} Next TEC\Common\lucatume\DI52\NotFoundException: Error while making tickets.cache-central: nothing is bound to the 'tickets.cache-central' id and it's not an existing or instantiable class. in /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php:84
    Stack trace: 0 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(244): TEC\Common\lucatume\DI52\ContainerException::fromThrowable('tickets.cache-c…', Object(TEC\Common\lucatume\DI52\NotFoundException), 3, Array) 1 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(218): TEC\Common\lucatume\DI52\Container->castThrown(Object(TEC\Common\lucatume\DI52\NotFoundException), 'tickets.cache-c…') 2 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(263): TEC\Common\lucatume\DI52\Container->get('tickets.cache-c…') 3 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/src/Tribe/Container.php(179): TEC\Common\lucatume\DI52\Container->make('tickets.cache-c…') 4 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/src/Tribe/Service_Provider.php(27): tribe('tickets.cache-c…') 5 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(455): Tribe__Tickets__Service_Provider->register() 6 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/src/Tribe/Container.php(305): TEC\Common\lucatume\DI52\Container->register('Tribe__Tickets_…') 7 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/src/Tribe/Main.php(372): tribe_register_provider('Tribe__Tickets_…') 8 /home/cpaorg/photography.org/wp-includes/class-wp-hook.php(308): Tribe__Tickets__Main->bootstrap('') 9 /home/cpaorg/photography.org/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 10 /home/cpaorg/photography.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/src/Tribe/Main.php(134): do_action('tribe_common_lo…') 12 /home/cpaorg/photography.org/wp-includes/class-wp-hook.php(308): Tribe__Main->plugins_loaded('') 13 /home/cpaorg/photography.org/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 14 /home/cpaorg/photography.org/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 15 /home/cpaorg/photography.org/wp-settings.php(486): do_action('plugins_loaded') 16 /home/cpaorg/photography.org/wp-config.php(184): require_once('/home/cpaorg/ph…') 17 /home/cpaorg/photography.org/wp-load.php(50): require_once('/home/cpaorg/ph…') 18 /home/cpaorg/photography.org/wp-admin/admin.php(34): require_once('/home/cpaorg/ph…') 19 /home/cpaorg/photography.org/wp-admin/plugins.php(10): require_once('/home/cpaorg/ph…') 20 {main} thrown
    Plugin Author Gustavo Bordoni

    (@bordoni)

    HI @tvalleau @daivernon @webifiedone @redcapscorner @inspirationacademy,

    @daivernon was the MVP of this fix, with some information he provided our team was able to trace back the issue to it’s root, so we just launched version 5.6.0.2 of Event Tickets, which has a fix that prevents the problem with the Avada and their builder.

    I will also reach out to Avada to make sure they apply a fix to their code so we dont face this problem in the future.

    Please confirm if with the latest released version I mentioned above and the latest version 6.1.1 the problem is fixed.

    Best Regards,

    Thread Starter tvalleau

    (@tvalleau)

    ET 5.6.0.2

    STILL NOT WORKING. -EXACTLY THE SAME ERROR.-

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 6.2.2
    Active theme: Avada (version 7.9.1)
    Current plugin: Event Tickets (version 5.6.0.2)
    PHP version 8.0.2

    Error Details

    An error of type E_ERROR was caused in line 26 of the file /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/src/Common/Contracts/Container.php. Error message: Uncaught TEC\Common\lucatume\DI52\NotFoundException: nothing is bound to the ‘tickets.query’ id and it’s not an existing or instantiable class. in /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php:84

    0 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(244): TEC\Common\lucatume\DI52\ContainerException::fromThrowable(‘tickets.query’, Object(TEC\Common\lucatume\DI52\NotFoundException), 3, Array)

    1 /home/cpaorg/photography.org/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(218): TEC\Common\lucatume\DI52\Container->castThrown(Object(TEC\Common\lucatume\DI52\NotFoundException), ‘tickets.query’)

    @bordoni We’re on PHP 7.4.33, and Event Tickets 5.6.0.2 didn’t fix the issue. I am able to upgrade to 8.0.29, 8.1.20, or 8.2.7, if you think updating will solve the issue (hopefully without breaking Woocommerce or anything else severe).

    Thread Starter tvalleau

    (@tvalleau)

    @bordoni: about 4 days ago, you mentioned “legacy views”. Is that something I can enable or disable? If so how?

    In your post regarding that, you said

    “But there are other possible ways of enabling the legacy views, another one might be a filter that could be added in a snippet, your functions.php and many other places.

    add_filter( ‘tribe_tickets_new_views_is_enabled’, ‘__return_false’ );

    The snippet above triggers the problem, so depending on how you activated it removing that would solve the problem”

    I don’t understand. You seem to be saying I should add that code. Then in the next paragraph you seem to be saying I should remove it.

    If “legacy views” is somehow responsible for our continual fatal crashing, with exactly the same error, when installing the recent versions of ET, then I’d be happy to add a snippet of php, or at least try. Do I want force tribe_tickets_new_views_is_enabled to return one thing or an other?

    I’d like to resolve this so that I can continue to get subsequent updates, but it appears so far that I’m locked into your previous code.

    I should note that we’ve been using Events for 6 or 7 years now. Is it possible there is left-over code somewhere that is causing this? For example, in Avada-Child_Theme, I have /tribe-events/modules/meta/ organizer.pap and venue.php, from Feb 2021.

    Grasping at straws here…

    Thanks

    Plugin Author Gustavo Bordoni

    (@bordoni)

    Sorry @tvalleau, we found that there is a problem with how the initialization of certain third-party plugins are still triggering the issue to happen for certain customers.

    Our team is working really hard to get one more release out the door, this one we are applying a wider fix, which should resolve your issue specifically.

    I was able to reproduce it locally with a mock plugin. Ignore some of the things I mentioned earlier, they dont apply to your case, it applied to a bunch of other customers.

    I will ping you here as soon as we have that release ready.

    Thread Starter tvalleau

    (@tvalleau)

    FWIW and HTH, here’s what chatGPT says about the error:

    This error is occurring within a PHP dependency injection library, specifically one called lucatume/di52. Dependency injection is a technique in object-oriented programming where an object’s dependencies (i.e., other objects it needs to work with) are provided to the object (injected) instead of having the object create them itself.

    The error message 'nothing is bound to the 'tickets.cache-central' id and it's not an existing or instantiable class' indicates that the code is trying to instantiate an object identified by 'tickets.cache-central' in the dependency injection container, but the container doesn’t know how to create this object because it was not previously bound in the container. It’s also unable to treat 'tickets.cache-central' as a class name to instantiate because such a class doesn’t exist.

    There could be several reasons for this:

    1. A class or service that should be registered in the dependency injection container is missing or was not properly registered.
    2. The 'tickets.cache-central' identifier is misspelled or incorrect.
    3. There might be an issue with the order of operations, such as trying to retrieve 'tickets.cache-central' from the container before it has been bound.
    4. If the identifier is supposed to be a class, the class may not exist or is not properly autoloaded.
    5. If the 'tickets.cache-central' identifier is provided by a plugin (which seems to be the case here), it could be that the plugin is deactivated, not properly installed, or missing some files.

    To solve the issue, you may need to:

    1. Check if the plugin “event-tickets” is properly installed and activated.
    2. Make sure that all dependencies and required plugins are installed and activated.
    3. Check the plugin’s documentation or source code to see if 'tickets.cache-central' is a valid service identifier, and how/when it should be registered in the container.
    4. If you’re developing this plugin, make sure that you register the ‘tickets.cache-central’ service in the container before you attempt to use it. If ‘tickets.cache-central’ is supposed to be a class, make sure that this class exists and is correctly autoloaded.

    If none of these work, you might need to contact the plugin developer for help, as the issue seems to be within the plugin’s code.

    Plugin Author Gustavo Bordoni

    (@bordoni)

    Thanks a lot for the message, the problem was that some other plugin or theme was using DI52 which created an issue with out attempt to prevent fatals.

    As a note the whole point of this update is so that these kinds of cross plugin incompatibility are much more rare when it comes to shared libraries.

    We have a fix that is being tested by our QA team right now.

    @bordoni
    Event ticket : 5.6.1
    + Event calendar : 6.1.2?
    + Avada : 7.11.0

    Bug fixed for my 3 clients website that using the combo Ticket + calendar

    RESOLVED for me

    If it helps, I realized that the attendees lists are only broken in “manager” (calendar) mode. If I try to view attendees from the list view, it works fine. I know this was a bug in a previous version, so maybe that helps narrow down the cause.

    Plugin Author Gustavo Bordoni

    (@bordoni)

    We just released version for the following plugins that should resolve your issue:
    – The Events Calendar – 6.1.2.1
    – Event Tickets – 5.6.1.1

    I’ve marked this as resolved let me know if your problem is not resolved. And I will remove the flag and help you solve your issue.

    Thread Starter tvalleau

    (@tvalleau)

    @bordoni WELL! Bob’s Your Uncle! Thank you for hanging in there!

    At least now the site is with without the Fatal Error it’s had for a week’s worth of attempts. So far it looks like you actually _can_ mark this resolved.

    ??

    Plugin Author Gustavo Bordoni

    (@bordoni)

    It’s all good, all I care here is that you got the problem resolved.

    Please if you encounter other bugs open a new thread, this is way too long already. =)

    I still have problems with the last versions of Events Tickets (Plus) and Events Calendar (Pro)

    [Sat Jul 01 12:01:32.485546 2023] [error] [pid 2483369] mod_proxy_fcgi.c(887): [client 146.190.105.159:0] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught TEC\\Common\\lucatume\\DI52\\NotFoundException: nothing is bound to the 'tickets.editor' id and it's not an existing or instantiable class. in /data/sites/web/bbmabe/www/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/ClassBuilder.php:84\nStack trace:\n#0 /data/sites/web/bbmabe/www/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php(233): TEC\\Common\\lucatume\\DI52\\Builders\\ClassBuilder->__construct('tickets.editor', Object(TEC\\Common\\lucatume\\DI52\\Builders\\Resolver), 'tickets.editor')\n#1 /data/sites/web/bbmabe/www/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Builders/Resolver.php(210): TEC\\Common\\lucatume\\DI52\\Builders\\Resolver->resolveUnbound('tickets.editor')\n#2 /data/sites/web/bbmabe/www/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php(216): TEC\\Common\\lucatume\\DI52\\Builders...'
Viewing 15 replies - 31 through 45 (of 45 total)
  • The topic ‘FATAL error -STILL- exists in 6.1.1’ is closed to new replies.