Extensions
Extensions copied to clipboard
xExtension-YouTube warnings in stream
This happens when enabling "Display the feeds content" in extension options with latest extension and edge build. Wasn't happening with the build few days ago when I was testing.
Warning: DOMDocument::loadHTML(): Tag figure invalid in Entity, line: 2 in /var/www/FreshRSS/extensions/xExtension-YouTube/extension.php on line 203
Warning: DOMDocument::loadHTML(): Tag figcaption invalid in Entity, line: 2 in /var/www/FreshRSS/extensions/xExtension-YouTube/extension.php on line 203
+1
Is it still a problem?
@Alkarex yes @ 1.25.1-dev.
Ping @kevinpapst or @ImAReplicant for a little help if you are around
Yeah, I think Youtube change the embedded HTML and the PHP Doc Parser does not support HTML5 tags like figure.
That's what 8.4 brings in: https://www.php.net/releases/8.4/en.php#dom_additions_html5
Not sure what to do. Shall we add the @ shut up operator?
That's what 8.4 brings in
That sounds like the solution for the image proxy as well. But what to do in the meantime. :)
Related to https://github.com/FreshRSS/FreshRSS/issues/6831 I think the approach is to start using the new PHP 8.4+ functions and define a fallback compatible with PHP 8.1 (using the old functions and hiding the errors at least). I will try to draft something in the core. In the meantime, hiding the errors would be good