strangerstudios / basic-user-avatars

Add an avatar upload field on frontend pages and on the Edit Profile screen so users and admins can manage custom profile pictures without Gravatar.
https://wordpress.org/plugins/basic-user-avatars/
39 stars 34 forks source link

Image size breaks plugin which breaks entire site #81

Open tristanwmartin opened 4 months ago

tristanwmartin commented 4 months ago

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