That is a deprecated warning and not an actual error. You should be able to turn that off without effecting the functionality of the page. You can either turn it off in the php.ini from your hosting control panel, or turn it off on any individual pages where you see the problem.
error_reporting(E_ALL ^ E_DEPRECATED);