How to Deal with “Are You Sure You Want to Do This” Error

From this post you will learn about the cases when “Are You Sure You Want to Do This” error might appear, and discover how to solve the problem.
First case

This error means that you’re trying to download the wrong archive to your WordPress website using Dashboard. It might have happened if you’re installing the full version of template package instead of the theme, which is contained in the .zip archive format.

  1. In the first place, you need to unzip the full template archive to your hard drive. The archive containing a theme is inside of the package.
  2. After doing that you will be able to locate your theme. Now you can log in to WordPress Dashboard and upload a theme in the Appearance tab, Themes sub menu. To do it click on Add new button and proceed to upload a theme.
  3. When everything is done you’ll see the notice that your theme is successfully installed.
Second case

You can get this error if you have exceeded the PHP memory limit.

  1. To cope with this error you can try uploading the files using FTP file manager or your hosting cPanel. To do this you need to extract the previously downloaded archive containing the template.
  2. Upload the extracted folder to the wp-content/plugins directory, or wp-content/themes (the options may vary depending on what software you’re using).
  3. If you’re uploading files using cPanel (control panel), you need to upload files in the archived form, and then you will be able to extract them using cPanel.
Third case

One of the most recent causes that produce this kind of error is the use of third-party plugins on your website. To check if the plugins are the cause of the problem you need to deactivate them.

  1. Enter your website using FTP client and enter wp-content folder. Rename Plugins folder to Plugins.deactivated.
  2. Now you can navigate to WordPress Dashboard and open Plugins tab. If you don’t see the error now, then it was caused by one of the plugins.
  3. After that rename Plugins.deactivated folder back to Plugins and activate the plugins from Plugins tab (WordPress Dashboard) one by one. You’ll see what plugin has caused the error.
Fourth case

Sometimes you can face this error when you’re uploading video or audio content to your website. In this case, you’ll need to increase max_execution_time and memory_limit in the php.ini file.

  1. Navigate to the folder which contains your WordPress website.
  2. In the root folder you will be able to find php.ini file, which you can open in a Notepad or Sublime text editor. Add at the end of the file the following lines:
    • max_execution_time = 180
    • max_input_time = 600
    • post_max_size = 128M
    • upload_max_filesize = 256M
  3. If you don’t have php.ini file, then you can create one and upload it to the server into the root folder.
This tutorial is based on BeDentist & Medical WordPress theme.

Was this helpful?