Bug Report - Brizy rendering fails if there is a closing tag missing inside of a codeblock/short code.
We are experiencing an issue where randomly certain images and certain styles won't load. The image doesn't 404 but it's rendering size is set as 0x0. It doesn't effect all images on the same page either. 
Also various styles and dropdown menus wont load. These links are supposed to be Black but it renders standard HTML link blue and the dropdowns don't function.
It seems very inconsistent. I can see it as it's supposed to be on the backend/brizy editor but on the front end it shows messed up.
Here's an example page, I've drawn arrows to the areas images are supposed to be but aren't loading.
Debugging Steps so far that have not worked.
- Flushing WP-Engine Cache
- Flushing local caches, multiple browsers, incognito
- Reset Server/Wordpress File Permissions
- Replacing the images with a freshly uploaded version
- Deleting the layout and recreating it.
- Updating Wordpress, Brizy and all other plugins.
- Disabling other image optimization plugins.
- Installed Really Simple SSL and set up mixed content fixes
None of these fixes work.
THE SOLUTION:
I finally figured out what the issue is. We use a plugin called "Business Hours Indicator" (https://wordpress.org/plugins/business-hours-indicator/) to display certain messages during and after business hours in our global header. Inside that plugin you can add custom HTML. We were missing a closing </strong> tag in that HTML so it looks like that some how cascaded and conflicted with the rest of Brizy's rendering process.
To confirm this is what was happening I used a different plugin "Header Footer Code Manager" to make a new shortcode with a missing closing strong tag. "<div style="text-align:center;"><strong style="color:#fff">Does this break Brizy?</div>"
While this isn't directly a Brizy issue in the fact that missing closing tags in HTML can cause a litany of issues; it would be an improvement if Brizy could add some error handling to check if a page is missing closing tags during the rendering process.
Cheers.
-
Hi Hayden,
Thank you for sharing your feedback. We're glad you were able to solve the issue on your own. We appreciate your suggestion about error handling for missing closing tags during the rendering process. We will consider this for future improvements.
Best regards,
Ariel H.0
Please sign in to leave a comment.
Comments
1 comment