Nextcloud 18 supports PHP 7.4.x, I’m not aware about any major differences between 7.4 and 7.4.1.
I don’t catch how your initial question is related to the mentioned error message.
Make sure that you install and configure all required PHP module for the cli and web component and the message shouldn’t be shown anymore.