You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens regularily when parsing certain feeds. Here is the trace:
PHP Fatal error: Uncaught TypeError: trim(): Argument #1 ($string) must be of type string, bool given in /vendor/simplepie/simplepie/src/Sanitize.php:319
Stack trace:
#0 /vendor/simplepie/simplepie/src/Sanitize.php(319): trim()
#1 /vendor/simplepie/simplepie/src/Sanitize.php(338): SimplePie\Sanitize->is_https_domain()
#2 /vendor/simplepie/simplepie/src/Sanitize.php(510): SimplePie\Sanitize->https_url()
#3 /vendor/simplepie/simplepie/src/Sanitize.php(413): SimplePie\Sanitize->replace_urls()
#4 /vendor/simplepie/simplepie/src/SimplePie.php(2307): SimplePie\Sanitize->sanitize()
#5 /vendor/simplepie/simplepie/src/Item.php(186): SimplePie\SimplePie->sanitize()
#6 /vendor/simplepie/simplepie/src/Item.php(352): SimplePie\Item->sanitize()
The text was updated successfully, but these errors were encountered:
git-marijus
changed the title
Null passed to trim() throws fatal error in PHP8.2
Boolean passed to trim() throws fatal error in PHP8.2
Nov 1, 2023
git-marijus
changed the title
Boolean passed to trim() throws fatal error in PHP8.2
Boolean passed to trim() throws fatal error in PHP8.2 and Simplepie 1.8
Nov 1, 2023
It should also have been fixed by #842one-dot-eight branch. We could release 1.8.1 but we would need to check if there are some other regressions and then write release notes.
This happens regularily when parsing certain feeds. Here is the trace:
The text was updated successfully, but these errors were encountered: