Title: Error editor functions.php
Last modified: November 8, 2018

---

# Error editor functions.php

 *  [matth94](https://wordpress.org/support/users/matth94/)
 * (@matth94)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/error-editor-functions-php/)
 * Hi,
    I have a problem with the WordPress editor for about a week. If I try to
   modify the functions.php file or the CSS I do not get any type of save and the
   following sentence is presented: “There was an error. Your changes may not have
   been saved. Try again. There is a possibility that you have to manually resolve
   the problem and upload the file via FTP. “. If I upload files via FTP, everything
   works correctly, but I would like to be able to use the editor as well. I have
   already tried to disable all plugins and activate the default theme but the problem
   persists. I also installed the “Health Check & Troubleshooting” plugin to find
   out if there was any other kind of problem but even then everything works correctly.
   By opening the web inspector and trying to save the functions.php file update
   the error that occurs is as follows: <!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML
   2.0//EN”> <html><head> <title>410 Gone</title> </head><body> <h1>Gone</h1> <p
   >The requested resource<br />/wp-admin/admin-ajax.php<br /> is no longer available
   on this server and there is no forwarding address. Please remove all references
   to this resource.</p> </body></html> Thanks.

Viewing 1 replies (of 1 total)

 *  [cleancoded](https://wordpress.org/support/users/cleancoded/)
 * (@cleancoded)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/error-editor-functions-php/#post-10860599)
 * Are you able to upload/update plugins without FTP credentials from the WordPress
   backend area?
 * Assuming you can, here are a couple things you can do to troubleshoot the issue
   you are experiencing:
    1. **Check theme permissions**
    2. If you’re running your site from shared hosting, you’re probably fine here. 
       If you’re using VPS or Cloud hosting, make sure the user account that has access
       to the web server (Nginx or Apache HTTP) also has access to your theme files.
    3. **Are you using any security plugins? **
    4. I know you said after disabling all plugins this issue persisted, but it’s a
       common cause of this error message, so it’s worth repeating to disable those
       while troubleshooting your backend access of the theme editor.
    5. **Are you using cloud-based security WAF? Or Cloudflare?**
    6. If so, try disabling WAF, flush cache and try saving changes through the theme
       editor again. This can happened with Cloudflare, depending on your host and 
       WAF settings, where Cloudflare WAF challenges (does not allow) “Update files”
       requests at the site level (like your WordPress backend dashboard).
    7. You can access your Cloudflare firewall logs from your CF account dashboard.
       If you find this is the cause (you’ll see “challenge” under the “action taken”
       column), you can whitelist your IP in the Cloudflare WAF event details to resolve.

Viewing 1 replies (of 1 total)

The topic ‘Error editor functions.php’ is closed to new replies.

## Tags

 * [410 Gone](https://wordpress.org/support/topic-tag/410-gone/)
 * [admin-ajax](https://wordpress.org/support/topic-tag/admin-ajax/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [editor](https://wordpress.org/support/topic-tag/editor/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [cleancoded](https://wordpress.org/support/users/cleancoded/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/error-editor-functions-php/#post-10860599)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
