How to find and resolve PHP related errors in WHMCS? [EASY STEPS]☑️
Today in this WHMCS tutorial you will learn about how to find and resolve all PHP related error in your WHMCS in the most easiest way.
This indicates a fatal PHP error is occurring which stops the execution from being able to continue.
Watch this video and find out the most common causes of these problems and how to identify them & resolve it.
Now coming up to the solution
Enabling Error Reporting
1. Enabling From The Admin Area
Navigate to Setup and then General Settings
Go to Other tab and Tick the Display Errors checkbox located towards the bottom of the page
Click Save Changes
Remember to return here and uncheck Display Errors when you are finished troubleshooting. Leaving error display enabled can be a security concern.
2. Enabling From Your Configuration File
If the error is severe enough, you may find you are unable to login to the admin area. In those situations, there is a manual configuration file flag option that you can add to the configuration.php file in the WHMCS root directory to enable error reporting.
The lines needs to be added at the very end of the configuration.php file, right before the closing PHP tag. if your configuration.php file has one, otherwise just the last line in the file.
$display_errors = true;
Hope this works for you in troubleshooting this most common error in WHMCS.
If you enjoyed this article, please consider following us on Facebook and Twitter.