Hi
I just downloaded the plugin and tried it on my site, which is on the latest Xenforo v2.2 beta.
I appreciate it's still a beta, but is there a way I can fix the error when viewing a thread ?
I get the following error when clicking on any thread, even if I disable all but the Ignore plugin
-
- ErrorException: [E_WARNING] Declaration of Truonglv\IgnoreContent\XF\Repository\UserAlert::alertFromUser(XF\Entity\User $receiver, ?XF\Entity\User $sender, $contentType, $contentId, $action, array $extra = Array) should be compatible with XF\Repository\UserAlert::alertFromUser(XF\Entity\User $receiver, ?XF\Entity\User $sender, $contentType, $contentId, $action, array $extra = Array, array $options = Array)
-
- src/addons/Truonglv/IgnoreContent/XF/Repository/UserAlert.php:47
-
Stack trace
#0 src/vendor/composer/ClassLoader.php(444): XF::handlePhpError()
#1 src/vendor/composer/ClassLoader.php(444): include()
#2 src/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile()
#3 [internal function]: Composer\Autoload\ClassLoader->loadClass()
#4 [internal function]: spl_autoload_call()
#5 src/XF/Extension.php(172): class_exists()
#6 src/XF/Mvc/Entity/Manager.php(255): XF\Extension->extendClass()
#7 src/XF/Mvc/Controller.php(873): XF\Mvc\Entity\Manager->getRepository()
#8 src/XF/Pub/Controller/Thread.php(122): XF\Mvc\Controller->repository()
#9 src/addons/XFMG/XF/Pub/Controller/Thread.php(11): XF\Pub\Controller\Thread->actionIndex()
#10 src/XF/Mvc/Dispatcher.php(350): XFMG\XF\Pub\Controller\Thread->actionIndex()
#11 src/XF/Mvc/Dispatcher.php(257): XF\Mvc\Dispatcher->dispatchClass()
#12 src/XF/Mvc/Dispatcher.php(113): XF\Mvc\Dispatcher->dispatchFromMatch()
#13 src/XF/Mvc/Dispatcher.php(55): XF\Mvc\Dispatcher->dispatchLoop()
#14 src/XF/App.php(2298): XF\Mvc\Dispatcher->run()
#15 src/XF.php(464): XF\App->run()
#16 index.php(20): XF::runApp()
#17 {main}
Request state
array(4) {
["url"] => string(14) "/threads/2107/"
["referrer"] => string(32) "
https://mytestwebsite.com/forums/117/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}