• Resolved goodvibesonlyb

    (@goodvibesonlyb)


    Hello,

    I’ve been having issues with Plugin: post-and-page-builder, and the two errors that are giving me are:

    Warning (Suppressed): DOMDocument::loadHTML(): Tag article invalid in Entity, line: 73

    Warning (Suppressed): DOMDocument::loadHTML(): Tag section invalid in Entity, line: 74

    I’ve tried a lot of stuff to fix it through finding similar problems like this, and I give up.

    How can I fix these errors?

    The theme I’m using is Feminine Pro by Volthemes.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Jesse Owens

    (@jessecowens)

    Hello @goodvibesonlyb

    Thanks for the question, I’m sorry to hear about the errors you’re seeing.

    The error messages you have listed here are related to PHP’s XML parsing library not recognizing the HTML5 tags for <article> and <section>. Both of these tags are common in WordPress themes, and are valid HTML5 markup, but PHP uses a stricter XML parsing library.

    The Post and Page Builder itself doesn’t actually use these tags unless you’ve manually entered them into your post content, those are normally tags that are a part of the theme itself.

    All that being said, these are only warnings and shouldn’t actually be causing any noticeable problems for you. Can you describe the issues you’re experiencing, and the steps you take to get to the problem?

    Thread Starter goodvibesonlyb

    (@goodvibesonlyb)

    Hello,

    I’m having issues with my website with fonts and also layout shifts. Here are the pictures. I’m trying to figure out how to fix them.

    https://ibb.co/qj5n2CW

    https://ibb.co/gMgcs8c

    https://ibb.co/Cpdv0K2

    https://ibb.co/4ddTTRr

    Plugin Support Jesse Owens

    (@jessecowens)

    Hi @goodvibesonlyb

    Thanks for the screenshots, that’s very helpful!

    It looks like the two main issues you’re seeing here are swapping your fonts to avoid a Flash of Invisible Text (FOIT), and eliminating render-blocking CSS.

    I noticed from looking at your site that you’re using the Hummingbird plugin for performance. You can use Hummingbird to eliminate the render-blocking CSS files (from the second screenshot). Here’s their documentation on how to do this.

    Swapping the fonts may be trickier, and the Support team at Volthemes may be able to provide better guidance than we can. Since that’s a commercial theme, I can’t try it out or see the code to give you exact instructions. I did check their documentation on Fonts, and I didn’t see an option to enable swapping the font.

    As for the two errors from Post and Page Builder, you can safely ignore those. You can see in the error message that they are (Suppressed), which means we expect to see some warnings running the XML parser.

    Plugin Support Jesse Owens

    (@jessecowens)

    Hello-

    It’s been a few weeks since we heard back, so I’m marking this topic as resolved, but please let us know if you’re still having any trouble, we’re happy to help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Errors’ is closed to new replies.