[4.1 Alpha 1] Latest activity: ErrorException Declaration of X should be compatible with Y
On the XF2 VaultWiki.org demo, an ErrorException is generated on the latest activity page,
https://www.vaultwiki.org/xf/index.p...atest-activity
ErrorException: [E_WARNING] Declaration of vw\vw\Handler\NewsFeed\Redirect::getTemplateData($action, vw\vw\Handler\NewsFeed\NewsFeed $newsFeed, ?vw\vw\Handler\NewsFeed\Entity $content = NULL) should be compatible with vw\vw\Handler\NewsFeed\Base::getTemplateData($action, XF\Entity\NewsFeed $newsFeed, ?XF\Mvc\Entity\Entity $content = NULL) in /home/vw/edge/upload/src/addons/vw/vw/Handler/NewsFeed/Redirect.php at line 14
Code:
XF::handlePhpError() in /home/vw/edge/upload/src/addons/vw/vw/Handler/NewsFeed/Redirect.php at line 14
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/NewsFeed.php at line 109
XF\Repository\NewsFeed->getNewsFeedHandler() in src/XF/Repository/NewsFeed.php at line 140
XF\Repository\NewsFeed->addContentToNewsFeedItems() in src/XF/Pub/Controller/WhatsNew.php at line 36
XF\Pub\Controller\WhatsNew->actionLatestActivity() in /home/vw/edge/upload/src/addons/vw/vw/XF/Pub/Controller/WhatsNew.php at line 19
vw\vw\XF\Pub\Controller\WhatsNew->actionLatestActivity() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1934
XF\App->run() in src/XF.php at line 333
XF::runApp() in index.php at line 13