matomo-org / matomo-for-wordpress

Get a fully functioning Matomo Analytics for your WordPress. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Privacy is built-in. 100% data ownership, no one else can see your data. We love Pull Requests!
https://matomo.org
GNU General Public License v3.0
120 stars 25 forks source link

4.11.0 archive cron is stopping due to php fatal errors #638

Closed janhamer closed 2 years ago

janhamer commented 2 years ago

we see that on some wordpress sites the archive cron job is not executed correctly. the job is started correctly and then aborted due to php errors. this is also happening when starting the task manually.

error message in log: PHP message: PHP Fatal error: Uncaught Error: Call to undefined function Piwik\CliMulti\getmypid() in /www/wp-content/plugins/matomo/app/core/CliMulti/Process.php:125

matomo wp plugin: 4.11.0 php: 8.1.8 wp: 6.0.1

mattmary commented 2 years ago

Hi @janhamer

Sorry to hear that you encounter some issues with our plugin.

Can you copy paste your system report available from the menu Matomo Analytics > Diagnostics. Can you also explain how to reproduce this issue? Kind regards

Mat

janhamer commented 2 years ago
              # Matomo

Endpoints

Crons

Vorgeschriebene Prüfungen

Optionale Prüfungen

Matomo Settings

Logs

WordPress

WordPress Plugins

Server

Database

Browser

mattmary commented 2 years ago

Hello @janhamer

Thanks. Can you explain me how you get this issue? Kind regards

Mat

janhamer commented 2 years ago

occurs when archiving via cron. we have already deactivated all other plugins as a test, but this does not change the behavior.

mattmary commented 2 years ago

Hi @janhamer

The getmypid function is disabled in your hosting. I can't do anything for that. Please enable it to make it work.

Kind regards

Mat