WordPress.org

Forums

Warning: array_key_exists() (7 posts)

  1. nahin
    Member
    Posted 2 years ago #

    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!

  2. Pioneer Web Design
    Member
    Posted 2 years ago #

    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)

  3. ricardusexa
    Member
    Posted 2 years ago #

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

  4. Pioneer Web Design
    Member
    Posted 2 years ago #

    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...

  5. nahin
    Member
    Posted 2 years ago #

    thnx.

  6. Ollie Ford
    Member
    Posted 2 years ago #

    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.

  7. wvrijn
    Member
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic