Question

How to fix Scrape key check failed on WordPress using LAMP droplet?

I create a LAMP server and the I installed WordPress. Everything was working ok, so I created a snapshot of the current state.

After I migrated the site to the new server, and then I receive I critical error from the website from the “PHP Code Widget” plugin that I had on the original server. So, I removed the plugin, and then the site worked.

Then I received the error “Scrape key check failed. Please try again” when trying to save a PHP file with the WordPress Theme editor.

I know it’s not ideal, but it should work nonetheless because then it means that there’s a problem.

So, I disabled all the plugins, and I still get the same error.

I changed the theme and I ended up with the same error.

I have a cache plugin w3 total cache, so I disabled it too and deleted the cache, and I continued with the same error.

So, then I decided to delete the VPS and create a new VPS, so tried to create another server with the snapshot I created, and now without doing anything I receive the error “Scrape key check failed. Please try again” when trying to save a PHP file with the WordPress Theme editor. So, I don’t get it, if it worked before, why I’m getting the error now when I haven’t even transferred anything from the old server yet.

So, I created another VPS, but this time, I created another VPS using a clean LAMP image provided by DigitalOcean. Then I installed WordPress, and this is supposed to work, right? Wrong, I haven’t done anything and every VPS I create from this point forward, I will receive the error “Scrape key check failed. Please try again” when trying to save a PHP file with the WordPress Theme editor.

Also, I’ve been using Chrome and Firefox in incognito mode for this process. I switched computers. and I have even tried a different internet connection with a different computer to end with the same error. The thing is now, I can’t even create a brand new VPS without running into the issue. Any ideas on how to fix this problem? Thanks,


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

I could suggest checking your PHP and Apache error logs to see if there is some more information regarding that error.

You can check the log with the following command:

  1. sudo tail -100 /var/log/apache2/error.log

Feel free to share the log here.

Best,

Bobby