According to this article written by senior escalation engineer Stefan for SharePoint products and technologies, SharePoint 2013, 2016, and 2019 are supported with .NET Framework 4.8, you should upgrade .NET 4 to the most recent version.
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.