WordPress.org

Forums

Resize Image After Upload
Only works for Administrators (2 posts)

  1. teejmonster
    Member
    Posted 1 year ago #

    This plugin works wonders for our administrators. Our non-administrators (Editors / Authors) are unable to upload images at all due to an error in the plugin that only occurs for non-admins.

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4800 bytes) in /wp-content/plugins/resize-image-after-upload/class.resize.php on line 278

  2. imageDESIGN
    Member
    Posted 1 year ago #

    Having a similar issue on one of my sites as well. Just suddenly started giving the error this week though and only to Editors - Admin can upload the same photo without error. The plugin has been active for some time and other WP sites with this plugin seem unaffected.

    PHP Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 18368 bytes) in /wp-content/plugins/resize-image-after-upload/class.resize.php on line 183

    I solved this by adding the following to wp-config.php:
    define('WP_MEMORY_LIMIT','1024M');

    You may not need quite that much, but it does work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Resize Image After Upload
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.