只是一个新手的问题,但我不知道该如何处理这个错误。
http://mobitel.esy.es/
警告: include_once(/home/u320415047/public_html/wp-content/themes/thestore/lib/thestore-metaboxes.php):未能打开流:第8行的/home/u320415047/public_html/wp-content/themes/thestore/functions.php中没有这样的文件或目录 警告:'/home/u320415047/public_html/wp-content/themes/thestore/lib/thestore-metaboxes.php‘():在第8行的/home/u320415047/public_html/wp-content/themes/thestore/functions.php中打开包含/home/u320415047/public_html/wp-content/themes/thestore/functions.php的include_once(包含_path=’.:/opt/php-5.5/pear‘)失败 警告: include_once(/home/u320415047/public_html/wp-content/themes/thestore/lib/custom-config.php):未能打开流:第9行的/home/u320415047/public_html/wp-content/themes/thestore/functions.php中没有这样的文件或目录 警告:'/home/u320415047/public_html/wp-content/themes/thestore/lib/custom-config.php‘():在第9行的/home/u320415047/public_html/wp-content/themes/thestore/functions.php中打开包含/home/u320415047/public_html/wp-content/themes/thestore/functions.php的include_once(包含_path=’.:/opt/php-5.5/pear‘)失败
发布于 2016-10-19 14:48:49
看起来你的主题的一部分被破坏或上传不当。它告诉你你丢失了一些它试图包括的文件:
重复检查这些文件是否存在,如果没有,请重新安装您的主题。
发布于 2016-10-19 14:56:39
在wordpress中,当您在functions.php中包含文件时,必须使用内置的get_template_directory()函数引用正确的文件路径
include( get_template_directory() .'/file.php' );https://stackoverflow.com/questions/40134709
复制相似问题