PHP Warning: Attempt to read property "class" on null
1 year 2 months ago #70142
by Udo
PHP Warning: Attempt to read property "class" on null was created 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):
This is line 368:
How do I get rid at those warnings?
Thanks,
Udo
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.
1 year 2 months ago #70143
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic PHP Warning: Attempt to read property "class" on null
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
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.196 seconds