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 WordPress
Elementor 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.
For users with advanced coding knowledge, Elementor also offers the ability to add custom CSS and JavaScript codes. Overall, it can be said that Elementor is a very useful tool for creating web pages in WordPress. With its help, you can easily create and modify pages without the need for coding knowledge.
The solution is quite simple. Log in to the FTP of your website and go to the folder:
/wp-content/plugins/elementor-pro/modules/theme-builder/documents/
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.
Byl pro Vás tento článek užitečný?
Klikni na počet hvězd pro hlasování.
Průměrné hodnocení. 0 / 5. Počet hlasování: 0
Zatím nehodnoceno! Buďte první
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.