NinjaFirewall 3.6 and WordPress 4.9.2
-
Hi! I’ve researched a problem I’m having where changes made to my theme’s PHP files can’t be saved in the theme editor. This is due to this error:
Unable to communicate back with 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.
This is in turn caused by timeouts reported by cURL. The “Health Check” WordPress plugin (https://www.ads-software.com/plugins/health-check/) reports this:
The loopback request to your site failed, this may prevent WP_Cron from working, along with theme and plugin editors.<br>Error encountered: (0) cURL error 28: Operation timed out after 10002 milliseconds with 0 bytes received Result from testing without any plugins active: The loopback request to your site failed, this may prevent WP_Cron from working, along with theme and plugin editors. Error encountered: (0) cURL error 28: Operation timed out after 10003 milliseconds with 0 bytes received
So, I did some poking around and found if I disable the NinjaFirewall entry in my .user.ini PHP config file, I’m able to get these results from the “Health Check” plugin:
The loopback request to your site failed, this may prevent WP_Cron from working, along with theme and plugin editors.<br>Error encountered: (0) cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received Result from testing without any plugins active: The loopback request to your site completed successfully.
I’ve tried resetting the NinjaFirewall options, disabling it, and just about everything else I can think of outside of uninstalling it and the ONLY thing that appears to help is commenting out the entry from the .user.ini PHP configuration file.
Any ideas on how NinjaFirewall could be interfering with the ability to save changes to theme files using the stock WordPress theme editor?
Thanks!
- The topic ‘NinjaFirewall 3.6 and WordPress 4.9.2’ is closed to new replies.