Calendar Fixed New Events navigation error (both Calendar and Whats New)

Affected version
2.1.10

Mouth

Well-Known Member
xF 2.2.0 B4

/whats-new/calendar-events/ .... from either Calendar navigation tab or Whats New navigation tab

ErrorException: [E_WARNING] Declaration of NF\Calendar\FindNew\CalendarEvent::filterResults(XF\Mvc\Entity\ArrayCollection $results) should be compatible with XF\FindNew\AbstractHandler::filterResults(XF\Mvc\Entity\AbstractCollection $results) in src/addons/NF/Calendar/FindNew/CalendarEvent.php at line 102
  1. XF::handlePhpError() in src/addons/NF/Calendar/FindNew/CalendarEvent.php at line 8
  2. include() in src/vendor/composer/ClassLoader.php at line 444
  3. Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 322
  4. Composer\Autoload\ClassLoader->loadClass()
  5. spl_autoload_call()
  6. class_exists() in src/XF/Repository/FindNew.php at line 72
  7. XF\Repository\FindNew->getFindNewHandler() in src/XF/ControllerPlugin/FindNew.php at line 87
  8. XF\ControllerPlugin\FindNew->getFindNewHandler() in src/XF/Pub/Controller/AbstractWhatsNewFindType.php at line 20
  9. XF\Pub\Controller\AbstractWhatsNewFindType->actionIndex() in src/XF/Mvc/Dispatcher.php at line 350
  10. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
  11. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  12. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  13. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2298
  14. XF\App->run() in src/XF.php at line 464
  15. XF::runApp() in index.php at line 20
 
Top