• Resolved Alduras

    (@alduras)


    After updating to the newest version I got this failure message within my website:

    Warning: array_key_exists(): The first argument should be either a string or an integer in /srv/http/domain.com/wp-content/plugins/jetpack/modules/photon.php on line 183 Warning: array_key_exists(): The first argument should be either a string or an integer in /srv/http/domain.com/wp-content/plugins/jetpack/modules/photon.php on line 183 Warning: array_key_exists(): The first argument should be either a string or an integer in /srv/http/domain.com/wp-content/plugins/jetpack/modules/photon.php on line 183
    lakajira – the gorean Network

    I have the failure on the top of the site and within the post with the image

    https://www.ads-software.com/extend/plugins/jetpack/

Viewing 15 replies - 16 through 30 (of 44 total)
  • I’ve also had this one crop up on a few pages on one particular site with Photon enabled.

    So far, the only solution for me was to disable Photon until this gets patched, which will hopefully be soon ??

    FWIW, the site I was having the trouble with has the Super Cache plug-in running, so I’m wondering if this might have something to do with the issue at all!

    Same problem here. I disabled photon and works fine now of course.

    I also have the super cache plugin. Tons of others too so who knows.

    I’m seriously starting to think caching is at the heart of this; the site I had problems with (out of a good number running Photon/Jetpack) was the one that had Super Cache installed in tandem. All the others I admin were fine as far as I can see!

    I forgot to mention I also had the shrinking image issues as well.

    I did this and EVERYTHING WORKS FINE now.

    Try adding define(‘CONCATENATE_SCRIPTS’, false ); to the bottom of your wp-config.php file (just before the require_once line).

    Interesting!

    Keeping Photon enabled on the site I was experiencing the problem with, and using define(‘CONCATENATE_SCRIPTS’,false)l in wp-config.php seems to have fixed it for me too ??

    Same problem: https://www.omnomnomnivore.com/2012/12/05/nothing-i-make-ever-looks-like-the-picture/

    Disabling photon didn’t fix it either.
    ??

    I did this and EVERYTHING WORKS FINE now.

    Try adding define(‘CONCATENATE_SCRIPTS’, false ); to the bottom of your wp-config.php file (just before the require_once line).

    No error message after adding

    define('CONCATENATE_SCRIPTS', false );

    But images still appears smaller than I added to the website. Clicking on Images shows them full size but the embedded size is wrong.

    Same problem for me as Darba. Images are shrunk and aspect ratio isn’t even kept. A page refresh fixes it for me but that doesn’t help for my users.. :-/

    I am having the same problem “Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in [redacted]../test/wp-content/plugins/jetpack/modules/photon.php on line 183”.

    I am at a total standstill and don’t know how to resolve. I hope we can get to the bottom of this soon.

    To see how problem appears, see here https://test.adverscan.com/products/addex-cooperative-postcards/

    I did this and EVERYTHING WORKS FINE now.

    Try adding define(‘CONCATENATE_SCRIPTS’, false ); to the bottom of your wp-config.php file (just before the require_once line).

    I didn’t have the problem with the shrunken images, etc., but I didn’t activate photon.

    My hosting provider was able to suppress the error messages, but could not do anything to actually correct the root of the problem. Now, although the “Warning” messages are gone, what we are left with are – shrunken images. So the core problem with the jetpack plugin is really not fixed.

    Tell your hosting provider to go into the wp-config.php file and add the following line:

    define(‘CONCATENATE_SCRIPTS’, false );

    near the bottom, just before the line that starts with require_once.

    I was having same problem, but only on one page. I reinserted the image on the page using one of the WordPress resized images, and the error went away. I wonder if there was something corrupt in the original image. Strange.

Viewing 15 replies - 16 through 30 (of 44 total)
  • The topic ‘Photon Failure Messages in Header and Post’ is closed to new replies.