Not a bug Bug report

Alexander.

Active member
Affected version
latest version
The following message happens every time I click on a post, topic, or article. This was after upgrading through the ACP.

ErrorException: [E_WARNING] Declaration of SV\UserMentionsImprovements\XF\Repository\UserAlert::alert(XF\Entity\User $receiver, $senderId, $senderName, $contentType, $contentId, $action, array $extra = Array) should be compatible with XF\Repository\UserAlert::alert(XF\Entity\User $receiver, $senderId, $senderName, $contentType, $contentId, $action, array $extra = Array, array $options = Array) in src/addons/SV/UserMentionsImprovements/XF/Repository/UserAlert.php at line 19
  1. XF::handlePhpError() in src/vendor/composer/ClassLoader.php at line 444
  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/Extension.php at line 172
  7. XF\Extension->extendClass() in src/XF/Mvc/Entity/Manager.php at line 255
  8. XF\Mvc\Entity\Manager->getRepository() in src/XF/Mvc/Controller.php at line 901
  9. XF\Mvc\Controller->repository() in src/XF/Pub/Controller/Thread.php at line 122
  10. XF\Pub\Controller\Thread->actionIndex() in src/addons/AddonFlare/AwardSystem/XF/Pub/Controller/Thread.php at line 13
  11. AddonFlare\AwardSystem\XF\Pub\Controller\Thread->actionIndex() in src/addons/EWR/Porta/Pub/Controller/Thread.php at line 11
  12. EWR\Porta\Pub\Controller\Thread->actionIndex() in src/addons/XFMG/XF/Pub/Controller/Thread.php at line 11
  13. XFMG\XF\Pub\Controller\Thread->actionIndex() in src/XF/Mvc/Dispatcher.php at line 350
  14. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
  15. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  16. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  17. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2300
  18. XF\App->run() in src/XF.php at line 464
  19. XF::runApp() in index.php at line 20
 
This seems to related to the UserMentionsImprovements add-on which may need updating to a version compatible with whichever version of XF you're using.

You should contact the author for support or check to see if they have released an update.
 
This seems to related to the UserMentionsImprovements add-on which may need updating to a version compatible with whichever version of XF you're using.

You should contact the author for support or check to see if they have released an update.

Thank you for your help, I fixed the issue with UserMentionsImprovements.
 
Top Bottom