Hello,
I integrated Webp-drupal-7 module, with staff lib installed in root vendor, but whenever drupal encounter an error/warning/notice it's captured by vendor/rosell-dk/webp-convert/src/Convert/Converters/BaseTraits/WarningLoggerTrait.php at some point the error handler that is called is drupal_error_handler which need 5 arguments, but at line 121
return call_user_func($this->previousErrorHandler, $errno, $errstr, $errfile, $errline);
only 4 are sent to it hence the Error 500, have you encountered the same issue, any leads to how prevent this from happening?