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
When adding a YouTube link via the Add Media (URL) form, an Unexpected Error, please contact support. message appears. This happens because YouTube URLs are not supported as media, leading to a null value being passed in Library.php on line 2526.
Xibo\Factory\ModuleFactory::getByExtension(): Argument #1 ($extension) must be of type string, null given, called in /var/www/cms/lib/Controller/Library.php on line 2526
Steps to reproduce:
Attempt to add a YouTube URL in the Add Media (URL) form.
Observe the error message in log
Proposed solution:
Add Validation: Prevent unsupported URLs (like YouTube) from being submitted in the form.
Clearer Error Message: Display a specific message when an unsupported media type is added.
The text was updated successfully, but these errors were encountered:
When adding a YouTube link via the
Add Media (URL)
form, anUnexpected Error, please contact support.
message appears. This happens because YouTube URLs are not supported as media, leading to a null value being passed in Library.php on line 2526.Xibo\Factory\ModuleFactory::getByExtension(): Argument #1 ($extension) must be of type string, null given, called in /var/www/cms/lib/Controller/Library.php on line 2526
Steps to reproduce:
Add Media (URL)
form.Proposed solution:
The text was updated successfully, but these errors were encountered: