Full Text RSS Fatal error

Hello,

I am trying to selfhost Full Text RSS (Version from Bitbucket). I am using PHP 8.2.7. The site itself displays nicely, but as soon as i input a url and want to generate a feed, I get a load of errors. Most of them are deprecated warnings, which i fixed according to this forum question, but one “fatal error” still remains, which I cannot solve myself:

Fatal error: Uncaught Error: Object of class CurlHandle could not be converted to string in /var/www/full-text-rss/libraries/humble-http-agent/RollingCurl.php:297 Stack trace: #0 /var/www/full-text-rss/libraries/humble-http-agent/RollingCurl.php(235): RollingCurl->rolling_curl() #1 /var/www/full-text-rss/libraries/humble-http-agent/HumbleHttpAgent.php(614): RollingCurl->execute() #2 /var/www/full-text-rss/libraries/humble-http-agent/HumbleHttpAgent.php(327): HumbleHttpAgent->fetchAllOnce() #3 /var/www/full-text-rss/makefulltextfeed.php(694): HumbleHttpAgent->fetchAll() #4 {main} thrown in /var/www/full-text-rss/libraries/humble-http-agent/RollingCurl.php on line 297

Disabling the fatal error message with error_reporting(0); only yields an empty page. I have looked at the line 297 which was specified, in it the CurlHandle object gets directly casted into a string, and after that is used as a key in a dict (?) or something similar. Sadly I don’t know what to make of this.

Am I even using the most recent free version? I realized the latest commits in the repo were from 2019, but read somewhere that recently there were some fixes for PHP 8…

Sorry if I am overlooking something obvious. I would be glad if someone could help me out.

Best
Lucas

Hi @LucasTrever, sorry for the slow response. The Bitbucket repo is quite old. We have a new version of Full-Text RSS planned for later this year. When that’s out, we’ll proably update it. But for now we do not recommend that you use it if you’re running newer versions of PHP.

The latest version of Full-Text RSS is available to buy at https://www.fivefilters.org. You can see the changelog for that here: https://www.fivefilters.org/changelogs/full-text-rss.txt

The public repo has always been our older versions, but it’s been somewhat neglected, so we’ll make an update when the new major version of Full-Text RSS is out later this year.

Hello,

Thank you for your response, no problem.

Alright then, I will be looking forward to the updated version, and thank you very much for making older versions freely available, it really helps for e. g. students like me :slight_smile:

Best
Lucas

1 Like