Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Image size breaks plugin which breaks entire site #81

Open
tristanwmartin opened this issue Apr 17, 2024 · 0 comments
Open

Image size breaks plugin which breaks entire site #81

tristanwmartin opened this issue Apr 17, 2024 · 0 comments

Comments

@tristanwmartin
Copy link

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant