[FIXED] Issue updating profile/cover image

Waves

New Member
Got 2 server error logs:

Code:
TypeError: Argument 1 passed to Truonglv\Groups\Service\Group\AbstractFormUpload::validate() must be of the type array, null given, called in /public_html/forum/src/addons/Truonglv/Groups/Pub/Controller/Group.php on line 876 src/addons/Truonglv/Groups/Service/Group/AbstractFormUpload.php:48

Stack trace
#0 src/addons/Truonglv/Groups/Pub/Controller/Group.php(876): Truonglv\Groups\Service\Group\AbstractFormUpload->validate(NULL)
#1 src/addons/Truonglv/Groups/Pub/Controller/Group.php(519): Truonglv\Groups\Pub\Controller\Group->handleAvatarOrCoverProcess(Object(Truonglv\Groups\Entity\Group), Object(Truonglv\Groups\Service\Group\Avatar))
#2 src/XF/Mvc/Dispatcher.php(321): Truonglv\Groups\Pub\Controller\Group->actionAvatar(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('Truonglv\\Groups...', 'Avatar', 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}
Code:
TypeError: Argument 1 passed to Truonglv\Groups\Service\Group\Cover::validate() must be of the type array, null given, called in /public_html/forum/src/addons/Truonglv/Groups/Pub/Controller/Group.php on line 876 src/addons/Truonglv/Groups/Service/Group/Cover.php:64

Stack trace
#0 src/addons/Truonglv/Groups/Pub/Controller/Group.php(876): Truonglv\Groups\Service\Group\Cover->validate(NULL)
#1 src/addons/Truonglv/Groups/Pub/Controller/Group.php(553): 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}

Seems to be for uploading profile/cover image?
 
Top