Shity wordpress error

Nut-Nights

Elite Member
Executive VIP
Jr. VIP
Joined
Jun 20, 2013
Messages
11,503
Reaction score
8,911
So whenever I am trying to edit my wordpress theme files I am getting this error

4wHE7qK


Wordfence is installed, OVH VPS, Wordpress latest version.

Any solution?
 
Check if ur ip is under restriction to file edit in wordfence. Try disabling wordfence & check if its working.
 
Last edited:
Permission issue would check that , might be server side you need to dig , play with options if this wont work ask ovh , they can check if its linux side , but i would bet on your WP options
 
That "manually replacing the file thing". you don't by any chance have a back up on your computer? Otherwise: your stuck with replacing the file from a new download of the theme, which is likely to cause other errors as well as deleting content.

Try copying the whole theme from the server as is, and, see if you can save the changes in local host. This probably won't fix it, but, it will allow you to make test edits w/out plugins and get some progress on diagnosing.
 
Is this a Linux server? Seems like Wordpress doesn't have access to your theme files.

Try running
Code:
sudo chown -r whoevercurrentuseris:www-data *
Inside the theme folder. www-data is the web user.
Untested. Use with caution :)
 
Hey buddy,

A few things to check. This is a really general error notification, so it's hard to determine what's causing the issue.
Please check:
  • Your theme (and it's folder) permissions.
  • Please check your logs of Wordfence (many security plugins are causing trouble) - if you keep getting the general issue, disable the WF plugin temporary.
GL. :)
 
Error fixed by disabling one security plugin. I hate wordpress.
 
Back
Top