-
Theloomps
Hey!
I am using GeneratePress and GenerateBlocks on all my clients’ website and this is the first time I see that.
I use a Loop template for the blog archive pages, And on some archive page the style does not load, especially the images, but also font size, same in the sidebar (it’s also a Loop element).It supposed to look like this:
https://blog.hippocratus.com/bien-etre/but on this archive it looks like this:
https://blog.hippocratus.com/aller-plus-loin/actualites/So you know, it looks that the problem “moves”. For exemple, one week the layout is fine on one and not on another, next week it’s the other way around.
I thought of a caching issue, but I disabled all caching plugins and deactivated the caching server as well. Nothing changes. I use the same server and pretty much the same setting on all my sites. Of course, I also tried to look for plugin conflicts, nothing changed. All GP and GB versions are up-to-date. This problem last for a couple of months now.
I couldn’t find any solution, if you guys can give me a hand ? 🙂
-
David
Hi there,
if you go to Dashboard > GenerateBlocks > Settings, and set the CSS Print Method to
Inline
And then clear any caches, plugin and server side, does that resolve the issue ? -
Theloomps
Hi David, thanks for your quick answer.
The CSS Print Method is already set to Inline.
-
David
Hmmm… do you know when that setting was changed to inline ( its the default setting ) ?
-
Theloomps
I have no idea. If it’s default, I may have never touched it.
-
David
No, it’s not the default. The default is the External File.
Try switching the External File. -
Theloomps
I switched to External file and regenerated the CSS file. Cleared cache. The issue is still here.
-
David
And if you temporarily disable any caching / security plugins ? Does the issue persist ?
-
Theloomps
Yes, when I disable all the plugins beside GeneratePress Premium and GenerateBlocks and GenerateBlocks Pro, the issue is still here.
-
David
Is there any server side page caching or op caching ?
-
Theloomps
I tried that also, disabled Redis, Object Cache Pro and Varnish, the issue is still here.
I always use Cloudways (Vultur) and all the caching services with GP and GB on many sites, never had this issue.
-
David
It is odd.
You can see that the content outside the loop is loading styles correctly. So we know that GB can see the page.But its not picking up the blocks in the Loop Template.
Generally it’s a caching issue or some other some server setting that causes this. But generally its all the time affects everything kinda issue.So if it’s not caching – what else may be interfering with the query on that page ? Like how is the Category filter added to the sidebar ?
-
Theloomps
It’s a widget, like any other filter that we can find on ecommerce or blog. I use this filter plugin on all my sites, and I disabled it like all the plugins, the issue did not go away.
But what is odd is why on some archive pages and not on others. They have the same settings and sidebar.
-
David
Yeah thats what makes it puzzling and difficult to debug. As it should not be isolated to specific category archives.
If you install the Query Monitor plugin , does it report any issues on the problem archive page ? -
Theloomps
I installed it:
No issue, everything is green.
But
The page with the right layout loads 23 Styles, the one with the wrong one loads 22 Styles. I am missing the “core-block-supports” in the footer.
Also, I just noticed that there is a link in the upper part of the page, the link of the first article. I don’t know why. It’s not supposed to be there. I don’t know if that helps.
So you know I also tried to delete my custom CSS just in case. But still. Not working.
-
The post in that category has a classic editor section, can you convert it to block editor to see if it fix the issue?
https://app.screencast.com/UFenDoMuPcRPm
- You must be logged in to reply to this topic.