"Ancora Imparo" - I'm still learning (Michelangelo at 87)

How to Fix “Are you sure you want to do this?” Error in WordPress

Getting “Are you sure you want to do this” error in WordPress? You are in the right place as this article will reveal how to fix the issue with few simple steps.

Check Site Security

Most times, you get the error when you try to finalise an action that requires specific user permissions, but WordPress is unable to verify that you have access to do that. WordPress makes use of security tokens called nonces. If WordPress can’t verify these tokens, the error will display.

Generate new Security Keys

To fix this error, you can generate new security keys using the  WordPress Security Key Generator. What you need to do is to copy the whole output and paste it in your wp-config.php file.

Plugin or Theme Upload Error

If you get the error when trying to upload a plugin or theme, there may be a problem with the zip file. To fix the issue, take the following steps:

  1. Go to cPanel > File Manager
  2. Look for the public_html folder and open the wp-content folder.
  3. If you are uploading a plugin, go to the plugin folder. If you are uploading a theme, open the theme folder. Upload your plugin or theme zip file in there and unzip the file. After that, delete the zip file.
  4. Go to the wp-admin dashboard to activate the theme or plugin. That’s all!

Other Solutions

The other solutions you can try are popular actions like:

  • Increasing your PHP Memory Limit
  • Clearing caches and cookies
  • Deactivating theme and plugins

Share on

About the Autor

Jamiu Idowu

Jamiu Idowu

Entrepreneur seeking to shape the world through IT and emerging technologies. Enjoys research and technical writing, and can serve as a bridge between technology and its users.

Liked this article?

We have a lot more where that came from!
Join the subscribers who stay ahead of the pack.

By entering your email, you agree to our Terms of Service and Privacy Policy.

Want to make your life easier?

Use Testup,  the easiest test automation tool on the web. Don’t hesitate and 

Free Webinar

Uncover the secrets of automated testing in the free webinar.

Revolutionize Your Testing Process with AI-Powered Automation.

Test our
AI-Promt Feature for FREE