PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar samuelagus
samuelagus
21 Oct 2026

Pull Request resolves #48668

Summary of Changes

Change 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');
}

Testing Instructions

Create frontend Module Articles - Newsflash (Legacy)
Show Intro/Full Image: select Intro Image
Publish and Save the Module

Actual result BEFORE applying this Pull Request

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

Expected result AFTER applying this Pull Request

no warning

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar samuelagus samuelagus - open - 21 Oct 2026
avatar samuelagus samuelagus - change - 21 Oct 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Oct 2026
Category ⇒ Modules Front End
avatar samuelagus samuelagus - edited - 21 Oct 2026
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 - 22 Oct 2026
The description was changed
avatar samuelagus samuelagus - edited - 22 Oct 2026
avatar samuelagus samuelagus - edited - 22 Oct 2026
avatar chmst
chmst - comment - 23 Oct 2026

You have deleted the generative AI Policy. So your PR will not be approved.

avatar richard67 richard67 - change - 27 Oct 2026
Title
…
[J6.2] mod_articles_news Warning: Undefined property: stdClass::$image_intro_caption
[6.2] mod_articles_news Warning: Undefined property: stdClass::$image_intro_caption
avatar richard67 richard67 - edited - 27 Oct 2026
avatar bembelimen bembelimen - change - 31 Oct 2026
Status Pending ⇒ Closed
Closed_Date 0000-00-00 00:00:00 ⇒ 2026-10-31 21:26:01
Closed_By ⇒ bembelimen
Labels Added: PR-6.2-dev
avatar bembelimen bembelimen - close - 31 Oct 2026

Add a Comment

Login with GitHub to post a comment