Archived topic
Duplicate entry header on posts
8 replies · Started by upsilva1982 on April 23, 2021
Hi, am expriencing the follow issue: It is being generated, a escond post “entry-header”, inside a post.
I m using 1.12.3 – 2.0.0.rc.3 update.
the issue can be analysed here: botidou
Can you please tel me how can i fix this ?
thanks a lot
Hi there,
Strange - it looks like the post is being hooked into itself.
Any active GP Elements? If so, what happens if you draft them one by one?
hi, yeah it looks like so.
Nop no any GP elements at all.
Any other sugestions ?
It looks like somewhere and somehow, it is building up another post inside The creating post...
Thanks a lot, in advance.
Super strange indeed.
Have you modified the theme's core files at all?
Any custom functions added?
What happens if you disable GP Premium?
when deactivated GP premium, the problem maintains. the costumized functions i have, are canonicals related and off canvas main menu hook. costumized several core files, to add specific strocture css only. i nticed the issue, only after updating to 2.0.0.rc.3. i posted 3 articles with no problem, updated the plugin, and in the next day, went to new articles, and this error was there. is there any new roles or features on this update, that are post related? thanks a lot in advance.
The issue can't be related to GP Premium if it persists with it deactivated.
There are three possibilities that I can see here:
1. One of your custom functions is doing it.
2. One of your other plugins is doing it.
3. A modification to the core theme/child theme is doing it.
You'll need to go through and deactivate each one of those one by one to find the culprit.
hi, I logged into the WordPress Database and into "wp_posts" table, in one of the various entries (on the same post, -featured image entry-), i changed the value of the column "post_type" from 'attachment' to 'revision' and "post_mime_type" from 'image/png' to '' [empty].
Refreshed the post, and the featured image of the post apears normally, and the problem is solved. But somehow, it went to there.
And the core files edited were functions.php(canonical methods and rank maths filters) and archives.php. Replaced every single one of the edited core files with original ones. And the problem maintains. It looks like some source of whitchary.
Anu ideas on what probably went wrong ?
Thanks a lot fr the support, so far.
Not really sure what could have caused it.
Personally, I wouldn't touch any of the core theme files. If anything, you'd want to use a child theme.
Then you can disable your child theme templates one by one to see if the error is coming from one of them.
For those who eventually experience the same problem, verified here, is the information that it has been solved, in a next update. Do the following (after the update):
(from the post in question)
1-Remove the "featured image".
2-Add the same image again, but with a different name.
3- Save / update the post and you will see that it is normal.
To the whole team, a big thanks for the support given.
Keep up the great work, very excellent.!