matomo-for-wordpress icon indicating copy to clipboard operation
matomo-for-wordpress copied to clipboard

Archive error when wprocket 3.12 and newer is enabled

Open mattmary opened this issue 2 years ago • 4 comments

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 https://github.com/matomo-org/matomo/issues/16905

mattmary avatar Sep 05 '22 21:09 mattmary

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.

tsteur avatar Sep 05 '22 21:09 tsteur

Temporary workaround is to fix the wp-rocket version https://github.com/matomo-org/matomo-for-wordpress/wiki/Downgrade-wp-rocket-to-a-version-compatible-with-the-Matomo-plugin

mattmary avatar Sep 07 '22 20:09 mattmary

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: https://github.com/matomo-org/matomo-for-wordpress/issues/647

NicoHood avatar Sep 24 '22 12:09 NicoHood

@NicoHood

Yes. I confirm. this is another issue

mattmary avatar Sep 27 '22 21:09 mattmary

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.

ultrazeus avatar Jan 27 '23 11:01 ultrazeus

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

jblecuit avatar Jan 27 '23 11:01 jblecuit

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 avatar Jan 29 '23 20:01 mattmary

Today in feature feedback a Matomo user reported the following:

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

atom-box avatar Mar 27 '23 23:03 atom-box

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!"

goochj03 avatar Mar 28 '23 19:03 goochj03

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?

mattmary avatar Mar 28 '23 21:03 mattmary

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

Thank you for your answer

TibowWebdesign avatar Jun 05 '23 09:06 TibowWebdesign

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

mattmary avatar Jun 05 '23 09:06 mattmary

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.

atom-box avatar Sep 17 '23 17:09 atom-box

Hello, No Idea...

De : Evan Genest @.> Envoyé : dimanche 17 septembre 2023 19:57 À : matomo-org/matomo-for-wordpress @.> Cc : jblecuit @.>; Mention @.> Objet : Re: [matomo-org/matomo-for-wordpress] Archive error when Wp-Rocket 3.12 and newer is enabled (Issue #642)

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.

Reply to this email directly, view it on GitHubhttps://github.com/matomo-org/matomo-for-wordpress/issues/642#issuecomment-1722530833, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A3B7DZNMJEIUS5OPHYLOBCLX242YJANCNFSM6AAAAAAQFI2BKY. You are receiving this because you were mentioned.Message ID: @.@.>>

jblecuit avatar Sep 18 '23 06:09 jblecuit

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...

ramig1thub avatar Sep 18 '23 11:09 ramig1thub

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 avatar Sep 18 '23 16:09 diosmosis

For anyone following this, it seems like WP-Rocket may have fixed this on their end in https://github.com/wp-media/wp-rocket/pull/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 avatar Jan 16 '24 12:01 diosmosis

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

diosmosis avatar Feb 19 '24 22:02 diosmosis