• 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

    http://wordpress.org/extend/plugins/jetpack/

Viewing 15 replies - 1 through 15 (of 44 total)
  • Thread Starter Alduras

    (@alduras)

    P.S.
    With the version 2.0.2 I did not have that problem!

    Have exactly the same problem!

    Same problem for me at Isonomia.co.uk. I uninstalled Jetpack 2.04 and reinstalled 2.02, which resolved the issue. It’s comforting to hear that it isn’t just an oddity of the way my site is set up.

    Ditto for me

    Same here, I’ve disabled Photon until it’s fixed.

    I don’t know if its right, moved line 183 from Module/Photon.php } elseif ( isset( $size ) && array_key_exists( $size, $image_sizes ) && isset( $image_sizes[ $size ][‘crop’] ) ) {

    Same problem here. How to go about fixing it?

    Same problem here.
    http://www.brunocunha.com/blog/tecnologia/como-bloquear-propagandas-na-internet/

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

    Also, can’t insert media into post.

    I have had the same problem, and now I had to deactivate Jetpack all together. On top of the error, it shrunk my photos.

    Same problem here!!!

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

    im having the same issues on my site but only on a page template i’ve been coding.
    My issue is not site wide or at least that i can see, it only seems to appear on this particular page, and more so on the template i’ve created, i have turned of photon site wide and this has fixed the error, but im sure there is a fix or something ive not added to the code i should have.

    Does anyone know what triggers this error?

    i can show my code if that would help, im not the best coder so im guessing it’s something ive done, as i was saying it’s only appearing on a page ive created.

    <?php
    /*
    Template Name: MFRCode Sales Page Template
    */
    ?>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title><?php bloginfo('name'); ?> - <?php the_title();?></title>
    <link href="<?php bloginfo('stylesheet_directory')?>/mfrcode-salespage.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="Content-Language" content="en">
    <meta name="description" content="<?php bloginfo('description'); ?>">
     </head>
    <body>
    <div id="contenttop"></div>
    <div id="contentmid">
    <!----MFRCODE  Post php below-----!>
      <div id="contentcontainer">
    <div id="content" class="widecolumn">
     <?php if (have_posts()) : while (have_posts()) : the_post();?>
     <div class="post">
     <div class="entrytext">
      <?php the_content('<p class="serif">Read the rest of this page »</p>'); ?>
     </div>
     </div>
     <?php endwhile; endif; ?>
     <?php edit_post_link('Edit <---', '<p>', '</p>'); ?>
    </div>
    </div>
    <div id="text-bottom" align="center">
    <!----MFRCODE  Add your copyright info and site footer info below this line-----!>
    Copyright © <?php _e(date('Y')); ?> <a href="<?php echo home_url('/') ?>" title="<?php echo esc_attr(get_bloginfo('name', 'display')); ?>"><?php bloginfo('name'); ?></a> All Rights Reserved
    <br><font size="2"><?php bloginfo('description'); ?></font>
    <!----MFRCODE  DESIGN CREDIT MUST STAY INTACT UNEDITED OR TOUCHED IN ANYWAY OR YOUR SITE WILL RECIVE NO SUPPORT FROM US AND WILL BE CONSIDERED THEFT OF OUR WORK HTTP://RANDELLMONAGHAN.ME-----!>
    <br>
     <font size="1">WordPress Custom Sales Page Designed By: <a href="http://randellmonaghan.me" target="_blank">Randell Monaghan</a> | Proudly Powered By: <a href= "http://wordpress.org">WordPress</a></font>
      </div>
    </div>
    <div id="contentbottom"></div>
    </body>

    here’s a link to the page also i’ll turn photon on again just incase someone can help fix this.

    here is the troubled page

    thanks in advance everyone.

    p.s im a super messy coder so dont laugh lol.

    Getting the same on my pages:

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

    Any ideas pls.

    I have had the same problem…
    Deactivate the Photon Jetpack plugin would fix the issue.
    (click on “learn more” and the “deactivate” button will appear)

    I am having the same issue, selectively on just 2 of the pages in my site. Deactivating Photon has fixed this for now, but it would be much better to see the issue resolved.

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