I am unable to edit any pages/posts on my website. If I try to I get the error: The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.
By disabling plugins I have established it is WPML causing the problem.
Can you advise how I can fix please? I am also copying an email below with further info.
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, WPML String Translation.
First, visit your website (hidden link) and check for any visible issues. Next, visit the page where the error was caught (hidden link) 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.
To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires.
An error of type E_ERROR was caused in line 46 of the file /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/translations-file/wpml-st-translations-file-locale.php. Error message: Uncaught RuntimeException: Language of /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/gravityforms/languages/gravityforms-en_US-gform_editor_block_form.json cannot be recognized in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/translations-file/wpml-st-translations-file-locale.php:46
#0 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wpml-string-translation/classes/jed-translations/wpml-st-script-translations-hooks.php(84): WPML_ST_Translations_File_Locale->get()
#1 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wpml-string-translation/classes/jed-translations/wpml-st-script-translations-hooks.php(38): WPML_ST_Script_Translations_Hooks->get_file_locale('/var/www/vhosts...')
#2 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(286): WPML_ST_Script_Translations_Hooks->override_jed_file('/var/www/vhosts...', 'gform_editor_bl...', 'gravityforms')