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
Hey there,
I'm enforcing types in my project and got a new error lately concerning this package.
Uncaught TypeError: mb_encoding_aliases(): Argument #1 ($encoding) must be of type string, null given in /var/www/vendor/embed/embed/src/Document.php:49 Stack trace: #0 /var/www/vendor/embed/embed/src/Document.php(49): mb_encoding_aliases(NULL).
Our initial value should be an empty string instead of null $encoding = ''; or the function called more securely with a fallback value mb_encoding_aliases($encoding ?? '').
Hey there,
I'm enforcing types in my project and got a new error lately concerning this package.
Uncaught TypeError: mb_encoding_aliases(): Argument #1 ($encoding) must be of type string, null given in /var/www/vendor/embed/embed/src/Document.php:49 Stack trace: #0 /var/www/vendor/embed/embed/src/Document.php(49): mb_encoding_aliases(NULL).
Our initial value should be an empty string instead of null
$encoding = '';
or the function called more securely with a fallback valuemb_encoding_aliases($encoding ?? '')
.Pull request which fixes the issue:
#553
The text was updated successfully, but these errors were encountered: