I wonder about if deprecated php errors can totally be avoided? My PHP knowledge is limited. My understanding is that something being deprecated in PHP means it's old and should not be used anymore. If right, would rewriting the code help in avoiding such errors/warnings showing up in server logs?
Thanks