basic-user-avatars icon indicating copy to clipboard operation
basic-user-avatars copied to clipboard

Image size breaks plugin which breaks entire site

Open tristanwmartin opened this issue 1 year ago • 0 comments

As a test I had uploaded an image of 4,603,992 bytes (dimensions: 6942px x 4474px) using the [basic-user-avatars] shortcode.

this immediately led to a fatal error on the entire site I am working on, including admin pages. Only way to fix is to remove the plugin from \app\public\wp-content\plugins. Reactivating basic user avatars brings back the error.

Error recieved:

Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 28672 bytes) in C:\Users\[myuser]\Local Sites\[mysite]\app\public\wp-includes\class-wp-image-editor-gd.php on line 123

tristanwmartin avatar Apr 17 '24 21:04 tristanwmartin