Troubleshooting Warning Messages: A Step-by-Step Guide

thumb_up 1  ·  sell Warning message troubleshooting, Resolving warning messages, Troubleshooting warning notifications

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.

2dec11d6-d013-4dbc-86a0-d08e56334f0e.png

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.

4e762d81-532d-4737-85fe-37fdc8ccc8ce.png

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:

8c4b4b77-89f9-40ba-957f-67f0d546565c.png

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.

Was this answer helpful?

Related Articles

description

Step-by-Step Guide to Installing WHMCS

To start using WHMCS, you will need to install it on your server. You may need help from your hosting provider or system administrator…

arrow_forward
description

Configuring cPanel Site Software for WHMCS Integration: A How-To Guide

You can install WHMCS using cPanel's Site Software feature. Before you can perform the installation, a WHM user must enable WHMCS…

arrow_forward
description

Effortless WHMCS Installation Using cPanel Site Software: A Step-by-Step Tutorial

You can install WHMCS easily using cPanel's Site Software feature. To do this: 1. If you have not already done so, configure…

arrow_forward
description

Configuring WHMCS Cron Jobs: Step-by-Step Setup Guide

You will need to configure the cron job as soon as you finish installing WHMCS. The cron job executes WHMCS's automation tasks,…

arrow_forward
description

Customizing the WHMCS Cron Schedule: Configuration Guide

The WHMCS cron job performs many of the automated tasks for your WHMCS installation. You can customize when and how often it runs…

arrow_forward
arrow_back « Back