Error with "Domains" tool
AnsweredOne of my customers can't use the "Domains" tool. When he goes into it, an error pops up in the top right corner in a red box that says this:
Error: Can't use string ("0") as a HASH ref while "strict refs" in use at /usr/local/cpanel/Cpanel/API/DomainInfo.pm line 132.
Other accounts on the same server seem to work properly, as far as I can tell it's only this one account.
Any ideas?
-
To me, that indicates /var/cpanel/userdata/$username/$domain is corrupt in some small way ( $username being the customer's username and $domain being their main domain name).
So, how to fix? I would just try making a small amendment to the account via WHM to force that file to be regenerated and see if that fixes things.
1 -
Fixed by running this command:
/usr/local/cpanel/bin/userdata_update
0 -
Nice - I'm glad you found a good solution!
0
Please sign in to leave a comment.
Comments
3 comments