Not a bug 2.2 rc1 error when updating a user

AcidCat

Member
Affected version
2.2 RC1
ErrorException: [E_WARNING] Declaration of SV\PasswordTools\XF\Entity\UserAuth::setPassword($password, $authClass = NULL, $updatePasswordDate = true) should be compatible with XF\Entity\UserAuth::setPassword($password, $authClass = NULL, $updatePasswordDate = true, $allowReuse = true) in src/addons/SV/PasswordTools/XF/Entity/UserAuth.php at line 0
  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 53
  8. XF\Mvc\Entity\Manager->getEntityClassName() in src/XF/Mvc/Entity/Manager.php at line 123
  9. XF\Mvc\Entity\Manager->find() in src/XF/Mvc/Entity/Manager.php at line 357
  10. XF\Mvc\Entity\Manager->getRelation() in src/XF/Mvc/Entity/Entity.php at line 413
  11. XF\Mvc\Entity\Entity->getRelationOrDefault() in src/XF/Repository/User.php at line 209
  12. XF\Repository\User->setupBaseUser() in src/XF/Admin/Controller/User.php at line 515
  13. XF\Admin\Controller\User->actionSave() 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 admin.php at line 13
 
It probably just needs to be updated. It appears as though there is an update released a while ago to add XF 2.2 compatibility.
 
Top Bottom