error on article page: "image_intro" on null..." Topic is solved

Everything to do with Joomla! 3.x templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
poptop
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Dec 07, 2009 1:07 am

error on article page: "image_intro" on null..."

Post by poptop » Fri Dec 16, 2022 1:58 am

I don't understand this error code on an article page:

Code: Select all

Warning: Attempt to read property "image_intro" on null in /home/my website/plugins/system/t4/themes/base/html/com_content/article/default.php on line 35

Code: Select all

Warning: Attempt to read property "image_fulltext" on null in /home/mywebsite/plugins/system/t4/themes/base/html/com_content/article/default.php on line 35
The article content was transferred from an earlier version of Joomla install (1.5) that had a "read more" tab on the category page that expanded the article.

Do I need to us an FPA to get help with this?

Thanks.
Last edited by toivo on Fri Dec 16, 2022 3:42 am, edited 1 time in total.
Reason: mod note: moved from 3.x Migrating and Upgrading

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17443
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: error on article page: "image_intro" on null..."

Post by toivo » Fri Dec 16, 2022 3:46 am

Those warnings will disappear if you change Error Reporting in Global Configuration to 'None', but are the articles displayed all right?

How were the articles tranferred from Joomla 1.5 to Joomla 3.x?

Please post the results from the FPA so that the configuration can be reviewed.
Toivo Talikka, Global Moderator

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2909
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: error on article page: "image_intro" on null..."

Post by SharkyKZ » Fri Dec 16, 2022 8:10 am

Don't bother with FPA spam. First, update T4 plugin to the latest version, if you haven't done that yet. If issue persists, report it to the plugin developers. Essentially, their layout override does not consider that image object may not be populated. This can happen in some cases, for example, when submitting the article in frontend with "Frontend Images and Links" option disabled.

poptop
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Dec 07, 2009 1:07 am

Re: error on article page: "image_intro" on null..."

Post by poptop » Fri Jan 20, 2023 4:32 pm

SharkyKZ,
Yes, it was the template developer. They fixed it in my instance. Hopefully they will add that fix to the next update so it doesn't get overwritten when I update. :)


Locked

Return to “Templates for Joomla! 3.x”