Reputation: 1
Earlier today we found out a lot of table locks in the database on our production environment, which resulted in 500 errors anywhere randomly in the system. Upon closely debugging, it was found that, there was error_reporting flag set to 0 on of the files, which increased PHP WARNINGS and NOTICES, to so much extent that the app used to crash.
Once we removed this, all 500 errors started to appear in the system, for various business work flows and functions. Is there any magical way to fix it, rather than going to each of this warning and notices, and solve it in the whole code base?
Upvotes: 0
Views: 206