• Hi there,

    I’m getting an error:

    PHP Fatal error: Declaration of RCP\lucatume\DI52\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /var/www/html/wp-content/plugins/restrict-content/vendor/strauss/lucatume/di52/src/Container.php on line 294"

    Do you have any suggestion/s?

    Thank you in advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support jkleinithemes

    (@jkleinithemes)

    Hi sorry about this. I think there was a hotfix for this produced recently at least for Restrict Content Pro. What version of RC are you running?

    Thread Starter slckv

    (@slckv)

    Thank you for your reply.

    I’m using restrict-content.3.2.6.zip

    If you suggest a previous version (working), I can go with that.

    Plugin Support jkleinithemes

    (@jkleinithemes)

    Hi. Could I get some information about what version of PHP you are running?

    Plugin Support jkleinithemes

    (@jkleinithemes)

    Just so we can be sure why this error is occurring can you send me a ticket at: https://restrictcontentpro.com/support/
    Mention Jenny Klein sent you from the WordPress forum in the ticket.

    Thread Starter slckv

    (@slckv)

    Hi Jenny. I’m sorry for the delay.

    It’s PHP 8.2.

    Edit: I do run my WP website on cloud with Cloud Run, as a note. wordpress:6.3.0-php8.2-apache is my docker image.

    • This reply was modified 1 year, 6 months ago by slckv.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘has($id) must be compatible with Psr\Container\ContainerInterface’ is closed to new replies.