Title: PHP errors on settings page
Last modified: February 15, 2019

---

# PHP errors on settings page

 *  [Rodrigo D’Agostino](https://wordpress.org/support/users/dt4ils/)
 * (@dt4ils)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-errors-on-settings-page/)
 * I’m receiving a series of weird error messages on the settings page (nothing 
   gets loaded except for the banner image on top of the errors):
 *     ```
       Notice: unserialize(): Error at offset 149 of 796 bytes in /public_html/wp-content/plugins/resmushit-image-optimizer/classes/resmushit.class.php on line 328
   
       Notice: unserialize(): Error at offset 90 of 655 bytes in /public_html/wp-content/plugins/resmushit-image-optimizer/classes/resmushit.class.php on line 328
   
       Notice: unserialize(): Error at offset 94 of 670 bytes in /public_html/wp-content/plugins/resmushit-image-optimizer/classes/resmushit.class.php on line 328
   
       Notice: unserialize(): Error at offset 96 of 676 bytes in /public_html/wp-content/plugins/resmushit-image-optimizer/classes/resmushit.class.php on line 328
   
       Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /public_html/wp-content/plugins/resmushit-image-optimizer/classes/resmushit.class.php on line 328
       ```
   
 * Are 128Mb not enough? :S

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

 *  Plugin Contributor [reSmush.it](https://wordpress.org/support/users/resmushit/)
 * (@resmushit)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-errors-on-settings-page/#post-11210379)
 * Hi DTails,
 * Thanks for your feedback, it seems that your picture library is pretty big. You’ve
   got 256M of memory limit on your PHP server, try to upgrade this value to 512M,
   it may help 🙂
 * Keep us posted,
    Cheers. Charles
 *  Thread Starter [Rodrigo D’Agostino](https://wordpress.org/support/users/dt4ils/)
 * (@dt4ils)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/php-errors-on-settings-page/#post-11211570)
 * Thanks, that did the trick 🙂 The thing is that now the settings page seems to
   be fully loading, but the error messages are still there :S
 *  [Ojay](https://wordpress.org/support/users/ojay/)
 * (@ojay)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-errors-on-settings-page/#post-11344646)
 * I have this issue too. I’ve a massive image library (16,000+ images) and have
   a few concerns about the plugin working with such a large library. These errors
   and the post about the plugin [eating server space](https://wordpress.org/support/topic/resmush-it-is-eating-server-space/)
   contributing to those concerns. I’ve increased the memory limit and the plugin
   is now working, but PHP errors remain.
 * As asked in the linked post, will there ever be an option to delete all the unsmushed
   images?
 *     ```
       Notice: unserialize(): Error at offset 331 of 478 bytes in yadda/yadda/resmushit-image-optimizer/classes/resmushit.class.php on line 328
       Notice: unserialize(): Error at offset 764 of 911 bytes in yadda/yadda/resmushit-image-optimizer/classes/resmushit.class.php on line 328
       ```
   
    -  This reply was modified 7 years, 2 months ago by [Ojay](https://wordpress.org/support/users/ojay/).

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

The topic ‘PHP errors on settings page’ 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/)

## Tags

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

 * 3 replies
 * 3 participants
 * Last reply from: [Ojay](https://wordpress.org/support/users/ojay/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/php-errors-on-settings-page/#post-11344646)
 * Status: not resolved