illegal string offset

  • Unknown's avatar

    Hi,

    This warning came up on the bottom of one of my pages. I’m a wpbeginner & don’t know 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: (visible only to logged in users)

  • Unknown's avatar

    Hi. You are in the wrong forum.
    This forum is only for blogs/sites hosted by WordPress.com
    WordPress.COM and WordPress.ORG are completely separate and different http://support.wordpress.com/com-vs-org/

    And you should ask in the WordPress.org forum.
    http://wordpress.org/support/

  • Unknown's avatar

    Wrong site. Cheers.

  • The topic ‘illegal string offset’ is closed to new replies.