Cannot reproduce ErrorException: [E_WARNING] explode() expects parameter 2 to be string, array given

Affected version
XenForo Media Gallery 2.0.0
I have just tried to upload a YouTube video in the media and get the following error message when I go to submit.


Code:
ErrorException: [E_WARNING] explode() expects parameter 2 to be string, array given src/addons/XFMG/EmbedData/BaseData.php:109
Generiert durch:  14 Dezember 2017 um 07:05 Uhr
Stapelverfolgung
#0 [internal function]: XF::handlePhpError(2, 'explode() expec...', '/var/www/virtua...', 109, Array)
#1 src/addons/XFMG/EmbedData/BaseData.php(109): explode(';', Array, 2)
#2 src/addons/XFMG/Service/Media/TempCreator.php(157): XFMG\EmbedData\BaseData->getTitleAndDescription('https://www.you...', 'youtube', 'pMRooFUmvn4')
#3 src/XF/Service/ValidateAndSavableTrait.php(40): XFMG\Service\Media\TempCreator->_save()
#4 src/addons/XFMG/Pub/Controller/Media.php(450): XFMG\Service\Media\TempCreator->save()
#5 src/XF/Mvc/Dispatcher.php(249): XFMG\Pub\Controller\Media->actionEmbedMedia(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(89): XF\Mvc\Dispatcher->dispatchClass('XFMG:Media', 'embed-media', 'json', Object(XF\Mvc\ParameterBag), 'xfmg', Object(XFMG\Pub\Controller\Media), NULL)
#7 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(1879): XF\Mvc\Dispatcher->run()
#9 src/XF.php(328): XF\App->run()
#10 index.php(13): XF::runApp('XF\\Pub\\App')
#11 {main}



Benötigter Status
array(4) {
  ["url"] => string(41) "/media/embed-media?context[category_id]=2"
  ["referrer"] => string(68) "https://www.lol.de/media/categories/test-bereich.2/add"
  ["_GET"] => array(1) {
    ["context"] => array(1) {
      ["category_id"] => string(1) "2"
    }
  }
  ["_POST"] => array(5) {
    ["url"] => string(43) "https://www.youtube.com/watch?v=pMRooFUmvn4"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(36) "/media/categories/test-bereich.2/add"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}


Ask for clarification because I have tried in the thread and there it works without error message.
 
Top Bottom