Fixing - strict standards non-static method

Jun 4, 2015
18
0
1
India
cPanel Access Level
Root Administrator
Hi,

I have 3-4 dedicated server all with cpanel installed.

I am running some scripts, but all of them return strict standards non-static method.
I have disabled error return in php configuration, but I want to know the reason for it.

is there any way to fix this issue ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Yes, you can update the PHP coding of the script to use a static method. Or, if you are using a script such as Joomla, you can ensure you are using the latest version of the script.

Thank you.
 
Jun 4, 2015
18
0
1
India
cPanel Access Level
Root Administrator
Hi,

the script I am using wasn't made by me, it's a open source script but not easy to modify.

is this error permanent ?

I have seen this error on cpanel only, I tried centos webpanel earlier and it didn't had that error.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,218
463
Hello,

The error message stems from PHP, not cPanel. It's likely the other server was using an older version of PHP, or the error reporting configuration was different in the default php.ini file.

Thank you.