我在尝试进入我的 WordPress 的某些页面时收到了这条奇怪的消息。
警告:require_once(/home3/alexismoyano/calendario/calendario/wp-content/themes/twentynineteen/includes/bootstrap.php):无法打开流:/home3/alexismoyano/calendario/calendario/wp-中没有这样的文件或目录第 51 行的 content/themes/Avada/functions.php
致命错误:require_once():打开失败需要'/home3/alexismoyano/calendario/calendario/wp-content/themes/twentynineteen/includes/bootstrap.php' (include_path='.:/opt/php70/lib/php')在第 51 行的 /home3/alexismoyano/calendario/calendario/wp-content/themes/Avada/functions.php
我不明白它可能是什么,它似乎与主题“Twentnineteen”有关,尽管我什至没有使用它。
这是第 51 行的内容:
This is what it says on line 51:
第 51 行:“require_once get_template_directory().'/includes/bootstrap.php';”
/**
* Check that the site meets the minimum requirements for the theme before proceeding.
* @since 6.0
*/
if ( version_compare( $GLOBALS['wp_version'], AVADA_MIN_WP_VER_REQUIRED, '<' ) || version_compare( PHP_VERSION, AVADA_MIN_PHP_VER_REQUIRED, '<' ) ) {
require_once get_template_directory() . '/includes/bootstrap-compat.php';
return;
}
/**
* Bootstrap the theme.
*
* @since 6.0
*/
require_once get_template_directory() . '/includes/bootstrap.php';
有人知道我该如何解决吗?