How can I fix this deprecation error?

It looks like an error message from the ‘fluent mail’ plugin. So you need to contact the plugin support page.

error code: 523