Can't use string ("2.1") as a HASH ref

javaidvip

Registered
Mar 13, 2011
4
0
51
hi my forum capnel have 1 error
when i loign cpanel in left site show NOtices

Can't use string ("2.1") as a HASH ref while "strict refs" in use at /usr/local/cpanel/Cpanel/Email.pm line 3538, <GEN103> line 38.
Cpanel::Email::api2_listpopswithdisk('nearquotaonly', 1, 'maxaccts', 100, 'no_validate', 1) called at (eval 68) line 1
eval '$dataref = [Cpanel::Email::api2_listpopswithdisk(%CFG)];' called at cpanel.pl line 5011
main::api2_exec('Email', 'listpopswithdisk', 'HASH(0xbb5da9c)', 'HASH(0x91de00c)') called at cpanel.pl line 1484
main::cpexectag('<?cp Email::listpopswithdisk([li class="warning"][strong]$LANG{\...') called at cpanel.pl line 4808
main::dotag(undef) called at cpanel.pl line 4691
main::cpanel_parseblock('SCALAR(0xb30ab80)') called at cpanel.pl line 4643
main::cpanel_parse('GLOB(0xaedc844)') called at cpanel.pl line 2878
main::doinclude('/usr/local/cpanel/base/frontend/x3/branding//index.html', 0, 1) called at /usr/local/cpanel/Cpanel/Branding.pm line 95
Cpanel::Branding::Branding_include('index.html') called at (eval 7) line 1
eval 'Cpanel::Branding::Branding_include(@{$argref});' called at cpanel.pl line 1660
main::exectag('<cpanel Branding="include(index.html)">') called at cpanel.pl line 4808
main::dotag(undef) called at cpanel.pl line 4691
main::cpanel_parseblock('SCALAR(0x9196a80)') called at cpanel.pl line 4643
main::cpanel_parse('GLOB(0xae9b4dc)') called at cpanel.pl line 1318
 

javaidvip

Registered
Mar 13, 2011
4
0
51
re: Can't use string ("2.1") as a HASH ref

in WHM cpanel


cPanel Theme Manager
Manage cPanel Themes
Theme Type Clone Download Delete
x3 Select
x Select
x2 Select
default Select
xmail Select
advanced Select
x3mail Select

x3 already by default
 
Last edited:

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
42
348
somewhere over the rainbow
cPanel Access Level
Root Administrator
If that does not resolve the issue, please move the x3 folder and force a cPanel update if you are the host of the machine:

Code:
mv /usr/local/cpanel/base/frontend/x3 /usr/local/cpanel/base/frontend/x3.bak
/scripts/upcp --force
If that does not work, do other accounts have this issue or only this one account?

If you are not the hosting provider, please have your hosting provider do the above steps. The hosting provider is welcome to open up a ticket with us otherwise using WHM > Support Center > Contact cPanel or via the link in my signature.