Latest Resources Error...

NiggerSauce

Active member
Registered
Joined
Oct 17, 2019
Messages
27
Points
23

Reputation:

Getting this error when I click "Latest resources" in the sidebar

Code:
ErrorException: [E_WARNING] Declaration of XFRM\FindNew\ResourceItem::filterResults(XF\Mvc\Entity\ArrayCollection $results) should be compatible with XF\FindNew\AbstractHandler::filterResults(XF\Mvc\Entity\AbstractCollection $results) in src/addons/XFRM/FindNew/ResourceItem.php at line 8
XF::handlePhpError() in src/addons/XFRM/FindNew/ResourceItem.php at line 8
include() in src/vendor/composer/ClassLoader.php at line 444
Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
Composer\Autoload\ClassLoader->loadClass()
spl_autoload_call()
class_exists() in src/XF/Repository/FindNew.php at line 72
XF\Repository\FindNew->getFindNewHandler() in src/XF/ControllerPlugin/FindNew.php at line 87
XF\ControllerPlugin\FindNew->getFindNewHandler() in src/XF/Pub/Controller/AbstractWhatsNewFindType.php at line 20
XF\Pub\Controller\AbstractWhatsNewFindType->actionIndex() in src/XF/Mvc/Dispatcher.php at line 350
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
XF\App->run() in src/XF.php at line 488
XF::runApp() in index.php at line 20

Any idea whats going on??
 

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
9,252
Points
698

Reputation:

You need to put up the forum link here to make people easier to support
 

DUTERTE

New member
Registered
Joined
Dec 26, 2019
Messages
3
Points
13

Reputation:

i encounter this issue, did you fix it?

EDIT:
Try this

Old:
PHP:
protected function filterResults(\XF\Mvc\Entity\ArrayCollection $results)
New:
PHP:
protected function filterResults(\XF\Mvc\Entity\AbstractCollection $results)
 
Last edited:

NiggerSauce

Active member
Registered
Joined
Oct 17, 2019
Messages
27
Points
23

Reputation:

i encounter this issue, did you fix it?

EDIT:
Try this

Old:
PHP:
protected function filterResults(\XF\Mvc\Entity\ArrayCollection $results)
New:
PHP:
protected function filterResults(\XF\Mvc\Entity\AbstractCollection $results)
DUTERTEWhere do I change that? Sorry im new to XF
 

CryptoHodl

Member
Registered
Joined
Jan 10, 2021
Messages
12
Points
3

Reputation:

i encounter this issue, did you fix it?

EDIT:
Try this

Old:
PHP:
protected function filterResults(\XF\Mvc\Entity\ArrayCollection $results)
New:
PHP:
protected function filterResults(\XF\Mvc\Entity\AbstractCollection $results)
DUTERTEfollowing
 
Top