Mình bị lỗi này
Bác nào biết chỉ giúp mình với! cảm ơn ạ!
Mã:
InvalidArgumentException: Accessed unknown getter 'user_id' on XFRM:ResourceUpdate[4] src/XF/Mvc/Entity/Entity.php:194
Generated by: Admin Jul 30, 2020 at 1:00 PM
Stack trace
#0 src/XF/Mvc/Entity/Entity.php(101): XF\Mvc\Entity\Entity->get('user_id')
#1 src/addons/xenbros/Attachmentpro/XF/Entity/Attachment.php(18): XF\Mvc\Entity\Entity->__get('user_id')
#2 src/addons/xenbros/Downloadpage/XF/Pub/Controller/Attachment.php(29): xenbros\Attachmentpro\XF\Entity\Attachment->canView(****)
#3 src/XF/Mvc/Dispatcher.php(350): xenbros\Downloadpage\XF\Pub\Controller\Attachment->actionIndex(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XF:Attachment', 'Index', Object(XF\Mvc\RouteMatch), Object(xenbros\Downloadpage\XF\Pub\Controller\Attachment), ****)
#5 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(xenbros\Downloadpage\XF\Pub\Controller\Attachment), ****)
#6 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2190): XF\Mvc\Dispatcher->run()
#8 src/XF.php(391): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}
Bài viết liên quan
Bài viết mới