Plugin Matomo for WordPress, last version
Tested with PHP 7.4 WP 6.1.1 and PHP 8.0 WP 6.1.1
The archiving of reports has not been working for a few days.
Completly uninstall and reinstall the plugin (excluding or including database, loosing all datas), same error.
I noticed a difference between Webserver PHP 8.0 and PHP CLI 8.2, could this be the cause ?
Error unserializing the following response from ?module=API&method=CoreAdminHome.archiveReports&idSite=1&period=day&date=2023-01-18&format=json&trigger=archivephp: 'PHP Warning: require_once(classes/WpMatomo/Logger.php): Failed to open stream: No such file or directory in $abs_path/wp-content/plugins/matomo/classes/WpMatomo/Settings.php on line 90
PHP Fatal error: Uncaught Error: Failed opening required 'classes/WpMatomo/Logger.php' (include_path='.:/usr/share/php') in $abs_path/wp-content/plugins/matomo/classes/WpMatomo/Settings.php:90
Stack trace:
#0 [internal function]: matomo_plugin_autoloader()
#1 $abs_path/wp-content/plugins/matomo/app/bootstrap.php(52): class_exists()
#2 $abs_path/wp-content/plugins/matomo/app/bootstrap.php(85): matomo_log_message_no_display()
#3 $abs_path/wp-content/plugins/matomo/shared.php(36): {closure}()
#4 $abs_path/wp-content/plugins/matomo/shared.php(36): require_once('…')
#5 $abs_path/wp-content/plugins/matomo/classes/WpMatomo.php(50): matomo_plugin_autoloader()
#6 $abs_path/wp-content/plugins/matomo/matomo.php(212): WpMatomo->__construct()
#7 $abs_path/wp-settings.php(428): include_once('…')
#8 $abs_path/wp-config.php(120): require_once('…')
#9 $abs_path/wp-load.php(50): require_once('…')
#10 $abs_path/wp-content/plugins/matomo/app/bootstrap.php(95): require_once('…')
#11 $abs_path/wp-content/plugins/matomo/app/console(11): require_once('…')
#12 {main}
thrown in $abs_path/wp-content/plugins/matomo/classes/WpMatomo/Settings.php on line 90
Could you please help me ?
** system report **
Matomo
- Version de l’extension Matomo: 4.13.0
- Config existe et est accessible en écriture.: Oui (“$abs_path/wp-content/uploads/matomo/config/config.ini.php” )
- JS Tracker existe et est accessible en écriture.: Oui (“$abs_path/wp-content/uploads/matomo/matomo.js” )
- Répertoires de l’extension: Yes ([{“pluginsPathAbsolute”:“$abs_path/wp-content/plugins/matomo/plugins”,“webrootDirRelativeToMatomo”:“…/”}])
- Répertoire temporaire accessible en écriture: Yes ($abs_path/wp-content/cache/matomo)
- Version de Matomo: 4.13.0
- idSite du site web Matomo: 1
- Version installée de Matomo: 4.13.0 (Install date: 2023-01-17 11:34:15)
- Upgrades outstanding: No
- Upgrade in progress: No
Endpoints
- Matomo JavaScript Tracker URL: ($site_url/wp-content/uploads/matomo/matomo.js)
- Matomo JavaScript Tracker - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)
- Matomo HTTP Tracking API: ($site_url/wp-content/plugins/matomo/app/matomo.php)
- Matomo HTTP Tracking API - WP Rest API: ($site_url/wp-json/matomo/v1/hit/)
Contrôles obligatoires
- Version PHP >= : ok
- PDO extension: ok
- PDO\MYSQL extension: ok
- MYSQLI extension: ok
- Autres extensions requises: ok
- Fonctions requises: ok
- Configuration PHP requise (php.ini): ok
- Répertoires avec les droits d’accès en écriture: ok
- Répertoires avec accès en écriture pour Gestionnaire de balises: ok
Contrôles facultatifs
- Binaire PHP 64 bits: ok
- État du traqueur: ok
- Limite mémoire: ok
- Fuseau horaire: ok
- Ouvrir l’URL: ok
- PageSpeed est désactivé: ok
- GD > 2.x + FreeType (graphics): ok
- Autres extensions: ok
- Autres fonctions: ok
- Système de fichiers: ok
- Warning Dernière exécution d’archivage réussie: warning (L’archivage s’est exécuté avec succès le Mardi 17 janvier 2023 10:34:19 soit il y a 1 jours 06:45:36 )
- Capacités de la base de données: ok
- Taille maximale des paquets: ok
- Géolocalisation: ok
- Mettre à jour via HTTPS: ok
- Supports Async Archiving: Yes
- Location provider ID: geoip2php
- Location provider available: Yes
- Location provider working: Yes
- Had visit in last 5 days: Yes
- Matomo URL: Yes ($site_url/wp-content/plugins/matomo/app/)
Matomo Settings
- Track mode: default
- Track codeposition: footer
- Track api endpoint: default
- Track js endpoint: default
- Version history: 4.13.0
- Core version: 4.13.0
- Last tracking settings update: 1673951674
- Last settings update: 1673951674
- Track ecommerce: No
WordPress Plugins
- Advanced Custom Fields: 5.12.3
- Akismet Anti-Spam: 5.0
- Autoptimize: 3.1.3
- Classic Editor: 1.6.2
- Contact Form 7: 5.6.3
- Customizer Export/Import: 0.9.4
- Duplicator: 1.5.0 (Network enabled)
- Easy WP SMTP: 1.5.2
- Elementor: 3.7.4
- Flamingo: 2.3
- Honeypot for Contact Form 7: 2.1.1
- iThemes Security: 8.1.3 (Network enabled)
- JetElements For Elementor: 2.6.7
- Jupiter X Core: 2.5.1
- Matomo Analytics - Ethical Stats. Powerful Insights.: 4.13.0
- Redirect 404 Error Page to Homepage or Custom Page: 1.8.5
- Redirection: 5.3.5
- UpdraftPlus - Backup/Restore: 1.22.19
- WooCommerce: 6.9.3
- WordPress Importer: 0.7
- WP Crontrol: 1.15.1
- WPForms Lite: 1.7.8
- WP Super Cache: 1.9.1
- Yoast SEO: 19.10
- Active Plugins: 24 (advanced-custom-fields autoptimize better-wp-security classic-editor contact-form-7-honeypot contact-form-7 customizer-export-import duplicator duplicator easy-wp-smtp elementor flamingo jet-elements jupiterx-core matomo redirect-404-error-page-to-homepage-or-custom-page redirection updraftplus woocommerce wordpress-importer wordpress-seo wp-crontrol wp-super-cache wpforms-lite)
- Theme: jupiterx (jupiterx-child)
Server
- Server Info: Apache
- Apache AddHandler support: Supported
- PHP OS: Linux
- PHP Version: 8.0.26
- PHP SAPI: fpm-fcgi
- PHP Binary Name: php-fpm8.0
- PHP Maxmind DB extension: Not loaded
- PHP Error Reporting: 4437 After bootstrap: 4437
- PHP Found Binary: php -q
- Timezone: UTC
- WP timezone: Europe/Paris
- Locale: fr_FR
- User Locale: fr_FR
- Memory Limit: 512M (At least 128MB recommended. Depending on your traffic 256MB or more may be needed.)
- WP Memory Limit: 256M
- WP Max Memory Limit: 512M
- Timezone version: 0.system
- Time: 1674062395
- Max Execution Time: 0
- Max Post Size: 8M
- Max Upload Size: 2097152
- Max Input Vars: 1000
- Disabled PHP functions: Yes (pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,)
- zlib.output_compression is off: Yes
- Curl Version: 7.64.0, OpenSSL/1.1.1n
- Suhosin installed: No
PHP cli
- PHP cli Version: 8.2.0
- MySQLi support: ok
Database
- MySQL Version: 10.3.36
- Mysqli Connect: Yes
- Force MySQL over Mysqli: No
- DB Prefix: wppr_
- DB CHARSET: utf8mb4
- DB COLLATE:
- SHOW ERRORS: No
- SUPPRESS ERRORS: No
- Uses Socket: No
- Uses IPv6: No
- Matomo tables found: 65
- DB tables exist: Yes
- Matomo users found: 5
- Matomo sites found: 1
- Permissions obligatoires: OK
Browser
- Browser: (Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36)
- Language: fr-fr,fr,en-us,en