Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Archive error when Wp-Rocket 3.12 and newer is enabled #642

Closed
mattmary opened this issue Sep 5, 2022 · 18 comments
Closed

Archive error when Wp-Rocket 3.12 and newer is enabled #642

mattmary opened this issue Sep 5, 2022 · 18 comments
Labels
Bug Something isn't working compatibility with other plugins Critical Indicates the severity of an issue is very critical and the issue has a very high priority.

Comments

@mattmary
Copy link
Contributor

mattmary commented Sep 5, 2022

see https://wordpress.org/support/topic/archive-error-with-wp-rocket/
wprocket upgraded in this release Monolog to 2.0. Now we have a conflict.

refs #233
refs matomo-org/matomo#16905

@mattmary mattmary added this to the Backlog (Help wanted) milestone Sep 5, 2022
@tsteur
Copy link
Member

tsteur commented Sep 5, 2022

WP-Rocket is one of the most used WordPress plugins used on millions of sites. It means our plugin will no longer work when they are both installed at the same time.

@mattmary
Copy link
Contributor Author

mattmary commented Sep 7, 2022

@NicoHood
Copy link

NicoHood commented Sep 24, 2022

I also ran into this issue since 2 days ago. If I remember correct I've updated Matomo, Rank Math and the WebP Converter Plugin. Something must have caused the issue.

I tried to follow this guide and manually created the archive. The error message is, that matomo could not connect to the database.

Is my issue related to this one?

Edit: It is another issue: #647

@mattmary
Copy link
Contributor Author

@NicoHood

Yes. I confirm. this is another issue

@mattmary mattmary added Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Bug Something isn't working Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. compatibility with other plugins and removed Critical Indicates the severity of an issue is very critical and the issue has a very high priority. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. labels Oct 4, 2022
@ultrazeus
Copy link

ultrazeus commented Jan 27, 2023

Any update on this? I'm still on a deprecated version of WP-Rocket. Like @tsteur is mentioning WP-Rocket is one of the most used WordPress plugins used on millions of sites, so I would recommend prioritising this.

@jblecuit
Copy link

Everything is back to normal with the latest versions of the Matomo and WP-Rocket plugins

@mattmary
Copy link
Contributor Author

Hello @jblecuit @ultrazeus

We have published recently a new plugin version with a new Matomo release.
But this release does not embed yet the fix for this problem. The problem still exist.

As I metionned it before, this fix will be included in the next major Matomo release. For now, Matomo 5 is scheduled in 3 months.

Kind regards

Mat

@mattmary mattmary changed the title Archive error when wprocket 3.12 and newer is enabled Archive error when Wp-Rocket 3.12 and newer is enabled Jan 29, 2023
@atom-box
Copy link

Today in feature feedback a Matomo user reported the following:

"Still the annoying Error on reporting due to WP-Rocket bug."

@goochj03
Copy link

A customer this morning has also brought up the incompatibility issue with WP-Rocket.
"I have a problem with matomo and my plugin wp-rocket isn't compatible!"

@mattmary
Copy link
Contributor Author

mattmary commented Mar 28, 2023

Hello @atom-box, If this user defines the constant explained in this wiki page, he will never have again this problem when we upgrade our plugin:
https://github.com/matomo-org/matomo-for-wordpress/wiki/Downgrade-wp-rocket-to-a-version-compatible-with-the-Matomo-plugin
Indeed, we'll have to notify all of them when the fix will be released to let them remove this constant.

@goochj03 everything is explained here: https://github.com/matomo-org/matomo-for-wordpress/wiki/Downgrade-wp-rocket-to-a-version-compatible-with-the-Matomo-plugin. He should also have this link in his system report.

Can you both of you add in comment the link where these users complained about?

@TibowWebdesign
Copy link

Hello @mattmary is the conflict problem fixed now?
Matomo 4.14.2
WP Rocket 3.12.3.3

Thank you for your answer

@mattmary
Copy link
Contributor Author

mattmary commented Jun 5, 2023

Hello @TibowWebdesign

We are testing the beta release of Matomo 5.x.
So for now, no, It's not yet fixed, but it should be soon.
I'll try to notify all of you when we'll publish a plugin release including Matomo 5.x
Thanks for your patience.

Mat

@atom-box
Copy link

A user today reported this:

Hello,
Do you know when self-hosted Matomo Analytics will be compatible with WP Rocket?
Indeed, it's becoming very problematic for many sites to use an older version of WP Rocket.

@jblecuit
Copy link

jblecuit commented Sep 18, 2023 via email

@ramig1thub
Copy link

Hello,
This problem with self-hosted Matomo and WP Rocket is really annoying.
It's been more than 1,5 year that we are waiting for a fix...

@diosmosis
Copy link
Member

Hi @ramig1thub, I'm working on a fix right now. There were some politics that made it hard to accomplish a year ago but we've found a way around that problem.

@diosmosis
Copy link
Member

For anyone following this, it seems like WP-Rocket may have fixed this on their end in wp-media/wp-rocket#6046. I haven't tested whether there are any other incompatibilities, but it may be possible to use the latest version with Matomo for WordPress.

We are still working on applying the same type of fix on our end to solve all our plugin incompatibility issues.

@diosmosis
Copy link
Member

Matomo for WordPress 5 now has better compatibility with other WordPress plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working compatibility with other plugins Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Projects
None yet
Development

No branches or pull requests

10 participants