Skip to main content

WP double HTML HEAD output

Comments

5 comments

  • Alex

    Hi,

    It is not a known issue, but it has also been reported by a user. We cannot replicate this on our side: https://jmp.sh/dPeRQXJ

    Could you help us with more details? So you have TwentyTwenty, you created a Brizy page and when you look for the code you have two <head> tags? No external plugins and latest versions of Brizy - Free 2.0.14 and PRO 2.0.7?

    0
  • Yves Van Broekhoven

    Hi Alex,

    after a bit of research I found the issue. It is caused by an update in the Brizy plugin:

    I tested it on following setup:

    • PHP 7.4
    • fresh Wordpress install (v5.5.1)
    • theme: TwentyTwenty
    • plugin: Brizy v2.0.14
    • plugin: Brizy Pro 2.0.7

    IThen I just created a brizy page, you can add some Brizy blocks but it's not even necessary to replicate the bug. Just save the page and check the output in front end.

    I created a pull request on Github with a possible fix:

    Let me know if you were able to replicate the issue.

    Best,

    Yves

    0
  • Alex

    Hi Yves,

    Thanks for your involvement. I noticed that this does not appear when you use Inspect Element but you can see two <head> tags when you use "View Page Source". I have already sent all these details to the devs.

    0
  • Yves Van Broekhoven

    Hi Alex,

    I saw that there was a fix commited and released:

    https://github.com/ThemeFuse/Brizy/pull/1677#issuecomment-720099645

    0
  • Alex

    Hi,

    Yes, it was fixed the next day you sent the suggestion. I'm not sure if the same solution was used, but you certainly helped fix this. I saw your comment on GitHub and I don't know exactly what happened. I will send a notification to devs accordingly.

    Thank you for your attitude.

    0

Please sign in to leave a comment.