Title: PHP Error
Last modified: August 20, 2016

---

# PHP Error

 *  Resolved [crashtron](https://wordpress.org/support/users/crashtron/)
 * (@crashtron)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/php-error-28/)
 * Hello,
 * thanks for the great plugin. Unfortunately, I get the following PHP error.
 *     ```
       [Tue Nov 27 18:07:03 2012] [error] [client xx ] PHP Warning:  getimagesize(/is/htdocs/wp1005188_JGINO5P2OW/domain.com/wp-content/uploads//is/htdocs/wp1005188_JGINO5P2OW/domain.com/wp-content/uploads/2012/11/smartcover-aktuell5.jpg): failed to open stream: No such file or directory in /is/htdocs/wp1005188_JGINO5P2OW/gdgts.de/wp-content/plugins/wp-retina-2x/wr2x_vt_resize.php on line 11, referer: http://gdgts.de/wp-admin/upload.php?page=wp-retina-2x&view=issues
       ```
   
 * I could see that the directory that get passed to getimagesize is somehow doubled.
   Perhaps someone could help me with this.
 * Thanks
    crash
 * [http://wordpress.org/extend/plugins/wp-retina-2x/](http://wordpress.org/extend/plugins/wp-retina-2x/)

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

 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/php-error-28/#post-3223423)
 * Strange issue, I never got it. May I ask why your upload folder is so odd and
   long? Is really the file at this emplacement?
 *  Thread Starter [crashtron](https://wordpress.org/support/users/crashtron/)
 * (@crashtron)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/php-error-28/#post-3223424)
 * `/is/htdocs/wp1005188_JGINO5P2OW/`
 * This first part is set by my hoster. It is the directory where my files are in
   the webserver’s file system.
 * The rest is for my blog domain (I host more than one on the server) and the default
   WordPress structure.
 * Perhaps the error has something to do with my variable definition in the wp-config.
   php
 *     ```
       define("WP_CONTENT_URL", "http://domain.com/wp-content");
       define("WP_CONTENT_DIR", "/is/htdocs/wp1005188_JGINO5P2OW/domain.com/wp-content");
       ```
   
 * Perhaps you could fix this with the next release.
 * Thanks a lot
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/php-error-28/#post-3223425)
 * It’s clearly related to that. Okay, I understand the issue and I can provide 
   a fix to this. It’s not major so I will provide a fix only for the next release.
 *  Thread Starter [crashtron](https://wordpress.org/support/users/crashtron/)
 * (@crashtron)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/php-error-28/#post-3223426)
 * Great to hear! Thanks a lot.
 * On question: Could I use W3 Total Cache with CDN and the server side method of
   WP Retina?
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/php-error-28/#post-3223428)
 * No problem with the client-side but… for the server-side I doubt it, you probably
   need to tweak W3 Total Cache options for that (which is probably easy to do).
   Spend one hour working on it and it will work I think!
 *  Thread Starter [crashtron](https://wordpress.org/support/users/crashtron/)
 * (@crashtron)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/php-error-28/#post-3223485)
 * Hi Jordy,
 * did one of the new version should fix the error?
 * Today I gave the plugin a new chance and I get this error:
 *     ```
       [Sat Dec 22 15:02:09 2012] [error] [client 37.201.7.58] PHP Fatal error:  Call to undefined method WP_Error::resize() in /is/htdocs/my_home_dir/mydomain.de/wp-content/plugins/wp-retina-2x/wr2x_vt_resize.php on line 20, referer: http://mydomain.de/wp-admin/upload.php?page=wp-retina-2x&view=issues&refresh=true
       ```
   
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/php-error-28/#post-3223493)
 * Sorry, did you have a chance to try again?

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

The topic ‘PHP Error’ is closed to new replies.

 * ![](https://ps.w.org/wp-retina-2x/assets/icon-256x256.png?rev=2597316)
 * [Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF](https://wordpress.org/plugins/wp-retina-2x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-retina-2x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-retina-2x/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-retina-2x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-retina-2x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-retina-2x/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 7 replies
 * 2 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/php-error-28/#post-3223493)
 * Status: resolved