Knowledge Base Article

Site shows PHP warnings / errors

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.



Rating

Please indicate if this article was helpful for you.

rating :  4.5 from 5
views :  3919
votes :  19

Related Articles

Views

Haven't found what you are looking for? Suggest an article HERE.

powered by

Valid XHTML 1.0 Strict Valid CSS!