MG 2.2 Errors After Upgrading to 2.2

DaveM

Well-known member
Since I upgraded XF to 2.2 I am running the following errors?
Code:
    ErrorException: [E_WARNING] Declaration of XFMG\FindNew\MediaComment::filterResults(XF\Mvc\Entity\ArrayCollection $results) should be compatible with XF\FindNew\AbstractHandler::filterResults(XF\Mvc\Entity\AbstractCollection $results) src/addons/XFMG/FindNew/MediaComment.php:9

    Generated by: Unknown account Oct 3, 2020 at 3:16 PM

Stack trace

#0 src/addons/XFMG/FindNew/MediaComment.php(9): XF::handlePhpError(2, '[E_WARNING] Dec...', '/home/triumphta...', 9, Array)
#1 src/vendor/composer/ClassLoader.php(444): include('/home/triumphta...')
#2 src/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/triumphta...')
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass('XFMG\\FindNew\\Me...')
#4 [internal function]: spl_autoload_call('XFMG\\FindNew\\Me...')
#5 src/XF/Repository/FindNew.php(72): class_exists('XFMG\\FindNew\\Me...')
#6 src/XF/ControllerPlugin/FindNew.php(87): XF\Repository\FindNew->getFindNewHandler('xfmg_comment')
#7 src/XF/Pub/Controller/AbstractWhatsNewFindType.php(20): XF\ControllerPlugin\FindNew->getFindNewHandler('xfmg_comment')
#8 src/XF/Mvc/Dispatcher.php(350): XF\Pub\Controller\AbstractWhatsNewFindType->actionIndex(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(261): XF\Mvc\Dispatcher->dispatchClass('XFMG:WhatsNewCo...', 'Index', Object(XF\Mvc\RouteMatch), Object(XFMG\Pub\Controller\WhatsNewComment), NULL)
#10 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFMG\Pub\Controller\WhatsNewComment), NULL)
#11 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2300): XF\Mvc\Dispatcher->run()
#13 src/XF.php(464): XF\App->run()
#14 index.php(20): XF::runApp('XF\\Pub\\App')
#15 {main}

Request state

array(4) {
  ["url"] => string(33) "/whats-new/media-comments/283776/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Top