Буквально ничего не делая на сайте, после нескольких дней неиспользования, при попытке авторизоваться появляется такая ошибка:
Fatal error: Uncaught ReflectionException: Method get_site_editor_type does not exist in /usr/home/midas/domains/mydomain.com/public_html/wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php:45
тема-document.php:
protected static function get_site_editor_type_bc() {
static $types = [];
$class_name = static::get_class_full_name();
$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();
}
// _deprecated_function( 'get_name', '3.0.0', 'get_site_editor_type' );
// Fallback, get from class instance name (with caching).
if ( isset( $types[ $class_name ] ) ) {
return $types[ $class_name ];
}
$instance = new static();
$types[ $class_name ] = $instance->get_name();
return $types[ $class_name ];
}
Как я могу решить эту проблему?
@Vel Да, я знаю об этой идее, но мой сайт должен быть доступен постоянно, и отключение других плагинов может вызвать проблемы.
Используете ли вы дополнительный плагин для elementor?
@vel Нет, просто чистый elementor + elementor pro
Пожалуйста, поделитесь информацией о здоровье сайта, если это возможно. imgur.com/Rtkmsba
@vel Проблема в том, что я не могу войти в свою панель инструментов, потому что эта ошибка блокирует меня.
Затем переименуйте папку elementor и elementor pro и имя плагина — используя FTP или cpanel.
@vel Я сделал это, это сработало, я зашел в свою панель управления, и что мне делать дальше? Elementor PRO работает на версии 3.7. Может, откат все исправит? Но как мне сделать откат версии elementor pro?
Надеюсь исправили?

У меня также была эта проблема сегодня, и я решил ее, откатив бесплатную версию Elementor из-за ошибки в недавнем обновлении.
Изменить код
$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();
}
}
Перейдите по адресу: /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php
Закомментируйте строку 47
$method = $reflection->getMethod( 'get_site_editor_type' );
Дождитесь обновления исправления.
Я решил это аналогично Mayous. Я просто закомментировал строку в /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php. Итак, строка 46 была
$method = $reflection->getMethod( 'get_site_editor_type' );
Изменил его на
//$method = $reflection->getMethod( 'get_site_editor_type' );
Правильный путь: /wp-content/plugins/elementor-pro/modules/theme-builder/documents/theme-document.php
Попробуйте деактивировать другие плагины и активировать их один за другим.