When modifying a particular account under Modify Account in cPanel, the error “Unable to fetch the cPanel user file for username” occurs
Solution:
(1) First, you need to make sure the cPanel user file is there
cd /var/cpanel/users
ls -lah username
(2) Make sure the permission is correct
-rw-r—– 1 root username 000 Jan 0 00:00 username
(3) Then run the cPanel command
/scripts/updateuserdomains
If it still can not solve! Use the hard way, manual way. Open the cPanel user file and edit it manually(either owner or etc), and go back to WHM and modify the account again. If should be done now. 🙂