Title: HTTP 500 Error
Last modified: April 17, 2018

---

# HTTP 500 Error

 *  [ddesk](https://wordpress.org/support/users/ddesk/)
 * (@ddesk)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/http-500-error-45/)
 * I’m trying to access the reSmush.it options page, but it’s getting me an HTTP
   500 error page.
 * Does this have to do with my PHP version? I’m currently on PHP 5.4 and I don’t
   see a minimum PHP version for this plugin (not sure if this matters or not).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttp-500-error-45%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [reSmush.it](https://wordpress.org/support/users/resmushit/)
 * (@resmushit)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/http-500-error-45/#post-10193187)
 * Hi ddesk,
 * IMO, PHP 5.4 doesn’t like some PHP functions of the plugin. Have a look at your
   PHP error file and copy/paste errors.
 * Best regards,
    Charles
 *  Thread Starter [ddesk](https://wordpress.org/support/users/ddesk/)
 * (@ddesk)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/http-500-error-45/#post-10196686)
 * I’m getting a bunch of errors on line 312, here’s one of them:
 * `PHP Warning: filesize(): stat failed for /var/www/vhosts/deleted.com/httpdocs/
   wp-content/uploads/2015/06/uw_07.jpg in /var/www/vhosts/deleted.com/httpdocs/
   wp-content/plugins/resmushit-image-optimizer/classes/resmushit.class.php on line
   312`
 * There was one on line 308:
 * `PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to 
   allocate 8208 bytes) in /var/www/vhosts/deleted.com/httpdocs/wp-content/plugins/
   resmushit-image-optimizer/classes/resmushit.class.php on line 308`
 *  Plugin Contributor [reSmush.it](https://wordpress.org/support/users/resmushit/)
 * (@resmushit)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/http-500-error-45/#post-10199152)
 * Hi,
 * On the first message, one of your picture has been deleted on the server, but
   is still referenced in the DB.
 * On the 2° error, your PHP memory_limit is set to 256M which can be a little short
   for your WordPress. Ask your host provider to increase this value to 384M.
 * Best regards,
    Charles

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

The topic ‘HTTP 500 Error’ is closed to new replies.

 * ![](https://ps.w.org/resmushit-image-optimizer/assets/icon-256x256.png?rev=3049668)
 * [reSmush.it : The original free image compressor and optimizer plugin](https://wordpress.org/plugins/resmushit-image-optimizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/resmushit-image-optimizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/resmushit-image-optimizer/)
 * [Active Topics](https://wordpress.org/support/plugin/resmushit-image-optimizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/resmushit-image-optimizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/resmushit-image-optimizer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [reSmush.it](https://wordpress.org/support/users/resmushit/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/http-500-error-45/#post-10199152)
 * Status: not resolved