Skip to content

Update PHP from 7.4.14 to 8.0.1 breaks PDO::query #3403

@MrPeacockGmail

Description

@MrPeacockGmail

After major update on Arch Linux from 7.4.14 to 8.0.1 my lovely Freshrss 1.17.0 stopped working.

PHP message: PHP Fatal error:  Declaration of MinzPDO::query($statement) must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in /usr/share/webapps/freshrss/lib/Minz/ModelPdo.php on line 159" while reading response header from upstream, client: 88.88.88.88, server: freshrss, request: "GET /i/ HTTP/2.0", upstream: "fastcgi://unix:/run/php-fpm/php-fpm.sock:", host: "freshrss", referrer: "https://freshrss/

after downgrading...

Package (5)  Old Version  New Version  Net Change

php          8.0.1-1      7.4.14-1      -0.95 MiB
php-embed    8.0.1-1      7.4.14-1      -1.10 MiB
php-fpm      8.0.1-1      7.4.14-1       0.00 MiB
php-gd       8.0.1-1      7.4.14-1       0.00 MiB
php-intl     8.0.1-1      7.4.14-1       0.00 MiB

and restarting php-fpm Freshrss works as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions