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

Rapport du système de diagnostique Matomo contient des erreurs qui peuvent empêcher l’extension de fonctionner normalement. #1215

Open maxd88 opened 2 days ago

maxd88 commented 2 days ago

Bonjour, j'ai un rapport m'indiquant des erreurs, pourriez-vous me dire quoi faire ? Je viens d'installer Matomo, merci bcp.

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 12 hours ago

Hi @maxd88, I can see three warnings in the system report. Two are due to your hosting provider's configuration and can be ignored (we will likely remove these warnings in the future).

The warning for HTTP_X_FORWARDED_FOR is something you may need to look at, by:

image

If the IP address detected there is different than what you see when you click the "click here" link, you'll need to make sure the setting is set to HTTP_X_FORWARDED_FOR like so:

image

maxd88 commented 12 hours ago

Hi, thank a lot, i see on my WordPress for fix it.envoyé : 14 novembre 2024 à 08:31de : dizzy @.>à : matomo-org/matomo-for-wordpress @.>cc : maxd88 @.>, Mention @.>objet : Re: [matomo-org/matomo-for-wordpress] Rapport du système de diagnostique Matomo contient des erreurs qui peuvent empêcher l’extension de fonctionner normalement. (Issue #1215) Hi @maxd88, I can see three warnings in the system report. Two are due to your hosting provider's configuration and can be ignored (we will likely remove these warnings in the future).The warning for HTTP_X_FORWARDED_FOR is something you may need to look at, by:going to this page in the settings https://yoursite.com/wp-admin/admin.php?page=matomo-settings&tab=advancedyou'll see a message like this:image.png (view on web)If the IP address detected there is different than what you see when you click the "click here" link, you'll need to make sure the setting is set to HTTP_X_FORWARDED_FOR like so:image.png (view on web)—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

maxd88 commented 10 hours ago

Hi, i have an new error, please give me a solution :Pleaaseeeee...Thanks.Bonjour !WordPress dispose d’une fonctionnalité native permettant de détecter si une extension ou un thème cause une erreur fatale sur votre site, et vous notifie avec cet e-mail automatique.Ici, WordPress a trouvé une erreur avec l’une de vos extensions, « Matomo Analytics – Ethical Stats. Powerful Insights. ».(...)WordPress version 6.6.2Thème actif : Divi (version 4.27.3)Extension actuelle : Matomo Analytics – Ethical Stats. Powerful Insights. (version 5.1.5)PHP version 7.4.33Détails de l’erreur======================Une erreur de type E_ERROR a été causée dans la ligne 407 du fichier /home/aubriateau/www/aubriat/web/wp-content/plugins/matomo/classes/WpMatomo/Db/WordPress.php. Message d’erreur : Uncaught Zend_Db_Statement_Exception: WP DB Error: [1050] Table 'wor3178_matomo_user' already exists SQL: CREATE TABLE wor3178_matomo_user ( login VARCHAR(100) NOT NULL, password VARCHAR(255) NOT NULL, email VARCHAR(100) NOT NULL, twofactor_secret VARCHAR(40) NOT NULL DEFAULT '', superuser_access TINYINT(2) unsigned NOT NULL DEFAULT '0', date_registered TIMESTAMP NULL, ts_password_modified TIMESTAMP NULL, idchange_last_viewed INTEGER UNSIGNED NULL, invited_by VARCHAR(100) NULL, invite_token VARCHAR(191) NULL, invite_link_token VARCHAR(191) NULL, invite_expired_at TIMESTAMP NULL, invite_accept_at TIMESTAMP NULL, ts_changes_shown TIMESTAMP NULL,envoyé : 14 novembre 2024 à 08:31de : dizzy @.>à : matomo-org/matomo-for-wordpress @.>cc : maxd88 @.>, Mention @.>objet : Re: [matomo-org/matomo-for-wordpress] Rapport du système de diagnostique Matomo contient des erreurs qui peuvent empêcher l’extension de fonctionner normalement. (Issue #1215) Hi @maxd88, I can see three warnings in the system report. Two are due to your hosting provider's configuration and can be ignored (we will likely remove these warnings in the future).The warning for HTTP_X_FORWARDED_FOR is something you may need to look at, by:going to this page in the settings https://yoursite.com/wp-admin/admin.php?page=matomo-settings&tab=advancedyou'll see a message like this:image.png (view on web)If the IP address detected there is different than what you see when you click the "click here" link, you'll need to make sure the setting is set to HTTP_X_FORWARDED_FOR like so:image.png (view on web)—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

diosmosis commented 57 minutes ago

@maxd88 strange, it looks like the plugin is trying to install itself again. Can you replace the /path/to/wordpress/wp-content/plugins/matomo/app/classes/WpMatomo/Db/WordPress.php file with this one: https://raw.githubusercontent.com/matomo-org/matomo-for-wordpress/c36fb4974ca7fb46f97f408b3dec9e61c8914a62/classes/WpMatomo/Db/WordPress.php ?