unutKan
New member
- Affected version
- 2.3.0 Beta 7
Import a style - We ran into some problems
Code:
TypeError: XF\Service\Style\Import::setPropertyValue(): Argument #2 ($value) must be of type string, array given, called in /var/www/vhosts/XXXX/httpdocs/src/XF/Service/Style/Import.php on line 384 src/XF/Service/Style/Import.php:443
Code:
Stack trace
#0 src/XF/Service/Style/Import.php(384): XF\Service\Style\Import->setPropertyValue(Object(XF\Entity\StyleProperty), Array, true)
#1 src/XF/Service/Style/Import.php(165): XF\Service\Style\Import->importProperties(Object(XF\Entity\Style), Object(SimpleXMLElement), 'XF')
#2 src/XF/Admin/Controller/Style.php(489): XF\Service\Style\Import->importFromXml(Object(SimpleXMLElement))
#3 src/XF/Mvc/Dispatcher.php(352): XF\Admin\Controller\Style->actionImport(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Style', 'Import', Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Style), NULL)
#5 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XF\Admin\Controller\Style), NULL)
#6 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2604): XF\Mvc\Dispatcher->run()
#8 src/XF.php(533): XF\App->run()
#9 admin.php(13): XF::runApp('XF\\Admin\\App')
#10 {main}