goldsky / spiefeed

Feeds aggregator for MODx Revolution based on SimplePie
http://simplepie.org/
8 stars 4 forks source link

Throws error with PHP8.2 #20

Open a2life opened 8 months ago

a2life commented 8 months ago

The code throws error when upgraded from PHP7.4 to PHP8.2 Error.log (in base directory, not modx error log) shows this. PHP Fatal error: Uncaught TypeError: implode(): Argument #2 ($array) must be of type ?array, string given in /home/MYWebSite/public_html/MyWebSite/core/components/spiefeed/includes/simplepie/simplepie_1.3.mini.php:11420.

I replaced simplepie to version 1.8 and latered spiefeed.snippet line 254 to point to the new file and error goes away. The code also works with PHP7.4