There has been an error cropping your image

Question

I’ve searched quite a bit and every single article seems to suggest the same thing, which I’ve tried to no avail.

I’ve already tried installing php7.4-gd. it did not fix the issue.

I tried adding this snippet to my functions.php file:

add_filter('wp_image_editors', 'wpse303391_change_graphic_editor');
function wpse303391_change_graphic_editor($array)
{
    return array('WP_Image_Editor_GD', 'WP_Image_Editor_Imagick');
}

Neither of these have fixed my issue.

I’m running XAMPP on debian. I imagine it has something to do with permissions because it’s linux and 99% of all linux issues end up being permissions.

I got php 7.4.13

0
Santiago Welbes 1 month 0 Answers 5 views 0

Leave an answer