• Resolved orlandoayeras

    (@orlandoayeras)


    Hello,

    I am seeing a fatal error on our site:

    Fatal error: Declaration of lucatume\DI52\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /code/wp-content/plugins/fakerpress/vendor/lucatume/di52/src/Container.php on line 290

    The plugin is currently deactivated but still seeing this error. Current version:

    fakerpress – is 0.6.1
    WP Core – 6.2.2
    PHP – 7.4

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter orlandoayeras

    (@orlandoayeras)

    Closing this one out since it looks like a cache on my end.

    Plugin Author Gustavo Bordoni

    (@bordoni)

    I actually know what is the cause for this issue.

    I am putting out a release this week to avoid this from ever happening.

    Thanks for bringing it to my attention.

    We have the same issue. Any update on this?

    Hi,

    We’re getting the same error as well. Interestingly, if we deactivate the Give plugin https://en-gb.www.ads-software.com/plugins/give/ we don’t seem to get an error.

    [Tue Oct 17 09:54:12.146266 2023] [php7:error] [pid 122] [client 49.12.33.216:40704] PHP Fatal error:  Declaration of lucatume\\DI52\\Container::has($id) must be compatible with Psr\\Container\\ContainerInterface::has(string $id): bool in /var/www/html/site/public_html/wp-content/plugins/fakerpress/vendor/lucatume/di52/src/Container.php on line 290

    Are you still working on and planning on releasing a fix for this?

    Thanks,

    kalligator

    (@kalligator)

    Change line 290 of fakerpress/vendor/lucatume/di52/src/Container.php to:

    public function has(string $id): bool
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error: Declaration of lucatume\DI52\Container::has($id)’ is closed to new replies.