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