Plugin Contributor
dudo
(@dudo)
Hi!
I can 100% confirm that is not a conflict with new version of WordPress, but it could be a conflict with the theme, but it is weird.
Are you using some caching plugin or service? (cdn or similar)
Best,
Dario
Hi Dario
Thanks for the quick response.
Yes, SG Optimizer has caching and Cloudflare CDN. I was clearing Siteground’s caches yesterday.
I disabled all the plugins again when I got home this morning and activated YASR first to make sure it wasn’t a conflict with another plugin. The pictures are back but YASR’s rating doesn’t show.
If I’m logged in it does, so I know it’s generating one. But when I check from a different browser or incognito window all I see is “Our Score” and no stars. I’ve tried with and without Axaj loading.
It seems the conflict is with SG Optimizer. I decided to try uninstalling and reinstalling YASR to see if that helped. And my images went away again.
After another mass deactivation, the pictures and ratings were back. When I reactivated SG Optimizer the ratings stopped showing. Deactivate it and they came back. Whether it’s the caching or the various JS and CSS optimizations that are causing it remains to be seen
Plugin Contributor
dudo
(@dudo)
Yep, I was sure that was a caching plugin because when you’re logged in everything works, it is a typical behavior of caching system.
This is what I suggest: before disabling SG Optimizer, be sure to delete all your caches in your dashboard, then disable it (often cache is still there even if the plugin is disabled)
Then go to your SG panel and delete cache again and disable every caching system.
After this, try again to enable SG Optimizer and see if it works.
Hi Dario
YASR is working again but it wasn’t the caching. I tried what you suggested and nothing changed.
I turned my attention to SG Optimizer’s JS optimizations. Minify JavaScript Files didn’t cause a problem but having either Combine or Defer Render Blocking made it stop working. Excluding YASR’s JS didn’t help but after a good bit of trial and error, I found excluding /wp-includes/js/dist/hooks.min.js lets it run.
Some kind of dependency issue I would guess.
Thanks for the ideas and help 🙂
Sorry forgot to mark it resolved
Plugin Contributor
dudo
(@dudo)
Ah ok, thanks to make me know!