Thomas
Forum Replies Created
-
Thanks for the update @1001webs feel free to send us the URL of the site to wordpress@matomo.org and we can have a look what is happening there.
Hi there,
we have been looking into various ways to make this work but so far it seems there’s no way for us to avoid this error 🙁 We also can’t easily downgrade to an older version of PHP-DI because we have already shipped Matomo On-Premise and all our plugins (40+) that support this PHP-DI version. It took us more than a week to use that PHP-DI library. If we remove PHP8 support then other people come and complain how it’s not compatible yet after we had so much time to prepare. WordPress dev world is indeed challenging! Tired of this logic too 🙂
I’ve tried reproducing using these plugins but couldn’t reproduce it unfortunately:
akismet flamingo w3-total-cache broken-link-checker imsanity webp-express companion-auto-update wordfence contact-form-7 mashsharer wordpress-seo custom-twitter-feeds newsletter wp-mail-smtp redirection wp-rss-aggregator seo-image-optimizer. Also installed a version of divi theme but possible I’m missing something somehow.Generally a workaround be otherwise to use [Matomo On-Premise](https://matomo.org/docs/installation/) (previously tracked data should be possible to migrate using our [Migration](https://plugins.matomo.org/Migration) plugin). You could then use our [WP-Matomo integration](https://wordpress.org/plugins/wp-piwik/) to connect WordPress with Matomo On-Premise. It would of course take a few hours and is yet another system to maintain and I fully understand nobody enjoys any of that and for sure nobody enjoys sch issues when upgrading a WP plugin.
I really wish we had better news but so far there’s no workaround. In the next update (expected in next 24 hours) we will automatically put the plugin in “safe mode” when cookiebot is installed. As soon as we detect more plugins we will disable them as well. I’ve reached out to cookiebot hoping they will upgrade their PHP-DI version as well which would fix the issue for some users (in https://wordpress.org/support/topic/php-di-upgrade/).
Feel free to keep us sending your list of installed plugins and I will try and find more incompatible plugins so we can at least prevent errors like these and instead just show an incompatible message.
Sorry about this all.
Hi @1001webs just checking if you had a chance looking at my previous comment?
Hi @ofmarconi unfortunately this is not possible as we don’t do any redirects etc. We’re only recording/measuring which pages were visited. Sorry about that! Wish I had better news. There might be other plugins out there though that do exactly that.
Forum: Plugins
In reply to: [Progressive WordPress (PWA)] New Offline Feature for Matomo/PiwikThis is in the Matomo for WordPress plugin directly, not in the plugin you commented on 🙂
Forum: Plugins
In reply to: [Progressive WordPress (PWA)] New Offline Feature for Matomo/PiwikThanks for the suggestion @mogli235
We started working on it in https://github.com/matomo-org/wp-matomo/pull/391 but it’s not that trivial as we found and we figured we will first wait for some more feedback that it actually fully works before offering it in this plugin.
I’ll comment here when it’s available. For now we recommend embedding it manually see https://wordpress.org/support/topic/new-offline-feature-for-matomo-piwik/
Hi there,
a rollback would only help to a previous 1.3.X version. You would then need to migrate back the schema change though see https://matomo.org/faq/how-to/how-do-i-downgrade-from-matomo-4-to-matomo-3/
We’re still actively investigating and looking at making things better and seeing if or what we can do to resolve this issue. I’ll keep everyone updated. Thanks for your understanding
Hi there,
so far we identified Cookie and OptimisePress builder plugins to be causing issues.
If someone has the old Custom Dimensions plugin still installed it might be indeed good to try and remove the old plugin as it’s now shipped with Matomo.
I’ll try to get in touch with the other 2 plugin developers to see if they have plans to upgrade their PHP-DI library as this would fix the issue. They simply load an older version of that library and it’s not compatible with the newer version we are using.
Feel free to send us your system report to wordpress at matomo.org if you don’t use any of these plugins.
Hi @ofmarconi
Not quite sure what you are trying to achieve exactly? Which page are you referring to for example?
Great @volkhardv
It should be released next week. Possibly beginning next week but might be towards the end of the week.
@mickna did you maybe also uninstall the plugin?
Could you post also the part of the system report that lists all the activated plugins?
Thanks for this
Hi @volkhardv
Sorry about that! Looks like some issue with WP mail smtp plugin. I’ve just created https://github.com/matomo-org/wp-matomo/pull/390/files which should fix this 🙂
Any chance you can patch the file
wp-content/plugins/matomo/classes/WpMatomo/Email.phpand make this change to get it fixed right away? It’s effectively removing\PHPMailerfrom line 100Thanks for reporting!
Hi @amedat I received your mail and just replied. We might already have a fix for this one.
The other issue regarding PHP DI is a bit different though. I’d be very grateful if I could receive a few system reports (see https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/ you might need to enable SAFE_MODE) or even just a list of installed plugins be helpful.
Be great to comment here or email us to wordpress at matomo.org
I couldn’t yet find an email with a system report. Thanks for your help everyone!
Hi everyone, so sorry about that!
By the looks a library that we had to upgrade to be compatible with PHP 8 is causing issues as some other plugins by the looks still use an older version of the PHP DI library.
Could you post your system report here or send it to us to wordpress@matomo.org so I can confirm this? Here’s how to get the report (which should be anonymised) https://matomo.org/faq/wordpress/how-do-i-find-and-copy-the-system-report-in-matomo-for-wordpress/
Really sorry about this and I’ll be happy to look further into this.
@saowp I have a fix for this and will release an update soon. Thanks for finding this issue and reporting it. Very appreciated!