Investigate missing parameters in xhr_cropagain
$dst_r and $img_r seem to be undefined. But there's a check directly above, so that seems weird.
https://sentry.io/foodsaving-worldwide/foodsharingde-production/issues/476570308/
ErrorException: imagecopyresampled() expects parameter 2 to be resource, null given
File "src/Lib/Xhr/XhrMethods.php", line 694, in handleError
imagecopyresampled($dst_r, $img_r, 0, 0, $data['x'], $data['y'], $targ_w, $targ_h, $data['w'], $data['h']);
File "vendor/sentry/sentry/lib/Raven/ErrorHandler.php", line 0, in imagecopyresampled
Raven_ErrorHandler->handleError
File "src/Lib/Xhr/XhrMethods.php", line 694, in xhr_cropagain
imagecopyresampled($dst_r, $img_r, 0, 0, $data['x'], $data['y'], $targ_w, $targ_h, $data['w'], $data['h']);
File "xhr.php", line 45
echo $xhr->$func($_GET);