AMP Plugin is causing : “The editor has encountered an unexpected error”

That’s what I received from WP:
Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

In this case, WordPress caught an error with one of your plugins, AMP.

First, visit your website (https://Mysite.wpengine.com/) and check for any visible issues. Next, visit the page where the error was caught (https://Mysite/wp-admin/admin-ajax.php) and check for any visible issues.

Please contact your host for assistance with investigating this issue further.

If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.