我在尝试访问通过wordpress创建的网站时收到以下错误:
警告:require_once(/home/wp_s66dqq/keymoneyconcepts.com.au/wp-content/themes/Divi/core/init.php):无法打开流:/ home / wp_s66dqq / keymoneyconcepts中没有此类文件或目录第19行的.com.au / wp-content / themes / Divi / functions.php
致命错误:require_once():无法打开所需' /home/wp_s66dqq/keymoneyconcepts.com.au/wp-content/themes/Divi/core/init.php'第14行/home/wp_s66dqq/keymoneyconcepts.com.au/wp-content/themes/Divi/functions.php中的(include_path ='。:')
这里是functions.php
的摘录<?php
if ( ! isset( $content_width ) ) $content_width = 1080;
function et_setup_theme() {
global $themename, $shortname, $et_store_options_in_one_row, $default_colorscheme;
$themename = 'Divi';
$shortname = 'divi';
$et_store_options_in_one_row = true;
$default_colorscheme = "Default";
$template_directory = get_template_directory();
$theme_version = et_get_theme_version();
define( 'ET_CORE_VERSION', $theme_version );
require_once( $template_directory . '/core/init.php' );
et_core_setup( get_template_directory_uri() );
require_once( $template_directory . '/epanel/custom_functions.php' );
require_once( $template_directory . '/includes/functions/choices.php' );
我可以在指定的路径中查看init.php,它正在尝试查找。当我尝试登录WP的后端时,这些问题往往会消失 - 网站变得可访问。但如果我清除浏览器缓存问题再次出现
有人有任何建议吗?
提前致谢!