Fatal error: Uncaught TypeError: Argument 1 passed to Wexo\LoginAsCustomer\Model\LoginRepository::getByToken() must be of the type string, null given, called in /var/www/html/vendor/wexo/module-login-as-customer/Controller/Customer/Impersonate.php on line 100 and defined in /var/www/html/vendor/wexo/module-login-as-customer/Model/LoginRepository.php:107
Stack trace:
#0 /var/www/html/vendor/wexo/module-login-as-customer/Controller/Customer/Impersonate.php(100): Wexo\LoginAsCustomer\Model\LoginRepository->getByToken(NULL)
#1 /var/www/html/vendor/magento/framework/App/Action/Action.php(108): Wexo\LoginAsCustomer\Controller\Customer\Impersonate->execute()
#2 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#3 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Wexo\LoginAsCustomer\Controller\Customer\Impersonate\Interceptor->___callParent('dispatch', Array)
#4 /var/www/html/vendor/magento/fra in /var/www/html/vendor/wexo/module-login-as-customer/Model/LoginRepository.php on line 107