Thanks for responding.
This message is from the openlitespeed admin console of the website I am hosting. I've attached a screenshot showing the notice.
As for the steps to reproduce the error, I'm not entirely sure how to reproduce it exactly, but I'm hosting a WordPress site on PHP 7.3.6.