Thomas
Forum Replies Created
-
Hi @tylertork
This error would not be due to CORS (as you mentioned it does not send any data to a anyone else). A 414 error indicates “URL too long”. I checked on your website and I can reproduce the 414 error. The server seems to have a problem with a URL that has 370 characters which is fairly short for a URL. Any chance you could reach out to Siteground and ask them if they can increase this limit for you?
There might be also an additional workaround:
* Go to WP Admin dashboard
* Go to Matomo Analytics -> Settings
* In the tracking settings tab enabled the setting “Force POST requests”.
* Save and try againThis might solve the issue. Note that if you use any caching plugin like WP Rocket then you might have to clear the cache to see this change.
Could you give this a try? Hope it helps @tylertork and happy holidays.
@1001webs have you had a chance to send us the URL already by any chance?
@matheka-jnr sorry about that. Any chance you could create a login for us on your WordPress so we can have a look? This be the easiest way for us to troubleshoot this issue as it could have many root causes. There’s no guarantee though we can find the error this way though. If so, could you create a user with Matomo Super User role for wordpress@matomo.org and we’d then do a password reset? We would only have access to the Matomo part within your WordPress. Be great to let us know if that works.
Otherwise it might help to send us the [Matomo system report](https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/)
If you can enable the debug log this might help too to troubleshoot this issue see https://matomo.org/faq/wordpress/i-have-a-problem-how-do-i-troubleshoot-and-enable-wp_debug/
@matheka-jnr AFAIK the fix should be already included in the last release
Thanks @jutasig
I couldn’t reproduce it that way just yet. Any chance you could post your system report? See https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/
Maybe there’s an issue with a plugin or theme.
Which theme are you using?
Hi @philapho
I can reproduce the error when I install the “all in one calendar” plugin:> Fatal error: Cannot redeclare twig_cycle() (previously declared in /wp-content/plugins/all-in-one-event-calendar/vendor/twig/Extension/Core.php:360) in /wp-content/plugins/matomo/app/vendor/twig/twig/src/Extension/CoreExtension.php on line 324
It seems the plugin is not compatible with our plugin because they are using an older version of twig.
Any chance you could try to disable this calendar plugin and check if Matomo then works?
The system report otherwise looks all good and I would expect that below error is gone now too?
> WP DB Error: [1146] Table ‘yw5hx_WP387230.wp_387230_matomo_option’ doesn’t exist SQL: SELECT option_value, option_name FROM wp_387230_matomo_option
Thank you for the update @philapho
Any chance you could send us the full output of the system report see https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/ ?
The FAQ also explains how to put Matomo into safe mode so it won’t cause these errors. It will then also work when you click on “diagnostics”.
Basically, you will need to add the following line to your
wp-config.php:define( 'MATOMO_SAFE_MODE', true );Any chance you could give this a try?
Hi @jutasig
sorry about that! Are you already using the latest version of our plugin?
Could you maybe post your system report here see https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/ ?
This way we could try and reproduce it (and hopefully fix it).
Thanks for your help @jutasig
Thanks for this @ss88_uk very much appreciated. Hope they will fix this.
Hi @ss88_uk
sorry about that problem and thanks for looking into other plugins. I installed the 301 redirects plugin trying to reproduce it but it seems to be only included in the pro version which I cannot access. Could you ask them maybe what version of MaxMind they are using and whether they are planning on upgrading to a newer version of MaxMind (the one they include might be very much outdated and no longer maintained). That would be great.
Could you check out maybe also this FAQ? https://matomo.org/faq/troubleshooting/how-do-i-fix-the-error-call-to-undefined-method-maxminddbreadergetwithprefixlen/ It might be in your case more of an error with the other plugin but you never know.
Great, thanks for doing this @adcgn and it really helps. Our patch might actually work in this case and we’ll also have another test with this. Thanks again and have a great week.
Hi @adcgn
thanks for reporting this and sorry about all the numerous warnings in your log files.
Technically, this should not happen as we check if
getmypidis supported here: https://github.com/matomo-org/wp-matomo/blob/4.0.4/app/core/CliMulti/Process.php#L172-L184It’s possible though that maybe your hoster supported
getmypidfor web requests but not on CLI when we execute it on the command line. Any chance you could send us the Matomo system report see https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/ either as a comment here (it should be anonymised) or by email to wordpress@matomo.org?Generally, you should be able to fix this by adding
define('MATOMO_SUPPORT_ASYNC_ARCHIVING', false);towp-config.php.Hi @philapho
sorry about that! Was this a new installation that didn’t work or after an update? If the plugin is now fully uninstalled, maybe you could try to install it again and see if works? If it still causes an issue, it might help to remove the file
wp-content/uploads/matomo/config/config.ini.php(if it exists) and then reload the WP Admin.For us to understand things better if there’s still an error after that it might help to put Matomo into “Safe Mode” and send us the system report see https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/
By putting it in “safe mode” there should not be a need to remove it from the FTP if there is an error.
Thanks @markzahra very appreciated you’ll have a look.
Thank you @cantoute
I can definitely reproduce this with the WP RSS Aggregator too. I will put the plugin also in safe mode with the next release (in few hours). Created https://wordpress.org/support/topic/php-di-upgrade-2/ to see if they can follow up and also update PHP DI (which they likely should).@marcusjott the incompatibility here would be with cookiebot unfortunately.