Skip to content

Any warning or notice message captured by WarningLoggertrait cause Fatal Error #2

@Canguilhem

Description

@Canguilhem

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions