Disable error from your Joomla Admin Panel > Global Configuration. If this does not work for your site then add following lines in to .htaccess file to disable PHP errors:
php_flag display_startup_errors off
php_flag display_errors off
php_flag html_errors off
4 thoughts on “How to hide PHP errors on your Joomla site?”
That results in 500 error on main page
i have added these lines under the line
what should i do ?
Hello I am so grateful I found your webpage, I really found you by accident, while I was researching
on Digg for something else, Anyhow I am here now and would just like to say many thanks for a fantastic post and a all round interesting blog (I also love the theme/design), I don’t
have time to read through it all at the moment but I have book-marked it and also added your RSS feeds, so when I have time I will be
back to read much more, Please do keep up the superb work.
You certainly understand what you’re referring to, thanks for the info.
I think you should make a video about this on YouTube…