• Resolved geethanjali777

    (@geethanjali777)


    Seeing below error when trying to download the plugin The Event Calendar


    Fatal error: Declaration of TEC\Common\lucatume\DI52\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in?/srv/htdocs/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php?on line?294

Viewing 15 replies - 1 through 15 (of 19 total)
  • Same here…

    Fatal error: Declaration of TEC\Common\lucatume\DI52\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in?/www/htdocs/…/…/…/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php?on line?294

    Version 6.1.0.2

    Hi @geethanjali777 & @gouv ,

    Thanks for bringing it to our attention.

    We are seeing this issue with a few of our users.
    I have reached out to my team and will update you further on this.

    For now, just revert it to the previous version(6.1.0.1) of The Events Calendar.

    Let me know if you have any other questions.

    Best,
    Deekshith

    Unfortunately, downgrading didn’t help. Neither to 6.1.0.1 nor to 6.0.1. I tried both.

    Same issue here

    Fatal error: Declaration of TEC\Common\lucatume\DI52\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in?/home/customer/www/ssai.info/public_html/wp-content/plugins/the-events-calendar-backup/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php?on line?294

    • This reply was modified 1 year, 5 months ago by mazzop.

    I realized that this problem only occurs when I have the PublishPress Blocks Plugin activated.

    I don’t use that plugin an I still have the above mentioned fatal error.

    Thread Starter geethanjali777

    (@geethanjali777)

    Reverting to the previous version did not help me. Still seeing the same issue.

    Same issue here. Downgraded to 6.1.0.1 and site still broken…

    UPDATE: Rolled back to version 6.0.13.1 and site working again.

    On the newer versions (6.1.0 / 6.1.0.2) I also get the following error:
    Fatal error: Declaration of TEC\Common\lucatume\DI52\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /…/…/…/…/wp-content/plugins/the-events-calendar/common/vendor/vendor-prefixed/lucatume/di52/src/Container.php on line 294

    I have made the rollback to version 6.0.13.1 and my site now works. I am beginner and used the “WP Rollback” plugin to rollback “The Events Calendar” plugin. Thank you for your support.

    So now I have a question: did it recommend do not turn on the automatic updates for all plugins used?

    I generally don’t have automatic update turned on on any plugins (bar a select few), as problems like this do occur and it makes it easier to troubleshoot, knowing what the site does after updates.

    • This reply was modified 1 year, 5 months ago by MagineM.
    Plugin Support Darian

    (@d0153)

    Hi everyone.

    Could you try manually updating your plugins to the latest version and see if that makes a difference?

    If that doesn’t help, please downgrade The Events Calendar plugin to 6.0.13.1 while we’re investigating this issue.

    Moreover, could you provide the version of the following? This will help me understand how your system is set up.

    • PHP
    • WordPress
    • Theme

    My configuration:

    php 8.0
    WordPress 6.2.2
    Theme: Generate Press 3.3.0 with premium addon 2.3.1

    the configuration of my website is

    PHP Version 7.4.33

    WordPress 6.2.2

    Theme: Twenty Twenty-Three

    • This reply was modified 1 year, 5 months ago by stek72turku.
    Plugin Author Gustavo Bordoni

    (@bordoni)

    We’ve just released versions 6.1.1 for The Events Calendar and 5.6.0 for Event Tickets.

    With those updates you should no longer have these fatals.

    Best Regards,

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Fatal error while activating The Events Calendar plugin’ is closed to new replies.