XF 2.2 Error "ErrorException: [E_WARNING] Declaration of"

daddypav

Member
How do I Fix this Error


ErrorException: [E_WARNING] Declaration of EWR\Member\Pub\Controller\Account::actionUsername(XF\Mvc\ParameterBag $params) should be compatible with XF\Pub\Controller\Account::actionUsername() in src/addons/EWR/Member/Pub/Controller/Account.php at line 11
  1. XF::handlePhpError() in src/vendor/composer/ClassLoader.php at line 571
  2. include() in src/vendor/composer/ClassLoader.php at line 571
  3. Composer\Autoload\includeFile() in src/vendor/composer/ClassLoader.php at line 428
  4. Composer\Autoload\ClassLoader->loadClass()
  5. spl_autoload_call()
  6. class_exists() in src/XF/Extension.php at line 174
  7. XF\Extension->extendClass() in src/XF/App.php at line 2867
  8. XF\App->extendClass() in src/XF/App.php at line 1602
  9. XF\App->XF\{closure}() in src/XF/Container.php at line 234
  10. XF\Container->create() in src/XF/App.php at line 2822
  11. XF\App->controller() in src/XF/Mvc/Dispatcher.php at line 291
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  13. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  14. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
  16. XF\App->run() in src/XF.php at line 517
  17. XF::runApp() in index.php at line 20
 
Back
Top Bottom