我今天在wordpress网站上遇到一些奇怪的错误,即使我没有安装/更新任何插件等。到目前为止,我已经尝试禁用所有插件,更改主题甚至检查wordpress文件夹和文件的权限。 / p>
一切看起来都不错。我甚至更新了我的网站的PHP版本从5.6到7.0,并将更新文件限制从8MB增加到16 MB,如wordpress所示,但没有任何效果。这些是我得到的以下错误。
在我的管理页面上
careeing / public_html / oldbookdepot.in / wp-content / themes / twentyfourteen / functions.php):无法打开流:权限被拒绝 第425行/home/careeing/public_html/oldbookdepot.in/wp-settings.php
警告:include():打开失败 '/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php' 包含(include_path ='。:/ opt / alt / php70 / usr / share / pear')in 第425行/home/careeing/public_html/oldbookdepot.in/wp-settings.php
在我的管理员中管理主题页面
警告: include(/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php):无法打开流:权限被拒绝 第425行/home/careeing/public_html/oldbookdepot.in/wp-settings.php
警告:include():打开失败 '/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php' 包含(include_path ='。:/ opt / alt / php70 / usr / share / pear')in 第425行/home/careeing/public_html/oldbookdepot.in/wp-settings.php
警告:发生意外错误。可能有些问题 WordPress.org或此服务器的配置。如果你继续拥有 问题,请尝试支持论坛。 (WordPress不能 建立与WordPress.org的安全连接。请联系您的 服务器管理员。)in /home/careeing/public_html/oldbookdepot.in/wp-includes/update.php on 第499行
在网站主页上
警告: include(/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php):无法打开流:权限被拒绝 第425行/home/careeing/public_html/oldbookdepot.in/wp-settings.php
警告:include():打开失败 '/home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/functions.php' 包含(include_path ='。:/ opt / alt / php70 / usr / share / pear')in 第425行/home/careeing/public_html/oldbookdepot.in/wp-settings.php
致命错误:未捕获错误:调用未定义的函数 twentyfourteen_has_featured_posts()in /home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/page.php:19 堆栈跟踪:#0 /home/careeing/public_html/oldbookdepot.in/wp-includes/template-loader.php(74): include()#1 /home/careeing/public_html/oldbookdepot.in/wp-blog-header.php(19): require_once('/ home / careeing / ...')#2 /home/careeing/public_html/oldbookdepot.in/index.php(17): require('/ home / careeing / ...')#3 {main}引入 /home/careeing/public_html/oldbookdepot.in/wp-content/themes/twentyfourteen/page.php 第19行