bradgrafelman;11021553 wrote:Probably near the top; at the very least, put it before any of your out-of-date, deprecated code gets executed. 😉
If there is some sort of central config file or something similar that all of the 'photopost' scripts include/require, you could potentially get away with only modifying that.
However, rather than all of these modifications... why not just modify your php.ini file to: 1) exclude E_DEPRECATED from error_reporting, 2) turn off display_errors, and 3) turn on log_errors?
I could do that. I just don't know how to write the code.
I added the below to the photopost index file with nothing before the error reporting:
error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
I put the below in the public_html index file:
error_r
eporting(E_ALL & ~E_NOTICE & ~8192 & ~E_DEPRECATED);
Is there a way just to fix all these errors? I'm going to start removing that & in those lines above and see how that goes. I guess I'll still get that class_core error as I don't know what to do with that one.
I just got the photopost login info and will see if I can get an update for php5 to see if that fixes things too.
Thanks for having patience with me as this is all new for me.