We were receiving following error in WHM while clicking “List Accounts” ->”All” link:
Can’t use an undefined value as an ARRAY reference at /usr/lib/perl5/site_perl/5.6.2/x86_64-linux/YAML/Syck.pm line 72
For some reason, I have found that one of the domains hosted on the server was having invalid entry for CONTACTEMAIL field in /var/cpanel/users/user file. I have followed below steps to resolve this error:
I hope this will help others who may be facing similar issue.