I changed my PHP version to 8.0 and now receive these errors on a T4 website:

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

Warning: Attempt to read property "image_fulltext" on null in /...../htdocs/plugins/system/t4/themes/base/html/com_content/article/default.php on line 35`

I quickly checked and see that this was an issue reported here :

https://www.joomlart.com/forums/d/40598-t4-template-blank-1-1-4-is-error

I am using the t4_blank template. Version 1.1.4

As PHP 7.4 is now outdated in December, it would be good to use PHP 8.0+

If you need access to the website, I can supply details.

D.

Hmmm... I just tried PHP 8.1 and I don't get those errors.
I will use PHP 8.1.
This issues now resolved.
D.

Update - that was incorrect - I still have errors using PHP 8.1. Ignore last message please

I needed to wait for the changes to take effect.

Errors remain if I use PHP 8.0 or 8.1

D.

Line 35 in my default.php is:

$og_iamge = $images->image_intro ?: $images->image_fulltext;

You can share the super admin + ftp account of your site, I will check for you.

Write a Reply...
You need to Login to view replies.