Tiny Tiny RSS: Community

PHP Fatal error: Uncaught Error: Call to a member function fetch() on boolean in classes/rssutils.php:144


#1

Hi, I’ve updated to latest commit in master (8702ded6a1d5780903c5344b1240707e498bda7a) and now the update daemon fails to start with this error:

abr 28 18:17:20 helio php[22929]: [16:17:20/22929] Spawn interval: 120 sec
abr 28 18:17:20 helio php[22929]: [16:17:20/22929] [MASTER] installing shutdown handlers
abr 28 18:17:20 helio php[22929]: [16:17:20/22929] [MASTER] spawned client 0 [PID:22930]...
abr 28 18:17:20 helio php[22929]: [16:17:20/22929] [MASTER] spawned client 1 [PID:22931]...
abr 28 18:17:20 helio php[22929]: [16:17:20/22933] Using task id 0
abr 28 18:17:20 helio php[22929]: [16:17:20/22933] Lock: update_daemon-22930.lock
abr 28 18:17:20 helio php[22929]: [16:17:20/22933] Waiting before update (0)
abr 28 18:17:20 helio php[22929]: [16:17:20/22932] Using task id 1
abr 28 18:17:20 helio php[22929]: [16:17:20/22932] Lock: update_daemon-22931.lock
abr 28 18:17:20 helio php[22929]: [16:17:20/22932] Waiting before update (5)
abr 28 18:17:20 helio php[22929]: PHP Fatal error:  Uncaught Error: Call to a member function fetch() on boolean in /var/www/ttrss.example.com/classes/rssutils.php:144
abr 28 18:17:20 helio php[22929]: Stack trace:
abr 28 18:17:20 helio php[22929]: #0 /var/www/ttrss.example.com/update.php(199): RSSUtils::update_daemon_common(50)
abr 28 18:17:20 helio php[22929]: #1 {main}
abr 28 18:17:20 helio php[22929]:   thrown in /var/www/ttrss.example.com/classes/rssutils.php on line 144
abr 28 18:17:21 helio php[22929]: [16:17:21/22930] removing lockfile (22930)...
abr 28 18:17:21 helio php[22929]: [16:17:21/22929] [reap_children] child 22930 reaped.
abr 28 18:17:21 helio php[22929]: [16:17:21/22929] [SIGCHLD] jobs left: 1
abr 28 18:17:25 helio php[22929]: PHP Fatal error:  Uncaught Error: Call to a member function fetch() on boolean in /var/www/ttrss.example.com/classes/rssutils.php:144
abr 28 18:17:25 helio php[22929]: Stack trace:
abr 28 18:17:25 helio php[22929]: #0 /var/www/ttrss.example.com/update.php(199): RSSUtils::update_daemon_common(50)
abr 28 18:17:25 helio php[22929]: #1 {main}
abr 28 18:17:25 helio php[22929]:   thrown in /var/www/ttrss.example.com/classes/rssutils.php on line 144
abr 28 18:17:26 helio php[22929]: [16:17:26/22931] removing lockfile (22931)...
abr 28 18:17:26 helio php[22929]: [16:17:26/22929] [reap_children] child 22931 reaped.
abr 28 18:17:26 helio php[22929]: [16:17:26/22929] [SIGCHLD] jobs left: 0

#2

This is in a Fedora 28 server, with PHP 7.2.4, and using MariaDB 10.2.14 as database.


#3

check tt-rss system error log in preferences for any additional information

other than that, this particular query hasn’t been updated in a while so idk what could go wrong


#4

Somehow this isn’t happening any more. Maybe a system update.

Thank you.