Support » Fixing WordPress » Warning: array_key_exists()

  • Hello,

    I am getting this error message in my Home Page.

    Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/u399248122/public_html/wp-content/plugins/jetpack/modules/photon.php on line 224

    Can Anyone know how to fix this?
    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You are likely seeing a compatibility issue with Jetpack and your theme or another plugin…to test deactivate all plugins, activate jetpack, if site then has no errors, it’s a plugin, if it does, it’s your theme…(above all assumes latest version of WP and jetpack are in use)

    Try to delete the plugin and see if the problem persist.

    The correct procedure is to deactivate a plugin, then delete (if using front end)…for troubleshooting, renaming the plugin folder can allow you to remove errors that limit site access or functionality…

    thnx.

    I’ve had to deactivate Photon.

    On any post that begins with an image aligned to the left, and text on its right, I get the same error as above, except on line 183.

    If the post begins with a centred image, and text below, there is no issue.

    I hope this can be fixed soon.

    I’ve just upgraded to WordPress 3.5 and got now the same warning:

    Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in xxxx/wp-content/plugins/jetpack/modules/photon.php on line 183

    As Ollie said, my post begins with an image aligned to the left. I’m going to change that page till it is fixed.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Warning: array_key_exists()’ is closed to new replies.