Problem
When clicking Login to Control Panel for a Plesk service, you encounter the following error message:
Plesk API Response: Plesk_Manager_V163::_getSsoRedirectUrl(): Argument #2 ($username) must be of type string, null given, called in /path/to/whmcs/modules/servers.plesk/lib/Plesk/Manager/Base.php on line 0
Cause
You have set the hosting service’s product type to Other. The Other product type does not support single sign-on.
Solution
To resolve this issue, change the Product Type setting:
- Go to Configuration () > System Settings > Products/Services.
- Edit the desired product.
- For Product Type, select Shared Hosting or Reseller Hosting.
- Click Save Changes.
Last modified: November 12, 2024