Apparently, I tried all the different offers provided after a couple of hours of Google search and search on the stack, to no avail, and I can not suppress a large amount of "Deprecated: assigning the return value new by reference is deprecated in" the errors presented at the top of my applications, as well as many. "Warning: the magic method __get () (and __set ()) must have public visibility and cannot be static. So far I have added the following line and many different variations of it to the php.ini file:
error_reporting = E_ALL & ~E_DEPRECATED
error_reporting = E_ALL ^ E_DEPRECATED
I also tried directly suppressing every error:
error_reporting = ~E_ALL
To no avail. I confirmed that it reads the php.ini file correctly, having successfully configured other settings. I also applied the error_reporting () function (with all the different variations of what was said above) in my scripts, and you are out of luck. Does reporting have anything to do with suppression? I tried placing it at the beginning of the first downloadable file, also at the top of the required file, which is called right after the main script is executed, no where it seems to take it.
Scott source
share