If you do not want PHP errors to be displayed on your website, all you need to do is open Hosting → Manage → PHP configuration:
Once there, open the PHP Options page and remove a checkmark from display_errors parameter. If you do not want errors to be logged as well, remove a checkmark from log_errors as well:
Make sure to save changes before leaving the page 😊
If the mentioned parameters were not chosen or errors keep displaying even while after disabling, check additional options of disabling errors.