• Resolved samweb38

    (@samweb38)


    I have a fatal error on WordPress siince I have installed the last version 4.0.1.

    Une erreur de type E_COMPILE_ERROR a été causée dans la ligne 210 du fichier /www/wp-content/plugins/matomo/app/vendor/php-di/php-di/src/Container.php. Message d’erreur?: Declaration of DI\Container::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool

    When I disabled Backwpup, there is no more error.

Viewing 15 replies - 1 through 15 (of 36 total)
  • Same here. Had to go back to the previous version.

    I have this as well in my Bedrock / Sage setup… 4.0.0 does not trigger this fatal:

    PHP Fatal error: Declaration of Illuminate\Container\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /Users/site/vendor/nedbase/illuminate-container/Container.php on line 161
    Fatal error: Declaration of Illuminate\Container\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /Users/site/vendor/nedbase/illuminate-container/Container.php on line 161

    Same here. Fatal error after composer update

    Fatal error: Declaration of Illuminate\Container\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /illuminate-container/Container.php on line 161

    Same here. Had to go back to the previous 4.0.0, rollback the change in psr/container ..

    And if you fix it, could you please use SEMVER versioning (4.0.2) so we can update the plugin with composer? (See comments in https://www.ads-software.com/support/topic/issue-with-version-4-0-0-and-composer/)

    I’ve got the error too

    Same Error

    I think it’s caused by the change in backwpup\vendor\pimple\pimple\src\Pimple\Psr11 :
    public function has(string $id): bool
    {
    return isset($this->pimple[$id]);
    }

    I created a ticket/issue at Matomo for WordPress’s Github as well: https://github.com/matomo-org/matomo-for-wordpress/issues/904

    leanderbraunschweig

    (@leanderbraunschweig)

    Same here – reverting to v4.0.0 solves the issue for now.

    Same here with Matomo :

    Une erreur de type E_COMPILE_ERROR a été causée dans la ligne 210 du fichier /www/wp-content/plugins/matomo/app/vendor/php-di/php-di/src/Container.php. Message d’erreur?: Declaration of DI\Container::has($name) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool

    • This reply was modified 1 year, 1 month ago by angemichael.
    Plugin Support happyAnt

    (@duongcuong96)

    we aware of the plugin conflict issue and currently working on a solution, in the mean time you can downgrade the plugin to 4.0 instead.

    you can download the older version here: https://www.ads-software.com/plugins/backwpup/advanced/

    To restore version 4.0, are all backups and configuration deleted? Do you have to delete the current version or can I overwrite the files in FTP?

    nedbasejamez

    (@nedbasejamez)

    Can you give us an update on the fix? When will this be released? It’s been almost two weeks now. And please remove the ‘Resolved’ status from this issue, thanks.

    detoris

    (@detoris)

    Can you give us an update on the fix? When will this be released? It’s been almost two weeks now. And please remove the ‘Resolved’ status from this issue, thanks.

    +1

    Joe Bailey

    (@billybidley)

    Can you give us an update on the fix? When will this be released? It’s been almost two weeks now. And please remove the ‘Resolved’ status from this issue, thanks.

    +1

Viewing 15 replies - 1 through 15 (of 36 total)
  • The topic ‘Error with the last version 4.0.1 and Matomo Anlytics’ is closed to new replies.