• Fatal error: Declaration of DI\Container::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /…/plugins/auto-alt-text/vendor/php-di/php-di/src/Container.php on line 210
    • Fatal error: Declaration of DI\Container::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /…/plugins/auto-alt-text/vendor/php-di/php-di/src/Container.php on line 210

    I got these errors when trying to activate the plugin for the first time
    Running WP 6.9 using Sage 9 theme by Roots

    Thanks in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter i1100a

    (@i1100a)

    Any idea on how can this be mitigated, please?

    Plugin Author Valerio Monti

    (@valeriomonti)

    Hi,
    Sorry for the late reply.
    I’ll try to reproduce the error. I’ll let you know as soon as possible.

    Plugin Author Valerio Monti

    (@valeriomonti)

    Hi,
    Thanks a lot for the detailed report, it really helped me track down the problem quickly.

    The error you saw was caused by a conflict between the plugin and your Sage 9 / Roots theme: both were loading their own version of the same underlying library, and the two versions weren’t compatible with each other. That clash is what stopped the plugin from activating.

    I’ve just released version 2.8.2, which fixes exactly this kind of conflict, so the plugin can run side by side with Roots without stepping on each other.

    Please update to 2.8.2 and try activating again, it should work now. Let me know if you run into anything else, and thanks again for flagging it!

    Cheers!

    • This reply was modified 20 hours, 37 minutes ago by Valerio Monti.
Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.