How To Fix TypeError: (0 , o.createPortal) is not a function in WordPress

I like to use Beaver Builder as a page builder. Occasionally you need to edit a page to review Yoast SEO fields or unpublished or set to draft.

I recently did this an encountered an error.

Wordpress edit screen error

When I copied the error and pasted into my IDE I saw the following. 

TypeError: (0 , o.createPortal) is not a function at t.default (https://www.staging3.appliedc.com/wp-content/plugins/wordpress-seo/js/dist/wp-seo-post-scraper-970.min.js?ver=9.7:5:63916) at ph (https://www.staging3.appliedc.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:97:88) at eg (https://www.staging3.appliedc.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:125:307) at fg (https://www.staging3.appliedc.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:126:168) at wc (https://www.staging3.appliedc.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:138:237) at fa (https://www.staging3.appliedc.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:137:115) at gg (https://www.staging3.appliedc.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:135:196) at Ca (https://www.staging3.appliedc.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:133:365) at Object.enqueueSetState (https://www.staging3.appliedc.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.6.3:191:324) at r.q.setState (https://www.staging3.appliedc.com/wp-includes/js/dist/vendor/react.min.js?ver=16.6.3:20:304)

How To Fix TypeError: (0 , o.createPortal) is not a function

To fix this issue I installed the classic editor and voila, I am now able to edit Yoast SEO fields without error and still use Beaver Builder for my page building activities.