Web Hosting Knowledge Base
While opening WP Toolkit from WHM as root or from cPanel, you may end up with the following error message:
Error: Initial data load error: some required fields are not provided

The error occurs when one or more of WP Toolkit’s required files are corrupted or missing. Reinstalling the associated packages will fix this error message. Following are the step to resolve this WP Toolkit error on RHEL based and Ubuntu systems:
Steps to resolve “Error: Initial data load error”
1. Login to your server via command line (SSH or “Terminal” in WHM) as the ‘root’ user.
2. Verify if the plesk-lmlib
package is installed.
- RHEL based systems
rpm -q plesk-lmlib
- Ubuntu systems
dpkg-query -W plesk-lmlib
3. Install plesk-lmlib
package if it is not installed
- CentOS 7 or CloudLinux 6/7
yum install plesk-lmlib
- AlmaLinux 8/9, CloudLinux 8/9, or Rocky Linux 8/9
dnf install plesk-lmlib
- Ubuntu
apt-get install plesk-lmlib
4. Reinstall the sw-engine
and wp-toolkit-cpanel
packages.
- CentOS 7 or CloudLinux 6/7
yum reinstall sw-engine wp-toolkit-cpanel
- AlmaLinux 8/9, CloudLinux 8/9, or Rocky Linux 8/9
dnf reinstall sw-engine wp-toolkit-cpanel
- Ubuntu
apt-get install --reinstall sw-engine wp-toolkit-cpanel
Now you should be able to access WP Toolkit from WHM or cPanel without any error message.