fatal error in PHP8+ for PHPFFMpegLogger::emergency

Created on 24 October 2024, 23 days ago

After upgrading to PHP 8.2, I get

PHP Fatal error: Declaration of PHPFFMpegLogger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void in docroot/sites/all/modules/contrib/php_ffmpeg/includes/PHPFFMpegLogger.inc on line 25

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇦🇺Australia skyejohnson Sunshine Coast, Australia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @skyejohnson
  • 🇮🇳India sarwan_verma

    Hi,

    I have resolved the "fatal error in PHP 8+ for PHPFFMpegLogger::emergency" issue and also created a patch, which I have attached.
    Please review and verify it.

    Thanks!

Production build 0.71.5 2024