Archived topic
Content appears double
11 replies · Started by Inga on June 15, 2020
Hi there,
I'm using sections on one of my pages. Suddenly the content of my sections appeared double as a "normal wordpress content" before the sections content...
I cant delete the copy, it doesn't even appear in the backend.
I don't have a clue whats going on here. I cleared the cache a thousand times and deactivated all plugins. No success.
Any ideas?
Hi there,
That's strange.
I'm seeing repeated sections here:
https://www.screencast.com/t/MJ9LSbU6vhTI
Any chance you can disable all plugins except GP Premium to eliminate conflicts from other plugins first?
Let me know :)
Hi Leo,
thanks for the reply. I already deactivated all plugins and now all except GP Premium. Same Problem.
Really weird...
Maybe the PHP error log is helpful? I don't understand PHP but an error seems to appear in GP premium plugin:

Hi there,
which version of GP Premium are you using ?
1.10.0
Are you using any GP Hook Elements ?
Yes. But no special hook on this site. Only side-wide hooks.
That PHP error is due to some code in one of your hooks. That function they mentioned is added to a hook but it's not defined anywhere.
As for Sections - can you take a screenshot of the editor for us? Never seen repeating sections like this before without being visible in the back-end.
Hi Tom,
here's the screenshot of my editor:

Every section I add appears two times in the frontend.
Maybe we'll never find out what went wrong there and I have to build that page from scratch again... but thanks for your patience!
Hi everybody,
with the new page it happened again and now I could figure out the problem:
I had copied content from another wordpress site that doesn't use sections, so I had still some gutenberg tags inside like this:
<!-- wp:preformatted -->
I deleted this tag and everything got normal again, the double content disappeared.
Glad to hear you found the issue - and thanks for sharing the reason !