No Code Attached Yet Information Required bug
avatar samuelagus
samuelagus
21 Oct 2026

What happened?

I'm adding mod_articles_news in frontend to show some articles in my home page horizontally.
Each of article have an Intro Image.

Articles - Newsflash (Legacy) configuration >> Show Intro/Full Image: I select Intro Image
then publish the module.

Version

6.2

Expected result

There is no warning

Actual result

There are PHP warning shown at above of the frontend article news module:

Warning: Undefined property: stdClass::$image_intro_caption in /home/*******/public_html/modules/mod_articles_news/src/Helper/ArticlesNewsHelper.php on line 165

System Information

Joomla 6.2!
PHP 8.4

Additional Comments

Articles - Newsflash (Legacy) configuration >> Show Intro/Full Image : if I select Full Image , then no warning shown.

I suggest to edit modules/mod_articles_news/src/Helper/ArticlesNewsHelper.php on line 165:
from

if ($images->image_intro_caption) {
   $item->imageCaption = htmlspecialchars($images->image_intro_caption, ENT_COMPAT, 'UTF-8');
}

to

if (isset($images->image_intro_caption)) {
   $item->imageCaption = htmlspecialchars($images->image_intro_caption, ENT_COMPAT, 'UTF-8');
}
avatar samuelagus samuelagus - open - 21 Oct 2026
avatar joomla-cms-bot joomla-cms-bot - change - 21 Oct 2026
Labels Added: No Code Attached Yet bug
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Oct 2026
avatar samuelagus samuelagus - change - 21 Oct 2026
The description was changed
avatar samuelagus samuelagus - edited - 21 Oct 2026
avatar samuelagus samuelagus - change - 21 Oct 2026
The description was changed
avatar samuelagus samuelagus - edited - 21 Oct 2026
avatar samuelagus samuelagus - change - 21 Oct 2026
Title
…
[J6.2] mod_articles_news Warning: Undefined property: stdClass::$image_intro_caption in
[6.2] mod_articles_news Warning: Undefined property: stdClass::$image_intro_caption in
avatar samuelagus samuelagus - edited - 21 Oct 2026
avatar chmst
chmst - comment - 23 Oct 2026

You should not use the old module but always the new mod_articles.
I am unable to replicate the issue, maybe you have an override for this module?

avatar QuyTon QuyTon - change - 27 Oct 2026
Labels Added: Information Required
avatar QuyTon QuyTon - labeled - 27 Oct 2026

Add a Comment

Login with GitHub to post a comment