Panneau N0C 04 EN 250 250
Get 15% discount on our partner PlanetHoster with the code PHA-ceikay

PHP Warning: Attempt to read property "class" on null

More
3 years 2 weeks ago #70142 by Udo
Hi,
I just update to Joomla 4 and installed Easy Image Caption latest version (1.0.7)
Now the error_log shows a lot of these PHP warnings (PHP 8.1.25):
Code:
PHP Warning: Attempt to read property "class" on null in /XXXXXX/public_html/plugins/content/easyimagecaptionck/easyimagecaptionck.php on line 368

This is line 368:
Code:
if($e->parent()->class != 'easy_img_caption' AND $e->parent()->parent()->class != 'easy_img_caption') {

How do I get rid at those warnings?

Thanks,
Udo

 

Please Log in or Create an account to join the conversation.

More
3 years 2 weeks ago #70143 by ced1870
Hi
thank you for your feedback, I will check that
for now go in your website config >> server >> php report >> set it to NONE
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.185 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 616 guests and no members online