layouts/joomla/content/full_image.php
use Joomla\CMS\HTML\HTMLHelper;
from the top.Whilst the page does show an error, the HTML markup is completely off and invalid.
If you inspect the source code, you'll notice the <head>
tags are empty, and all the markup inside the <body>
is wrapped inside <div class="com-content-article item-page" itemscope="" itemtype="https://schema.org/Article">
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
?
|
It's weird. It only happens when the error is in a layout
Yeah, definitely a bizarre one
Hey, I am working on this issue for the last 3-4 days and I made a few observations which are as follows:
components\com_content\tmpl\article\default.php
.default.php
file is using LayoutHelper
to render components like full_image
or info_block
.LayoutHelper
does is that It renders the whole error page when there is an error in the component.info_block
is executed before the full_image
component the info_block
comes before the error.@brianteeman if you have any suggestions for a solution, it would be a great help.
Regards
I dont think its related to the layouthelper as I have just come across the exact same thing with a plugin on the main template
Labels |
Added:
bug
|
I can not reproduce this in v5.1. Please confirm. Thanks.
Haven't tested in 5.x, but just an FYI that I raised this for 4.x, which I see is still in support.
Labels |
Added:
Information Required
Frontend Template
Removed: ? |
I also tested this on a few sites and can't replicate this anymore. I had this issue in the past as well, but since then it seems to have been fixed.
I could replicate this before but not now
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2024-04-04 19:13:37 |
Closed_By | ⇒ | Quy |
Closing as this is no longer reproducible by several people. Thanks.
confirmed