Home
/
Website Help
/
PHP Questions
/
Why is my site showing PHP warnings / errors?

Why is my site showing PHP warnings / errors?

PHP warnings/errors show for various reasons. If you get such PHP messages on your website, do the following:

1. If it is just a warning and your scripts work properly, 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 Site Tools > Site > File Manager.

Place this file in every folder where the custom settings have to apply.

2. Try to resolve the issue. PHP warning/error messages are quite descriptive and often the solution for the issue is in the message. You can also Google-search for possible solutions to your problem. Almost certainly someone before you has had the same problem and found a solution for it.

Share This Article