March 27, 2024
[FIXED] – Fatal Error : Uncaught ReflectionException: Method get_site_editor_type does not exist

About the Issue

If you are using Elementor and Elementor Addons then you may encounter the “Fatal error: Uncaught Error: Class Elementor\Scheme_Typography” Issue.

PHP Fatal error: Uncaught Error: Class ‘Elementor\Scheme_Typography’ not found

After Elementor 3.6, “Class Elementor\Scheme_Typography” is deprecated and throws the Fatal Error “Fatal error: Uncaught Error: Class Elementor\Scheme_Typography”.

This error is due to the Elementor Addons plugin, which is outdated.

FIXED – Fatal error: Uncaught Error: Class Elementor\Scheme_Typography

How to Get Your Website Back Live?

When you encounter the “Fatal error: Uncaught Error: Class Elementor\Scheme_Typography” issue then first you have to find which plugin is causing the issue. To know which plugin is causing this issue, simply go to wp-config and change WP_DEBUG from “false” to “true”.

If you don’t know how to open or navigate to wp-config.php then you can see the steps in the solution. Now, simply rename the plugin which caused the issue. It will re-live the website.

If you want to fix the issue then scroll down to the solutions and follow the steps.

Solution No 1

1- If you can log in to your WordPress admin then install a File Manager Plugin.
2- If you can’t log in to your WordPress admin then you must have FTP or cPanel access.
3- Now access your website via File Manager OR FTP and open the wp-config.php file in the root.
4- Change WP-DEBUG to ‘true’. This will display the error and the file location with a line number.
5- Find “use Elementor\Scheme_Typography;” and replace it with “use Elementor\Core\Schemes\Typography;”
6- Find all “Scheme_Typography::” and change them to “Typography::”.

Solution No 2

1- Create a new folder “mu-plugins” in wp-content.
2- Create a new .php file in mu-plugins folder.
3- Add the below code snippet to the .php file you created and save it.
4- Now your issue will be fixed.

<?php
/**
 * Plugin Name: Elementor Scheme_Typography
 **/

	namespace Elementor;

	\add_action(
	  'plugins_loaded',
	  function() {
	    if ( ! class_exists( 'Elementor\Scheme_Typography' ) ) {
	      class Scheme_Typography extends Core\Schemes\Typography {}
	    }
	  }
	);
?>

Also read this

FIXED – Fatal error: Uncaught Error: Class Elementor\Scheme_Color
[FIXED] – Elementor Not Loading Error – 7 Solutions
[FIXED] – Fatal Error : Uncaught ReflectionException: Method get_site_editor_type does not exist

Leave a Reply

Your email address will not be published. Required fields are marked *