Page 1 of 1

trim() expects parameter 1 to be string, array given

Posted: 04 Dec 2015, 04:31
by engeman08
I'm trying to access admin panel but i got exception

in Gettext.php line 143
at HandleExceptions->handleError('2', 'trim() expects parameter 1 to be string, array given', '/home/reviapps/public_html/dev/EcommerceAimeos/vendor/zendframework/zend-i18n/src/Translator/Loader/Gettext.php', '143', array('locale' => 'en', 'filename' => '/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/client/extjs/i18n/en', 'resolvedFile' => '/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/client/extjs/i18n/en', 'textDomain' => object(TextDomain), 'error' => null, 'magic' => '��', 'majorRevision' => '0', 'numStrings' => '22', 'originalStringTableOffset' => '28', 'translationStringTableOffset' => '204', 'originalStringTable' => array('0', '496', '14', '497', '12', '512', '11', '184549378', '419430400', '201326594', '620756992', '167772162', '838860800', '184549378', '1023410176', '234881026', '1224736768', '201326594', '1476395008', '234881026', '1694498816', '251658242', '1946157056', '150994946', '2214592512', '201326594', '2382364672', '2', '43712512', '786432', '44630016', '0', '177664', '3840', '181248', '3584', '185344', '3840', '189184', '3584', '193280', '0', '770', '385'), 'translationStringTable' => array('784', '10', '1170', '8', '1181', '7', '1190', '7', '1198', '8', '1206', '6', '1215', '7', '1222', '10', '1230', '7', '1241', '9', '1249', '10', '1259', '4', '1270', '7', '1275', '8', '1283', '7', '1292', '8', '1300', '10', '1309', '7', '1320', '8', '1328', '7', '1337', '6', '1345', '1'), 'current' => '22', 'sizeKey' => '43', 'offsetKey' => '44', 'originalStringSize' => '770', 'originalStringOffset' => '385', 'translationStringSize' => '1345', 'translationStringOffset' => '1', 'originalString' => array('', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ' ', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ' ', '', '', '', 'pay:authorized', 'pay:canceled', 'pay:deleted', 'pay:pending', 'pay:received', 'pay:refund', 'pay:refused', 'pay:unfinished', 'stat:deleted', 'stat:delivered', 'stat:dispatched', 'stat:lost', 'stat:pending', 'stat:progress', 'stat:refused', 'stat:returned', 'stat:unfinished', 'status:archive', 'status:disabled', 'status:enabled', 'status:review', 'Project-Id-Version: Arcavias Report-Msgid-Bugs-To: POT-Creation-Date: 2015-09-29 14:16+0200 PO-Revision-Date: 2014-01-29 12:00+0100 Last-Translator: Norbert Sendetzky <n.sendetzky@metaways.de> Language-Team: English (http://www.transifex.com/projects/p/arc ... nguage/en/) Language: English MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encodi'), 'translationString' => array('�', '', '', '', '', '', '', '', '', '', '�', '', '', '', '', '', '|', '', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '%', '', ' ', '', '', '2', '', '', '', '', '=', '', '', '', '', 'I', '', '', '', '', 'X', '', '', '', '', 'e', '', '', '', '', 't', '', ' ', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '', '', '�', '', '', '', ' ', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', ' ', '', '', '�', '', '', '', '', '�', '', ' ', '', '', '�', '', ' ', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ' ', '', '', '', '', '', '', '', '(', '', '', '', '', '0', '', '', '', '', '9', '', '', '', '', 'A', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ' ', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ' ', '', '', '', 'pay:authorized', 'pay:canceled', 'pay:deleted', 'pay:pending', 'pay:received', 'pay:refund', 'pay:refused', 'pay:unfinished', 'stat:deleted', 'stat:delivered', 'stat:dispatched', 'stat:lost', 'stat:pending', 'stat:progress', 'stat:refused', 'stat:returned', 'stat:unfinished', 'status:archive', 'status:disabled', 'status:enabled', 'status:review', 'Project-Id-Version: Arcavias Report-Msgid-Bugs-To: POT-Creation-Date: 2015-09-29 14:16+0200 PO-Revision-Date: 2014-01-29 12:00+0100 Last-Translator: Norbert Sendetzky <n.sendetzky@metaways.de> Language-Team: English (http://www.transifex.com/projects/p/arc ... nguage/en/) Language: English MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ', 'authorized', 'canceled', 'deleted', 'pending', 'received', 'refund', 'refused', 'unfinished', 'deleted', 'delivered', 'dispatched', 'lost', 'pending', 'progress', 'refused', 'returned', 'unfinished', 'archive', 'disabled', 'enabled', 'review'), 'string' => 'Project-Id-Version: Arcavias Report-Msgid-Bugs-To: POT-Creation-Date: 2015-09-29 14:16+0200 PO-Revision-Date: 2014-01-29 12:00+0100 Last-Translator: Norbert Sendetzky <n.sendetzky@metaways.de> Language-Team: English (http://www.transifex.com/projects/p/arc ... nguage/en/) Language: English MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encodi'))
at trim(array('�', '', '', '', '', '', '', '', '', '', '�', '', '', '', '', '', '|', '', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '%', '', ' ', '', '', '2', '', '', '', '', '=', '', '', '', '', 'I', '', '', '', '', 'X', '', '', '', '', 'e', '', '', '', '', 't', '', ' ', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '', '', '�', '', '', '', ' ', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', ' ', '', '', '�', '', '', '', '', '�', '', ' ', '', '', '�', '', ' ', '', '', '�', '', '', '', '', '�', '', '', '', '', '�', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ' ', '', '', '', '', '', '', '', '(', '', '', '', '', '0', '', '', '', '', '9', '', '', '', '', 'A', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ' ', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', ' ', '', '', '', 'pay:authorized', 'pay:canceled', 'pay:deleted', 'pay:pending', 'pay:received', 'pay:refund', 'pay:refused', 'pay:unfinished', 'stat:deleted', 'stat:delivered', 'stat:dispatched', 'stat:lost', 'stat:pending', 'stat:progress', 'stat:refused', 'stat:returned', 'stat:unfinished', 'status:archive', 'status:disabled', 'status:enabled', 'status:review', 'Project-Id-Version: Arcavias Report-Msgid-Bugs-To: POT-Creation-Date: 2015-09-29 14:16+0200 PO-Revision-Date: 2014-01-29 12:00+0100 Last-Translator: Norbert Sendetzky <n.sendetzky@metaways.de> Language-Team: English (http://www.transifex.com/projects/p/arc ... nguage/en/) Language: English MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ', 'authorized', 'canceled', 'deleted', 'pending', 'received', 'refund', 'refused', 'unfinished', 'deleted', 'delivered', 'dispatched', 'lost', 'pending', 'progress', 'refused', 'returned', 'unfinished', 'archive', 'disabled', 'enabled', 'review')) in Gettext.php line 143
at Gettext->load('en', '/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/client/extjs/i18n/en') in Translator.php line 698
at Translator->loadMessagesFromFiles('client/extjs', 'en') in Translator.php line 570
at Translator->loadMessages('client/extjs', 'en') in MwTranslator.php line 37
at MwTranslator->getMessages('client/extjs', 'en') in Zend2.php line 131
at MW_Translation_Zend2->getAll('client/extjs') in AdminController.php line 192
at AdminController->getJsonClientI18n(array('client/extjs' => array('/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/client/extjs/i18n'), 'client/extjs/ext' => array('/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/client/extjs/i18n/ext'), 'client/html' => array('/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/client/html/i18n'), 'client/html/code' => array('/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/client/html/i18n/code'), 'client/html/country' => array('/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/client/html/i18n/country'), 'client/html/currency' => array('/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/client/html/i18n/currency'), 'client/html/language' => array('/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/client/html/i18n/language'), 'controller/frontend' => array('/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/controller/frontend/i18n'), 'mshop/code' => array('/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/lib/mshoplib/i18n/code'), 'mshop' => array('/home/reviapps/public_html/dev/EcommerceAimeos/vendor/aimeos/aimeos-core/lib/mshoplib/i18n')), 'en') in AdminController.php line 68
at AdminController->indexAction()
at call_user_func_array(array(object(AdminController), 'indexAction'), array()) in Controller.php line 246
at Controller->callAction('indexAction', array()) in ControllerDispatcher.php line 162
at ControllerDispatcher->call(object(AdminController), object(Route), 'indexAction') in ControllerDispatcher.php line 107
at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
at Pipeline->then(object(Closure)) in ControllerDispatcher.php line 108
at ControllerDispatcher->callWithinStack(object(AdminController), object(Route), object(Request), 'indexAction') in ControllerDispatcher.php line 67
at ControllerDispatcher->dispatch(object(Route), object(Request), 'Aimeos\Shop\Controller\AdminController', 'indexAction') in Route.php line 204
at Route->runWithCustomDispatcher(object(Request)) in Route.php line 134
at Route->run(object(Request)) in Router.php line 701
at Router->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
at Pipeline->then(object(Closure)) in Router.php line 703
at Router->runRouteWithinStack(object(Route), object(Request)) in Router.php line 670
at Router->dispatchToRoute(object(Request)) in Router.php line 628
at Router->dispatch(object(Request)) in Kernel.php line 214
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 141
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in ShareErrorsFromSession.php line 55
at ShareErrorsFromSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in StartSession.php line 61
at StartSession->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in AddQueuedCookiesToResponse.php line 36
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in EncryptCookies.php line 40
at EncryptCookies->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline\{closure}(object(Request)) in CheckForMaintenanceMode.php line 42
at CheckForMaintenanceMode->handle(object(Request), object(Closure)) in Pipeline.php line 125
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 101
at Pipeline->then(object(Closure)) in Kernel.php line 115
at Kernel->sendRequestThroughRouter(object(Request)) in Kernel.php line 84
at Kernel->handle(object(Request)) in index.php line 53

Re: trim() expects parameter 1 to be string, array given

Posted: 04 Dec 2015, 09:19
by aimeos
Can you please post the output of

Code: Select all

composer show -i
in your base application directory? I would like to see the packages and their versions that have been installed.