i think if you get this message then this means that you are actually not running the most recent ownCloud version 10.13.1 (which is compatible with PHP 7.4).
Could it be possible that you have two installations of ownCloud and the one you are currently accessing is an outdated and not updated one?