Closed lubos-h closed 1 year ago
Would you mind making a PR?
Can you check if https://github.com/dereuromark/media-embed/tree/0.5.x fixes it?
Using 0.5.x-dev
branch
Should be resolved with https://github.com/dereuromark/media-embed/releases/tag/0.5.9
Hi @dereuromark , just tested, works like charm. Thank you!
Could you also try master maybe? A new release with types and 8.1+ is coming out soon
Could you also try master maybe? A new release with types and 8.1+ is coming out soon
Sorry, I should mention, yes, tried the master and all worked.
Good day, I would like to report error on:
/src/Object/MediaObject.php: line 662
protected function _esc($text) { return htmlspecialchars($text, ENT_QUOTES, '', false); }
When passing NULL value as $text, this triggers error in PHP 8.2:
htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
This happens when NULL value is passed by code on line 624 (flashvars):
$flashvars = $this->_esc($flashvars)