Ошибка в WordPress с плагином ReactpressPhp

Кемеровские программисты php общаются здесь
Anonymous
Ошибка в WordPress с плагином Reactpress

Сообщение Anonymous »

Я использую WordPress версии 5.7.2, и когда я обновляю его до версии php 7.4.19, я получаю следующие ошибки:
Не удалось открыть «default» для включения (include_path='.:/usr/lib/php7.4') wp-includes/template-loader.php в строке 106
Предупреждение: include(default): не удалось открыть поток: Нет такого файла или каталога в /homepages/1/d229455270/htdocs/clickandbuilds/WordPress/DaseCMS/wp-includes/template-loader.php в строке 106.
Это происходит, когда я активирую плагин Reactpress. Вот фрагмент кода, в котором возникает ошибка:

Код: Выделить всё

/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;  //Error in this line
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
Почему это происходит? Как я могу это исправить? Я вижу, что это совместимо с моей версией WordPress...
Изображение

И с моей версией php...
Изображение

Заранее спасибо

Подробнее здесь: https://stackoverflow.com/questions/676 ... reactpress

Вернуться в «Php»