Support » Plugin: Matomo Analytics - Ethical Stats. Powerful Insights. » Critical error after upgrade

  • Resolved logicfish

    (@logicfish)


    After todays upgrade my sites are broken! I had to delete the plugin manually from the file system.

    cko) Chrome/84.0.4147.89 Safari/537.36 Edg/84.0.522.40" "......."
    nginx_1  | 2020/12/01 11:18:28 [error] 15#15: *1705 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Declaration of DI\Definition\Helper\CreateDefinitionHelper::getDefinition(string $entryName): DI\Definition\Definition must be compatible with DI\Definition\Helper\DefinitionHelper::getDefinition($entryName) in /...../public/wp-content/plugins/matomo/app/vendor/php-di/php-di/src/Definition/Helper/CreateDefinitionHelper.php on line 135" while reading response header from upstream, client: 10.0.2.244, server: imnews.me, request: "GET /wp-admin/plugins.php?s=matomo&plugin_status=all HTTP/1.0", upstream: "fastcgi://...:9000", host: "...."
Viewing 15 replies - 1 through 15 (of 30 total)
  • Same here!

    Also for my site!

    same here

    Got error ‘PHP message: PHP Fatal error: Declaration of DI\\Definition\\Helper\\CreateDefinitionHelper::getDefinition(string $entryName): DI\\Definition\\Definition must be compatible with DI\\Definition\\Helper\\DefinitionHelper::getDefinition($entryName) in /xxxxxxxx/www/wp-content/plugins/matomo/app/vendor/php-di/php-di/src/Definition/Helper/CreateDefinitionHelper.php on line 135’, referer: https://xxxxxx/wp-admin/plugins.php?plugin_status=all&paged=1&s

    Thread Starter logicfish

    (@logicfish)

    i got mine working by deleting the word “string” in the line where the error is.

    9 websites down with this update….

    Thread Starter logicfish

    (@logicfish)

    I spoke too soon – it broke again later on.

    Plugin Author Thomas

    (@tsteur)

    Hi everyone, so sorry about that!

    By the looks a library that we had to upgrade to be compatible with PHP 8 is causing issues as some other plugins by the looks still use an older version of the PHP DI library.

    Could you post your system report here or send it to us to wordpress@matomo.org so I can confirm this? Here’s how to get the report (which should be anonymised) https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/

    Really sorry about this and I’ll be happy to look further into this.

    Hello. Same happened to me. Cannot see reports anymore. I sent an email to Matomo, hope you can reply.

    Plugin Author Thomas

    (@tsteur)

    Hi @amedat I received your mail and just replied. We might already have a fix for this one.

    The other issue regarding PHP DI is a bit different though. I’d be very grateful if I could receive a few system reports (see https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/ you might need to enable SAFE_MODE) or even just a list of installed plugins be helpful.

    Be great to comment here or email us to wordpress at matomo.org

    I couldn’t yet find an email with a system report. Thanks for your help everyone!

    Thank you Thomas @tsteur. I received your reply and I could solve! You are very kind! Best regards.

    same here:

    E_COMPILE_ERROR wurde in der Zeile 18 der Datei /var/customers/webs/***/development-wp/wp-content/plugins/matomo/app/vendor/php-di/php-di/src/Definition/Helper/CreateDefinitionHelper.php verursacht. Fehlermeldung: Declaration of DI\Definition\Helper\CreateDefinitionHelper::getDefinition(string $entryName): DI\Definition\Definition must be compatible with DI\Definition\Helper\DefinitionHelper::getDefinition($entryName)

    Help?

    After deactivating all plugins, excepted matomo, I was able to run a system report. It seams that a config-file is missing after update:

    Error Config existiert und ist beschreibbar.: Nein (“$ABSPATH/wp-content/uploads/matomo/config/config.ini.php” Config existiert nicht.Config ist nicht lesbar.Config ist nicht beschreibbar.)

    Error Config does not exists and is writable: No ……

    Plugin Author Thomas

    (@tsteur)

    @mickna did you maybe also uninstall the plugin?

    Could you post also the part of the system report that lists all the activated plugins?

    Thanks for this

    @tsteur I did yesterday via email (wordpress@matomo.com).

    Thank you

    I had this issue and tried a lot of things; I think deleting the old Custom Dimensions extension is what finally fixed it.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Critical error after upgrade’ is closed to new replies.