I did and yes, it's not working. I also installed 3 debug bar plugins to confirm adn troubleshoot and foud that WOFF and WOFF2 are already allowed by executing
get_allowed_mime_types();. It could be that there is a part of your site or host that blocks those files that even Wordpress can't override. Is there any? This works fine on my installations.
For the meantime, please upgrade your PHP version to 7.2, it's now the recommended version for Wordpress since you have updated it to 5.0.2. I recommend contacting your hosting and request for PHP upgrade.