Fatal error: Uncaught ReflectionException: Method get_site_editor_type does not exist
If you have updated the Elementor-Pro plugin, it may happen that after a successful update, some features such as logging into the administration stop working. This will result in an error message similar to the following: Fatal error: Uncaught ReflectionException: Method get_site_editor_type does not exist in /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:48
Elementor in WordPressElementor is a WordPress extension that allows you to create web pages using an intuitive visual editor. With this plugin, you can easily create and modify pages without the need for coding knowledge.
Using Elementor, you can create different types of content such as pages, posts, headers, and footers. You can also use its tools to create forms, display posts and galleries.
Elementor offers a wide range of elements that you can easily add to your pages, such as text blocks, images, videos, buttons, and much more. You can easily drag and drop these elements and modify them according to your needs.
Another great advantage of Elementor is its support for responsive design. This means that you can easily create pages that automatically adjust to different screen sizes, such as mobile phones and tablets.
The solution is quite simple. Log in to the FTP of your website and go to the folder:
Here, open the PHP script named theme-document.php.
Find line 48, which contains the following function:
$method = $reflection->getMethod( ‘get_site_editor_type’ );
Comment out this function using the // characters and save the changes. Once the function is commented out, the administration and website will be accessible again.
More content about WordPress
Je mi líto, že pro Vás nebyl článek užitečný.
Jak mohu vylepšit článek?
Řekněte mi, jak jej mohu zlepšit.