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
119 stars 25 forks source link

Error when archiving report #833

Closed SofianeLasri closed 10 months ago

SofianeLasri commented 12 months ago

Hello, I am currently having a problem with Matomo 4.15 on a Wordpress 6.3 install. The plugin is unable to archive reports because of multiples PHP errors. Here are the logs, all for archive_boot:

Matomo error: 2: Undefined array key "HTTP_HOST" in $abs_path/wp-content/plugins/idotodaty/ojeruh.txt(32) : eval()'d code:102 => bootstrap.php:56; bootstrap.php:85; ojeruh.txt(32) : eval()'d code:102; ojeruh.txt(32) : eval()'d code:22; ojeruh.txt(32) : eval()'d code:17; ojeruh.txt(32) : eval()'d code:390; idotodaty.php:16; class-wp-hook.php:310; class-wp-hook.php:334; plugin.php:517; wp-settings.php:632; wp-config.php:103; wp-load.php:50; bootstrap.php:95; console:11;
Matomo error: 8192: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in $abs_path/wp-content/plugins/idotodaty/ojeruh.txt(32) : eval()'d code:102 => bootstrap.php:56; bootstrap.php:85; ojeruh.txt(32) : eval()'d code:102; ojeruh.txt(32) : eval()'d code:22; ojeruh.txt(32) : eval()'d code:17; ojeruh.txt(32) : eval()'d code:390; idotodaty.php:16; class-wp-hook.php:310; class-wp-hook.php:334; plugin.php:517; wp-settings.php:632; wp-config.php:103; wp-load.php:50; bootstrap.php:95; console:11;
Matomo error: 2: Undefined array key "HTTP_HOST" in $abs_path/wp-content/plugins/idotodaty/ojeruh.txt(32) : eval()'d code:102 => bootstrap.php:56; bootstrap.php:85; ojeruh.txt(32) : eval()'d code:102; ojeruh.txt(32) : eval()'d code:22; ojeruh.txt(32) : eval()'d code:17; ojeruh.txt(32) : eval()'d code:390; idotodaty.php:16; class-wp-hook.php:310; class-wp-hook.php:334; plugin.php:517; wp-settings.php:632; wp-config.php:103; wp-load.php:50; bootstrap.php:95; console:11;
Matomo error: 8192: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in $abs_path/wp-content/plugins/idotodaty/ojeruh.txt(32) : eval()'d code:102 => bootstrap.php:56; bootstrap.php:85; ojeruh.txt(32) : eval()'d code:102; ojeruh.txt(32) : eval()'d code:22; ojeruh.txt(32) : eval()'d code:17; ojeruh.txt(32) : eval()'d code:390; idotodaty.php:16; class-wp-hook.php:310; class-wp-hook.php:334; plugin.php:517; wp-settings.php:632; wp-config.php:103; wp-load.php:50; bootstrap.php:95; console:11;
Matomo error: 2: Undefined array key "HTTP_HOST" in $abs_path/wp-content/plugins/idotodaty/ojeruh.txt(32) : eval()'d code:102 => bootstrap.php:56; bootstrap.php:85; ojeruh.txt(32) : eval()'d code:102; ojeruh.txt(32) : eval()'d code:22; ojeruh.txt(32) : eval()'d code:17; ojeruh.txt(32) : eval()'d code:390; idotodaty.php:16; class-wp-hook.php:310; class-wp-hook.php:334; plugin.php:517; wp-settings.php:632; wp-config.php:103; wp-load.php:50; bootstrap.php:95; console:11;
Matomo error: 8192: strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated in $abs_path/wp-content/plugins/idotodaty/ojeruh.txt(32) : eval()'d code:102 => bootstrap.php:56; bootstrap.php:85; ojeruh.txt(32) : eval()'d code:102; ojeruh.txt(32) : eval()'d code:22; ojeruh.txt(32) : eval()'d code:17; ojeruh.txt(32) : eval()'d code:390; idotodaty.php:16; class-wp-hook.php:310; class-wp-hook.php:334; plugin.php:517; wp-settings.php:632; wp-config.php:103; wp-load.php:50; bootstrap.php:95; console:11;

Here is the full log:

Errors

Matomo

Endpoints

Crons

Contrôles obligatoires

Contrôles facultatifs

Matomo Settings

Logs

WordPress

WordPress Plugins

MU Plugins

Plugins

Server

PHP cli

Database

Browser

diosmosis commented 11 months ago

Hello @SofianeLasri, sorry you're experiencing this issue. Is the Idotodaty plugin publicly available? Can you provide a link to it? And if you deactivate it, does archiving succeed?