Skip to content

PHP 8.4 #205

Description

@agoerzen-dbit

Hi,

it seems, that the app doesn't work with PHP 8.4:

2026/09/10 12:06:52 [error] 20298#20298: *285 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Declaration of Psr\Log\AbstractLogger::emergency($message, array $context = []) must be compatible with Psr\Log\LoggerInterface::emergency(Stringable|string $message, array $context = []): void in /var/www/nextcloud/apps/files_scripts/vendor/psr/log/Psr/Log/AbstractLogger.php on line 22" while reading response header from upstream, client: XX.XX.XX.XX, server: cloud.aha-region.de, request: "GET /remote.php/webdav HTTP/2.0", upstream: "fastcgi://unix:/run/php/php8.4-fpm.sock:", host: "XX.XX.XX.XX"

AI says:
The PHP fatal error occurs because a third-party Nextcloud app (files_scripts) bundles an outdated version of the psr/log library (Psr\Log\AbstractLogger) which is incompatible with the PHP 8.4 type hints and union types (Stringable|string and : void) expected by the current PSR Log interface or Nextcloud core environment.

BR,
Andreas

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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