GICT knowledge base
cPanel error viewing CloudLinux stats
Published
When cpanel + cloudlinux lvestats within cpanel shows the below error :
Modification of non-creatable array value attempted, subscript -1 at /usr/local/cpanel/Cpanel/LVEInfo.pm line 573.
...caught at cpanel.pl line 1813.
at cpanel.pl line 1813.
cpanel::cpanel::_api1("LVEInfo", "lveinfo", "print_usage_overview()", "print_usage_overview", ARRAY(0x6e46278), "safe_html_encode") called at /usr/local/cpanel/Cpanel/Template/Plugin/Api1.pm line 94
eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/Api1.pm line 94
The fix is to reset the lveinfo.db db. However, this will reset the stats so on the next page load there will not be stats for the last 24 hours.
To reset the db:
$ service lvestats stop $ mv /var/lve/lveinfo.db /root $ service lvestats restart; cldetect --update-license If you need any further assistance please contact our support department.
Related guides
Host Additional Domains on an Eligible InterServer Account
Check your hosting limits, choose a separate site or alias and use cPanel or DirectAdmin with deliberate DNS, content and certificate verification.
cPanelHardening Your cPanel Server: Beyond the Basics After CVE-2026-41940
Security is a moving target. With the recent discovery of CVE-2026-41940, it has become clear that just having a firewall isn't enough anymore.
cPanelcPanel and Plesk notice: Awstats,. Webalizer and Analog stats are being removed
Important Update: cPanel and Plesk Phasing Out Legacy Statistics Tools If you regularly check your website traffic through your hosting control panel, we have an...
cPanelThe dangers of shared licenses (in other words unofficial/cracked licenses)
Why Cracked cPanel Licenses Aren’t Worth the Risk: A Guide for InterServer Customers When you’re managing a server, every dollar counts.
