Repository navigation
Description
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.
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
- 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
Inverle commentedon Oct 22, 2026
PR welcome with the edits.
32-bit systems provide a string for BIGINT (FreshRSS#9486)