Hi arundf
This is a warning and not an error due to the php version installed on your server, you can hide it from global configuration setting disply errors to None. Website functionality are not affected, i cannot replicate also this warning on my local installation test with php 7.2