XF 2.2 attachment Download error

Dr-SpinXO

Member
Hello, when I try to download something in the attachment, I get this error message
Code:
ErrorException: [E_WARNING] Invalid argument supplied for foreach() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Post.php at line 35
XF::handlePhpError() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Post.php at line 35
XFA\LikeReplyViewAttachment\XF\Entity\Post->_hasLikePost() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Attachment.php at line 66
XFA\LikeReplyViewAttachment\XF\Entity\Attachment->canViewLrva() in src/addons/XFA/LikeReplyViewAttachment/XF/Entity/Attachment.php at line 25
XFA\LikeReplyViewAttachment\XF\Entity\Attachment->canView() in src/XF/Pub/Controller/Attachment.php at line 31
XF\Pub\Controller\Attachment->actionIndex() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
XF\App->run() in src/XF.php at line 517
XF::runApp() in index.php at line 20

How can I solve the problem and what is the reason?
 

Attachments

  • Screenshot 2022-03-14 202539.webp
    Screenshot 2022-03-14 202539.webp
    51.9 KB · Views: 2
Back
Top Bottom