79112493

Date: 2024-10-22 04:58:01
Score: 0.5
Natty:
Report link

Before you access the property of any array/object check whether it has value or not using isset or empty functions.

For an example

if(!empty($image_meta['width'])){ }

It will solve your problem!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dhruv Pandya