Illegal String Offset
-
Hi,
This warning came up on the bottom of one of my pages. I’m a wpbeginner & not sure why it is illegal or how to fix it. I’ve made no changes to the image.php in my wordpress theme. Here is the warning:
Warning: Illegal string offset ‘width’ in /home/robaid/kerosenechronicle.com/wp-content/themes/nishita-wpcom/image.php on line 56
Warning: Illegal string offset ‘height’ in /home/robaid/kerosenechronicle.com/wp-content/themes/nishita-wpcom/image.php on line 57
Here is the code I in the image.php file that the illegal string refers to:
$metadata[‘width’],
$metadata[‘height’],Can someone please help?
The blog I need help with is https://www.kerosenechronicle.com.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Illegal String Offset’ is closed to new replies.