RSS-Bridge / rss-bridge

The RSS feed for websites missing it
https://rss-bridge.org/bridge01/
The Unlicense
6.99k stars 1.02k forks source link

Update RedditBridge.php #4019

Closed Tone866 closed 3 months ago

Tone866 commented 3 months ago

Sometimes (most at weekends, don't know why) I get this error:

rssbridge.ERROR (shutdown) 8192: htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in bridges/RedditBridge.php

to prevent this error I added an isset-check

github-actions[bot] commented 3 months ago

Pull request artifacts

Bridge Context Status
Reddit 1 single (current) ⚠️ (shutdown) 8192: htmlspecialchars_decode(): Passing null to parameter #1 ($string) of type string is deprecated in bridges/RedditBridge.php line 195
Reddit 1 single (pr) ⚠️ (shutdown) 8192: str_replace(): Passing null to parameter #3 ($subject) of type arraystring is deprecated in bridges/RedditBridge.php line 264
Reddit 2 multi (current) ⚠️ (shutdown) 8192: str_replace(): Passing null to parameter #3 ($subject) of type arraystring is deprecated in bridges/RedditBridge.php line 264
Reddit 2 multi (pr) ⚠️ (shutdown) 8192: str_replace(): Passing null to parameter #3 ($subject) of type arraystring is deprecated in bridges/RedditBridge.php line 264
Reddit 3 user (current) ⚠️ (shutdown) 8192: str_replace(): Passing null to parameter #3 ($subject) of type arraystring is deprecated in bridges/RedditBridge.php line 264
Reddit 3 user (pr) ⚠️ (shutdown) 8192: str_replace(): Passing null to parameter #3 ($subject) of type arraystring is deprecated in bridges/RedditBridge.php line 264

last change: Sunday 2024-03-17 11:00:59