Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress unable to communicate back to site

Tags:

php

echo

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>    

I keep getting the following message:

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.

like image 731
ray Avatar asked Dec 16 '25 19:12

ray


1 Answers

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

FROM

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

TO

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

It will work.

like image 117
Vatsal Shah Avatar answered Dec 19 '25 12:12

Vatsal Shah



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!