Symptoms
WHM won't load with the following error:
undef error - Can't locate object method "get_driver_name" via package "Cpanel::Config::ConfigObj::Driver::ConfigServercsf::META" at /usr/local/cpanel/Cpanel/Config/ConfigObj.pm line 185.
Cause
A fork of the discontinued CSF was installed, and not the cPanel-provided fork.
Resolution
- Log in to the server via SSH or WHM's Terminal as the
rootuser -
Move aside the problematic CSF files:
mkdir -pv /root/csf_discontinued; mv -v /usr/local/cpanel/Cpanel/Config/ConfigObj/Driver/ConfigServercsf* /root/csf_discontinued/
Additional Resources
How to Install ConfigServer Security & Firewall (CSF) | cPanel & WHM Documentation