PHPMatters Help You Better Hosting Your PHP-based Sites
How to Fix WordPress Error Message "Are You Sure You Want to Do This"

How to Fix WordPress Error Message “Are You Sure You Want to Do This”

As researched, almost half of WordPress users have encountered an error message when they handle a backend change – Are you sure you want to do this? When this message appears, you can do nothing but repeatedly click the “Please try again” link, ending up seeing this message again and again.

To be frank, this kind of error is really annoying and frustrating. Therefore, we have listed some reasons and corresponding resolutions in the following, with the aim to help you take this trouble down effectively.

Plugins Issue

In fact, whenever you meet some issues with your WordPress site, you should detect your installed plugins for the first time. And this “Are you sure you want to do this” error is no exception.

Are you sure you want to do this

To figure out whether the cause of this issue lays down your plugins, you need to deactivate all the plugins used on your website currently. If this error is fixed after implementing this procedure, you can confirm that one or few of your plugins lead to this error message. Then, what you need to do is to figure the wrong plugins out and delete it. To do this, you can follow the below steps.

  1. In the case that you can login to your WordPress dashboard properly, you can start the bulk deactivation from the Plugin tab. You simply need to check the box before “Plugin” to select all your activated plugins. Then, choose the Deactivate option from the drop down menu as the image showed in below, and click the Apply button. Note that do not choose the Delete option.
  2. deactivate wordpress plugins

  3. If you cannot enter your WordPress admin, you can do this using your FTP or File Manager. After connecting to your website data, you can enter the directory named as “wp-content”. From here, you can find a plugin folder. Simply rename it as “plugin.deactivation”. That’s done.
  4. Reactivate your plugin one by one to figure out the real trouble-causing one. Then, you need to delete that one and download the plugin file from with the latest version.

Themes Issue

If there is nothing wrong with your plugins, you should check your templates with the similar process. After all, just like plugins, your third-party themes may have some bugging or incompatible components that cause errors to your WordPress site.

To do this, you can go to the Theme option from the Appearance tab in the admin, and deactivate all the templates the same way as you do to your plugins. Or, download your templates files using FTP to your desktop, and delete them from your server.

Now, you can go back to your Theme option and find a notification telling you that your activated themes are broken, and suggesting you to convert to the default WordPress themes such as Twenty Fourteen and Twenty Fifteen.

Then, you can repeat your practice that causes the error message. If nothing wrong happens, you can delete your bad template for troubleshooting.

PHP Limits Issue

If both your plugins and themes are risk-free, then you’d better think about your PHP server resources. For instance, in the case that you encounter this error message when you install a plugin or a theme, you need to figure out whether your web server is configured with a low PHP setting that cannot support this practice. Here, this WordPress ambiguous message is not caused by some faults or bugs, but due to your low PHP limits.

Note that the limits include several aspects, such as the execution time(120), memory limit(128M), input time(120), the size of post data(32M) and the size of uploading files(32M). You can ask your web host to increase these limits. They know how to handle this, and may charge you some money. The values entered into the brackets next to each limit are the recommended ones after researching on the web.