Since it is still working, for now you can get rid of the error, but long term you may still want to look for a more permanent solution.
Here is an example of suppressing the deprecated errors from php
https://www.godaddy.com/garage/suppr...ted-functions/
You could run a simple test and try disabling the warning in one of your scripts, and if that worked you might want to go with that method for the time, so that you did not suppress other deprecated errors in case other php functions beyond these external scripts might later have an issue.
If that seems to not work, you can suppress the errors from the php.ini file if needed. Changes in php ini file may need you to restart the site so it can read the php configuration again.
A few additional resources that discuss it
https://stackoverflow.com/questions/...in-runtime-php
https://stackoverflow.com/questions/...-wamp/24559940
Rick
Universal4