Duplicate Error when searching for non existent user in expired user upgrades

Jake B.

Well-known member
Affected version
2.0.7
Go to admin.php?user-upgrades/expired and search for a username that doesn't exist and you'll get:

Rich (BB code):
  • ErrorException: Fatal Error: Cannot use object of type XF\Mvc\Reply\Error as array
  • src/XF/Mvc/Router.php:532
Stack trace #0 [internal function]: XF::handleFatalError() #1 {main} array(4) { ["url"] => string(42) "/community/admin.php?user-upgrades/expired" ["referrer"] => string(66) "/admin.php?user-upgrades/expired" ["_GET"] => array(1) { ["user-upgrades/expired"] => string(0) "" } ["_POST"] => array(2) { ["username"] => string(7) "testuser" ["_xfToken"] => string(8) "********" } }

Same happens on active user upgrades as well
 
Back
Top Bottom