It is easier to find the problem when you know where to search, right? Some erros give you insights, but Are you sure you want to do this? WordPress error is not one of those. Most commonly, this error is caused by a plugin or a theme that is installed on your website. In order to find out the exact reason, some actions like disabling plugins or themes should be taken. In this tutorial, you will learn how to inspect and fix Are you sure you want to do this? WordPress error.
Table of Contents
What you’ll need
Before you begin this guide, you’ll need the following:
- Access to WordPress Admin area
- FTP client / File manager
Step 1 — Deactivating your plugins
To find out whether the error is caused by a plugin, you need to complete the following:
- Deactivate plugins folder in /wp-content/ directory to, let’s say, plugins1, using either FTP client or File Manager from your control panel.
- Go to your WordPress admin area. You will see notification that the plugins have been deactivated.
- If the error does not appear again, you are very close to fixing the issue.
- Rename plugins1 back to plugins.
- Go to your WordPress admin area and activate plugins one by one, after each activation reproducing the error (for example, reloading the page) untill you find which one was the trouble maker.
Step 2 — Investigate themes
If the problem wasn’t caused by plugins, you should continue by investigating themes. The procedure is quite similar to the one you already did with the plugins:
- In /wp-content/ rename themes to themes1.
- Go to your WordPress admin area Appearance > Themes. You will see a notification The active theme is broken. Reverting to the default theme. Since the system identifies the theme as broken, the default theme will be applied.
- Try reproducing the error. If the error is not shown anymore, it was your theme that caused it.
In this tutorial you have learned to investigate and fix the Are you sure you want to do this? WordPress error.