PHP warnings / errors show for various reasons. In case you get such PHP messages on your website, you can do the following:
1) If it is just a warning and your scripts work properly you can disable the php warnings. This can be done with a custom php.ini file containing the following line:
display_errors = off
You can create this file using your cPanel > File Manager.
Please note that you should place this file in every folder where you need the custom settings to apply.
2) Try to resolve the issue. PHP warning / error messages are quite descriptive and you can often find the solution for the issue in the message. You can also Google-search for possible solutions of your problem. Almost certainly someone before you has had the same problem and found a solution for it.
- 0 Utenti hanno trovato utile questa risposta
Articoli Correlati
How to solve “Reported Attack Site!” ?
If you see this on your website, it means your website is already compromised and flagged by...
HTTP Error – Bad Gateway
This error indicates a server side problem. Please log in your Client Area and check if there are...
HTTP error codes explained
There are multiple HTTP codes that you may come across. Below you can find a summary of the most...
I’m getting a ‘MySQL server has gone away’ error in my application
There are two main reasons for this error message to show:1) The MySQL query you are trying to...
My application cannot connect to my database.
If your application cannot connect to the database you should make sure that: Your application...