There might be a issue with the theme. I would recommend if you please install the previous version of elementor. Maybe it will work.
Thanks for replying. But how can I download the previous version of the plugin?
I installed the previous version but still the same error is coming on the site.
OK, now working. I installed the 3.5.0 version that worked and when I updated to latest one, the error was gone.
Hi,
follow these instructions:
- If you’re locked out of your WordPress dashboard, open the recovery email sent to you from WordPress. Click the link in that email to gain access to your site’s WordPress dashboard once again.
- Deactivate all plugins apart from Elementor. If this helps, reactivate them one by one to find the culprit.
- If this doesn’t work, switch your theme temporarily to the Hello theme and see if that helps.
- If this doesn’t work, make sure to always use the updated version of Elementor.
- If this doesn’t work, make sure your WordPress site meets the basic requirements recommended for Elementor. You can check this in your WP Dashboard > Elementor > System Info. If needed, you can ask your hosting provider to make these changes for you.
Probably Same issue: on client site, “Elementor updated successfully from version 3.8.1 to version 3.10.2” — gave error:
PHP Fatal error: Uncaught Error: Undefined class constant 'DATETIME_CATEGORY' in /wp-content/plugins/elementor/includes/controls/date-time.php:51
Installing version 3.9.1 worked, then updating to 3.9.2, 3.10.0, 3.10.1, 3.10.2 all worked.
Not sure which version needed to go back to, probably wouldn’t have to go so far back; but this worked.
Different site: Elementor updated successfully from version 3.10.0 to version 3.10.2 — worked, no problems.
So, looks like if you have version 3.8.___ then update to 3.9.1 first.
Both client sites were already on WordPress 6.1.1.