Most of the time, PHP Warnings are nothing to worry. It is mostly happens on shared hosting sites.
Sometimes using the code below that can be found in your wp-config.php isn’t working, you can still see warnings on your WordPress site.
The Solution is we will change the above code into this code. Copy and paste in your wp-config.php.
ini_set('error_reporting', E_ALL );
It will now hide all Warnings and Notices in your? WordPress site.
I hope someone can make this useful.