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

Undefined index #197

Closed diegoaa closed 4 years ago

diegoaa commented 4 years ago

I'm seeing this in System Report. How should I go about fixing it? Thanks

There are some issues with your system. Matomo will run, but you might experience some minor problems. See below for more information.

further below a bunch of such messages

Matomo error: 8: Undefined index: msg in $ABSPATH/wp-content/plugins/WooCommerce_v37_PayUmoney_BOLT/index.php:24 => bootstrap.php:48; bootstrap.php:75; index.php:24; class-wp-hook.php:288; class-wp-hook.php:312; plugin.php:478; wp-settings.php:392; wp-config.php:66; wp-load.php:37; bootstrap.php:82; console:8;

tsteur commented 4 years ago

@diegoaa it's possible this can be actually ignored. Can you maybe share what Name it says in the left column? It might say something like archive_main or archive_errors on the left to the warning you posted?

Matomo error: 8: Undefined index: msg in $ABSPATH/wp-content/plugins/WooCommerce_v37_PayUmoney_BOLT/index.php:24 => bootstrap.php:48; bootstrap.php:75; index.php:24; class-wp-hook.php:288; class-wp-hook.php:312; plugin.php:478; wp-settings.php:392; wp-config.php:66; wp-load.php:37; bootstrap.php:82; console:8;

Here it seems like the plugin WooCommerce_v37_PayUmoney_BOLT is triggering some warning and it might be actually interesting to report it to them if you can / want so they can fix it in their plugin.

Not sure if it would actually cause any warm as it depends on the Name of the error.

diegoaa commented 4 years ago

Thanks for your response @tsteur . The left column shows archive_boot. The plugin is a payment gateway and works fine, I will anyways try to inform the developer by directing them to this page.

tsteur commented 4 years ago

@diegoaa made a tweak to no longer mark this as a warning in the future. Feel free to ignore it and ideally as you mentioned inform the developer. In case there is any issue that reports are no longer being generated/shown let me know.