Archived topic
Problem with columns
14 replies · Started by Hans on February 22, 2019
It could be a problem with WP 5.1. I could not observe that effect before.
Some blog/archive pages are shown in a wrong way. See pictures:

First page of blog

Second page of blog
Now four images with expected 2 to 5 columns - taxonomy archive.

2 columns

3 columns

4 columns

5 columns
It's strange - on some archives or blog pages it works. On others the column structure is broken. What might be the reason of the misfunction?
Hi there,
are you seeing this on the front end? I checked a few archives and couldn't see the issue. If there is one in particular presenting the problem can you link me to it. But it looks like a possible caching issue
I got to page 10 and still didn't see the issue. Have you tried hard flushing the browser caches?
Hi David,
it followed your advice - no change. I tried it on a computer which never used the site - same effect.
Further investigation seems to point at a CSS problem. My screens are 1920px wide. When I reduce the size everything is okay. When I change to full size without loading the page is okay. When I reload the page only one column is displayed.
What can be the reason???
Does this still happen if you try it in Chrome or Firefox?
Hi Tom,
it's exactly the same behaviour in Firefox, Chrome ,and Edge.
Definitely something strange going on here. It looks like you're using a caching plugin of some sort, can you try deactivating it for now while we debug?
I cleared all caches and deactivated all plugins except gp premium. This is the result:
1. Blog page seems to be okay.
2. One specific taxonomy shows the same behaviour as before.

Full size taxonomy

Same page in inspection mode

Reduced size of same taxonomy
What is going on here..
The reason it fixes itself when you resize is the masonry script is told to reload on resize. So it's that initial load we're worried about.
Is the home page consistently ok for you now?
Is it only that one category? The others are all ok?
Sorry for all the questions - trying my best to find any possible cause so I can replicate on my side of things and debug the code.
In addition to problem with initial load it could be a timing problem, too. To your questions:
The home page is in some cases okay. Today there is mostly only one column.
The tag page shows always only one column.
It is a very strange behaviuor. The server log had an erroe message this morning:
25.02.2019 10:53:36 huppenbroich.de [client 71.114.67.0] AH01215: PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0: /home/strato/http/premium/rid/95/11/579511/htdocs/profinos/index.php
25.02.2019 10:53:36 huppenbroich.de [client 71.114.67.0] AH01215: PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0: /home/strato/http/premium/rid/95/11/579511/htdocs/profinos/index.php
This message does not appear permanently.
I changed the container size form 2000px to 1900px. This seems to work okay!
Interesting - is that ok as a solution for now? I'll play with this locally until I can break it and fix it for our next version.
Let me know :)
As long as mo more problems occure this is okay for me. But it's worth an investigation.
Definitely - I appreciate your help!