Below is the full context of this fatal error.
Fatal error: Uncaught ReflectionException: Method get_site_editor_type does not exist’
The good news is that we can give you the exact thing that you need to do to get this fixed quickly and your website functioning again.
– Connect to your website files using FTP or your hosting control panel
– Navigate to the file path /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php
$reflection = new \ReflectionClass( $class_name ); //45 line
$method = $reflection->getMethod( 'get_site_editor_type' );
// It's own method, use it.
if ( $class_name === $method->class ) {
return static::get_site_editor_type();
}
if (method_exists($class_name, "get_site_editor_type")) {
$reflection = new \ReflectionClass( $class_name );
$method = $reflection->getMethod( 'get_site_editor_type' );
// It's own method, use it.
if ( $class_name === $method->class ) {
return static::get_site_editor_type();
}
}