Venicius Holanda Posted October 2, 2021 Share Posted October 2, 2021 guys has anyone had this error? he's about to drive me crazy! Oops! Something went wrong and we couldn't process your request. Please go back to the previous page and try again. For additional assistance, please reference the WHMCS TroubleShooting Guide » TypeError: Argument 1 passed to WHMCS\User\Validation\ValidationCom\ValidationCom::getSubmitUrlForUser() must be an instance of WHMCS\User\User, null given, called in /var/www/html/cart.php on line 0 and defined in /var/www/html/vendor/whmcs/whmcs-foundation/lib/User/Validation/ValidationCom/ValidationCom.php:0 Stack trace: #0 /var/www/html/cart.php(0): WHMCS\User\Validation\ValidationCom\ValidationCom->getSubmitUrlForUser(NULL) #1 {main} 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted October 6, 2021 WHMCS Support Manager Share Posted October 6, 2021 Hi there, Thanks for reporting this error. We have logged case CORE-17088 internally for this to be investigated and resolved in a future update. In the meantime this can be worked-around by Unticking the "Force Client Users to enable Two Factor Authentication on Next Login" option at Configuration > System Settings > Two Factor Authentication. Once we resolve cases and push features they are available at our change log, here: https://changelog.whmcs.com/ I apologize for the inconvenience, and appreciate your patience as we work to resolve this. 0 Quote Link to comment Share on other sites More sharing options...
Gurmeet singh Posted July 3, 2023 Share Posted July 3, 2023 I've unchecked the "Force Client Users to enable Two Factor Authentication on Next Login" option but still getting the same error while a fraud order is being placed. Could you please review ? Quote TypeError: Argument 1 passed to WHMCS\User\Validation\ValidationCom\ValidationCom::getSubmitUrlForUser() must be an instance of WHMCS\User\User, null given, called in /whmcs/cart.php on line 0 and defined in /whmcs/vendor/whmcs/whmcs-foundation/lib/User/Validation/ValidationCom/ValidationCom.php:0 Stack trace: #0 /whmcs/cart.php(0): WHMCS\User\Validation\ValidationCom\ValidationCom->getSubmitUrlForUser() #1 {main} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.