Skip to content

[Bug] BIGINT considered as string on a 32-bit platform #9485

Closed

Description

@darodi

Describe the bug

I've just updated to the last version and I get BIGINT converted as string errors.
I'm unable to login.

More or less the same issue as before in the previous ticket

cf.

#7374

Alkarex@d8fe1b7

PHP Fatal error:  Uncaught TypeError: FreshRSS_Feed::_error(): Argument #1 ($value) must be of type int, string given, called in /var/www/FreshRSS/app/Models/FeedDAO.php on line 731 and defined in /var/www/FreshRSS/app/Models/Feed.php:567

�
Stack trace:

#0 /var/www/FreshRSS/app/Models/FeedDAO.php(731): FreshRSS_Feed->_error()

#1 /var/www/FreshRSS/app/Models/FeedDAO.php(469): FreshRSS_FeedDAO::daoToFeeds()

#2 /var/www/FreshRSS/app/Controllers/feedController.php(479): FreshRSS_FeedDAO->listFeedsOrderUpdate()

#3 /var/www/FreshRSS/app/Controllers/feedController.php(1005): FreshRSS_feed_Controller::actualizeFeeds()

#4 /var/www/FreshRSS/lib/Minz/Dispatcher.php(122): FreshRSS_feed_Controller->actualizeAction()

#5 /var/www/FreshRSS/lib/Minz/Dispatcher.php(48): Minz_Dispatcher->launchAction()

#6 /var/www/FreshRSS/lib/Minz/FrontController.php(63): Minz_Dispatcher->run()

#7 /var/www/FreshRSS/app/actualize_script.php(129): Minz_FrontController->run()

This time, I had to edit:

  • Feed.php line 567
    public function _error(int $value): void
    to
    public function _error(int|string $value): void

  • Category.php line 76
    public function _error(bool|int $value): void
    to
    public function _error(bool|int|string $value): void

this fixes the problem for now.

To Reproduce

  1. Same steps as the old linked bug on a 32-bit NAS

Expected behavior

Able to login

FreshRSS version

last

System information

  • Database version: PostgreSQL 15
  • PHP version: PHP 8.4.27
  • Installation type: Docker
  • Device: WD NAS 32-bit
  • OS: Linux freshrss-app 4.14.22-armada-18.09.3 Impossible d'ajouter certains flux #1 SMP Thu Oct 27 08:17:33 UTC 2022 ga-18.09.3 Build-31 armv7l GNU/Linux Debian 13.7

Additional context

This time, I had to edit:

  • Feed.php line 567
    public function _error(int $value): void
    to
    public function _error(int|string $value): void

  • Category.php line 76
    public function _error(bool|int $value): void
    to
    public function _error(bool|int|string $value): void

this fixes the problem for now.

Activity

  1. added
    Bug (unconfirmed)
    on Oct 22, 2026
  2. added theissue type on Oct 22, 2026
  3. Inverle commented on Oct 22, 2026

    @Inverle
    Member

    PR welcome with the edits.

  4. added this to the 1.31.0 milestone on Oct 22, 2026
  5. added
    php
    on Oct 22, 2026
  6. added a commit that references this issue on Oct 22, 2026
    f436b43
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

    Bug (unconfirmed)php

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions