php - wordpress 错误没有这样的文件或目录 wp-settings.php 第 174 行
问题描述
我的网站有问题。在出现此错误之前我所做的是我安装了两个插件并尝试将WordPress升级到5.7。我认为问题在于升级。我确实重命名了插件文件夹,但我仍然面临同样的问题。
警告:需要(/home/vol9_8/unaux.com/unaux_ ******** /htdocs/wp-includes/https-detection.php):无法打开流:/home/中没有这样的文件或目录vol9_8/unaux.com/unaux_ ******** /htdocs/wp-settings.php 第 174 行
致命错误:require():打开失败需要'/home/vol9_8/unaux.com/unaux_ ******** /htdocs/wp-includes/https-detection.php' (include_path='.:/usr /share/pear/') 在/home/vol9_8/unaux.com/unaux_ ********* /htdocs/wp-settings.php 第 174 行
解决方案
去档案。wp-settings.php 并删除第 174 和 175 行
//需要 ABSPATH 。WPINC 。'/https-detection.php';
//需要ABSPATH。WPINC 。'/https-migration.php';
推荐阅读
- java - Base 64 编码问题。(意外的加号)
- ios - Swift 线程 1:EXC_BAD_INSTRUCTION(代码=EXC_I386_INVOP,子代码=0x0)
- node.js - 似乎无法在“连接”之外的命名空间中的 socketio 中接收来自客户端的事件
- git - 我可以将更改的文件添加到已合并的 gerrit 中吗?
- mysql - 在 MySQL 中同时插入的行的插入触发器出错之前?
- pandas - 获取某些熊猫数据框会导致循环语句
- sql - Presto 按常用名称划分行对
- mysql - 为什么会发生插入错误 1062,虽然它不应该发生?
- freeradius - FreeRADIUS 错误由于配置不安全而拒绝启动
- java - 如何使用嵌套的 forEach 循环跳出 while 循环?