We are already making the necessary updates so that it won't be an issue with php8.
This is a debug setting that should be turned off in any live hosting scenario. What hosting company do you use?
I'm sure there is a way to turn it off. Worst case scenario you can add code to the individual pages to turn it off.
<?php
ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED);
?>