• Hello Guest,
    There are new packages allow you download any resources with a single purchase. Click here to upgrade your account ;)

[FIXED] Error: 'Cannot use object of type XF\Phrase as array'

Waves

New Member
Got this in the server error logs:

Code:
Error: Cannot use object of type XF\Phrase as array
src/addons/Truonglv/Groups/Service/Group/Cover.php:70
Stack trace
Code:
#0 src/addons/Truonglv/Groups/Pub/Controller/Group.php(862): Truonglv\Groups\Service\Group\Cover->validate(Object(XF\Phrase))
#1 src/addons/Truonglv/Groups/Pub/Controller/Group.php(539): Truonglv\Groups\Pub\Controller\Group->handleAvatarOrCoverProcess(Object(Truonglv\Groups\Entity\Group), Object(Truonglv\Groups\Service\Group\Cover))
#2 src/XF/Mvc/Dispatcher.php(321): Truonglv\Groups\Pub\Controller\Group->actionCover(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('Truonglv\\Groups...', 'Cover', Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Group), NULL)
#4 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Truonglv\Groups\Pub\Controller\Group), NULL)
#5 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#7 src/XF.php(390): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}
 
Top