I have some old (really old) code that was transferred to a different host. The old code was using an framework I wrote in PHP4 that unfortunately used a lot of references (terrible, I know). Anyway, of course I am getting a ton of the return by reference and pass by reference errors, that are choking the server logs.
The code really should be fixed, but that will take a great deal of time and effort. So for now I wanted to disable the errors in the logs, but, that’s just the thing - they are errors in the logs, and not notices. I was under the impression that these were supposed to be notices, not errors? So in other words, the php.ini currently has:
Yes ideally the plan is to fix the code, but it will take some time. Grep them out, seriously? :goof: I’m just keen to know why PHP is logging them as errors and not notices in the first place. If I can turn them off at the source, that’s a better albeit temporary course of action, don’t you think?