Title: Wrong size loaded &amp; Php errors
Last modified: August 22, 2016

---

# Wrong size loaded & Php errors

 *  Resolved [dapickboy](https://wordpress.org/support/users/dapickboy/)
 * (@dapickboy)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/)
 * Hi !
    Since I updated today for 1.7.1, some of my posts load only the thumbnail
   size of images. Well, only some images, I think it’s the littlest ones.
 * And the php console throw a lot of errors. For each image trying to load I get:
   “
   stderr: PHP message: PHP Warning: Illegal string offset ‘width’ in /data/bas/
   site/fr/wp-content/plugins/responsify-wp/includes/create_responsive_image.php
   on line 58” and “stderr: PHP message: PHP Warning: Illegal string offset ‘height’
   in /data/bas/site/fr/wp-content/plugins/responsify-wp/includes/create_responsive_image.
   php on line 59”.
 * Do you have some ideas about that ?
 * [https://wordpress.org/plugins/responsify-wp/](https://wordpress.org/plugins/responsify-wp/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [stefanledin](https://wordpress.org/support/users/stefanledin/)
 * (@stefanledin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/#post-5844828)
 * Hi dapickboy!
    First, thanks for pointing out this issue! 🙂 You say that this
   only happens to some images? Does they have anything in common? Like, is the 
   original images smaller than the `large` size?
 *  Thread Starter [dapickboy](https://wordpress.org/support/users/dapickboy/)
 * (@dapickboy)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/#post-5844861)
 * Hey, sorry, I think I should have thank you first for this great plugin :))
 * Yes, that’s what I meant. I think it only concern images that original size is
   below the ‘large’ size declared in WP options, maybe even smaller than the medium
   size.
 *  Plugin Author [stefanledin](https://wordpress.org/support/users/stefanledin/)
 * (@stefanledin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/#post-5844879)
 * 😀 Tell your friends 😉
 * Okey, good, then I know what the problem is. The plugin is looking for the full
   size image at line 58 and 59. I’ll take a look at it during the weekend, so expect
   an update soon 🙂
    Meanwhile, you can always download 1.7.0 [again from here](https://downloads.wordpress.org/plugin/responsify-wp.1.7.0.zip).
 *  Thread Starter [dapickboy](https://wordpress.org/support/users/dapickboy/)
 * (@dapickboy)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/#post-5844887)
 * OK, so, I’ll go back to 1.7.0.
    Thanks a lot !
 *  Plugin Author [stefanledin](https://wordpress.org/support/users/stefanledin/)
 * (@stefanledin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/#post-5844893)
 * I’m trying to recreate the scenario now. I see that only the thumbnail size is
   loaded and not the original. But I don’t get any PHP error though! I’ve tried
   on PHP 5.6, 5.5, 5.4 and 5.3.
    Which PHP version and WordPress version are you
   using? Apache or Nginx?
 *  Thread Starter [dapickboy](https://wordpress.org/support/users/dapickboy/)
 * (@dapickboy)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/#post-5844894)
 * We’re on an Apache server, with Nginx reverse-proxy and PHP 5.4.33 (and 64bitOS,
   but I don’t think it’s the point here).
 *  Plugin Author [stefanledin](https://wordpress.org/support/users/stefanledin/)
 * (@stefanledin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/#post-5844933)
 * [This version](https://github.com/stefanledin/responsify-wp/archive/1-7-2.zip)
   should include the original image size. Would you mind trying it out and confirm
   that it works for you to?
    I have no idea why you’re getting the PHP errors though,
   but I hope this fix solves both problems 🙂
 *  Thread Starter [dapickboy](https://wordpress.org/support/users/dapickboy/)
 * (@dapickboy)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/#post-5844972)
 * Hi ! Sorry for the delay, but you’ll be happy to hear that it seems to be fixed
   🙂
    I tested it locally (same set-up), and it work great. Do you advise me to
   install it on the prod server or wait till you push an update ?
 * Again, thanks a lot !
    G.
 *  Plugin Author [stefanledin](https://wordpress.org/support/users/stefanledin/)
 * (@stefanledin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/#post-5844973)
 * Great! 😀
    Yes you can do that if you want. It’s the version I’ll push out later
   today.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Wrong size loaded & Php errors’ is closed to new replies.

 * ![](https://ps.w.org/responsify-wp/assets/icon-256x256.png?rev=1209208)
 * [Responsify WP](https://wordpress.org/plugins/responsify-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsify-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsify-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/responsify-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsify-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsify-wp/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [stefanledin](https://wordpress.org/support/users/stefanledin/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/wrong-size-loaded-php-errors/#post-5844973)
 * Status: resolved