hi, i just bought and installed version 2.0.4 and I got the following error when trying to log in as another user:
then it fails to log me in as that user. not sure what to do?
Code:
ErrorException: [E_WARNING] count(): Parameter must be an array or an object that implements Countable in src/addons/XenConcept/LoginAsUser/Service/LoginAsUser/Login.php at line 50
XF::handlePhpError()
count() in src/addons/XenConcept/LoginAsUser/Service/LoginAsUser/Login.php at line 50
XenConcept\LoginAsUser\Service\LoginAsUser\Login->preLogin() in src/addons/XenConcept/LoginAsUser/XF/Pub/Controller/Misc.php at line 26
XenConcept\LoginAsUser\XF\Pub\Controller\Misc->setupLoginAsUser() in src/addons/XenConcept/LoginAsUser/XF/Pub/Controller/Misc.php at line 61
XenConcept\LoginAsUser\XF\Pub\Controller\Misc->actionLoginAsUser() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
XF\App->run() in src/XF.php at line 328
XF::runApp() in index.php at line 13
then it fails to log me in as that user. not sure what to do?