WordPress无法通讯回网站 [英] Wordpress unable to communicate back to site

查看:87
本文介绍了WordPress无法通讯回网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试添加搜索框,到目前为止,我的代码是:

I am trying to add a search box and the code I have so far is :

<div id="search"style="float-right;padding-right:30px;padding-top:25px;height:50px;width:500px">
<?php echo do_shortcode('wpdreams_ajaxsearchlite]')?></div>    

我一直收到以下消息:


无法与站点进行通讯以检查致命错误,因此恢复了PHP更改。您将需要通过其他方式上传PHP文件更改,例如使用SFTP。

Unable to communicate back with the site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.


推荐答案

更改wp-admin / includes / file.php的第492行:

Change line 492 of wp-admin/includes/file.php:

FROM

如果( $ is_active&&'php'=== $ extension){

if ( $is_active && 'php' === $extension ) {

TO

if($ is_active&&'php'=== $ extension&& false){

if ( $is_active && 'php' === $extension && false) {

它将起作用。

这篇关于WordPress无法通讯回网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆