Get The Most Affordable Hosting in the World!

Starting at just $1.87/month, Vercaa offers unbeatable pricing for world-class web hosting services.

Fast, reliable, and secure hosting to power your website without breaking the bank. Plus, enjoy a free CDN for faster loading times worldwide!

Get Started Now!

PHP Warning messages should not be displayed under normal usage. Seeing them indicates that a debugging option is switched on. We recommend keeping them off during normal use.

Disabling the Display Errors Option

Navigate to Configuration > System Settings > General Settings (prior to WHMCS 8.0, Setup > General Settings).

Select the Other tab and scroll down to the bottom of the page.

UNtick the Display Errors option.

Select

and click Save Changes.

Disabling Display Errors in configuration.php

The Display Errors option might also be enabled in the configuration.php file. So it's worth checking there too.

Open the configuration.php file in your WHMCS directory on your server.

Look for the following line of code and remove it if present:

$display_errors = true;
 

Save the file and upload to the server.

Changing the PHP Error Reporting Level

If the Display Error options are switched off and you're still seeing warning message, it indicates the Error Reporting level in your server's PHP Configuration is too high. This is a PHP configuration level issue and therefore for shared or reseller users, may require the assistance of your web hosting provider.

In WHM navigate to Service Configuration >> PHP Configuration Editor >> Advanced

Scroll down to the error_reporting setting:

Change the value to:

E_ALL & ~E_WARNING & ~E_USER_WARNING & ~E_NOTICE & ~E_USER_NOTICE & ~E_STRICT & ~E_DEPRECATED & ~E_USER_DEPRECATED
 

Click Save.

 

 

The End! should you have any inquiries, we encourage you to reach out to the Vercaa Support Center without hesitation.

Hai trovato utile questa risposta? 1 Utenti hanno trovato utile questa risposta (1 Voti)