Are You Sure You Want to Do This please Try Again
February 28, 2022
Will M.
9min Read
How to Fix "Are You Sure You Want to Do This? Delight Try Once again" Error in WordPress
In many cases, WordPress tells you exactly what went wrong when you lot run into an issue. However, that's not the case with the "Are you lot sure you lot desire to do this? Please try again" fault. The bulletin itself doesn't give yous any helpful information for fixing the problem.
Fortunately, the WordPress community is very active, and we know exactly what the (many) causes of this error are. In this article, nosotros're going to talk well-nigh 6 ways to deal with this problem, including:
- Deactivating your plugins and reverting to your default theme.
- Increasing your PHP memory limit.
- Resetting your WordPress security keys.
- Checking your WordPress uploads for unsupported file formats.
- Clearing your WordPress cache.
- Upgrading to a better hosting provider.
As yous can see, nosotros have a lot to talk virtually. Don't exist intimidated, all the same, as these fixes are mostly quite simple. Let'south jump right in!
What Causes the "Are You Sure Yous Want to Practice This? Please Try Again" Error
When it comes to troubleshooting, your first movement should ever be to read any mistake messages you lot're getting. In a lot of cases, this will tell yous everything you lot need to know to fix whatever problem you lot've encountered. Nonetheless, some errors aren't quite so helpful.
The "Are you sure you want to do this? Delight attempt again"error is one of the worst culprits when it comes to providing insufficient data. It tin pop upwardly when you're trying to do just about anything in WordPress. Nevertheless, some of the most common times yous'll see it include:
- When you endeavor to upload a plugin or theme.
- During a media file upload.
- When trying to publish a new postal service or page.
- While customizing a theme, post, or folio.
- If WordPress runs into a PHP-related fault, or your website encounters a security issue.
That'southward a long list, and there aren't whatever common denominators between all of these situations. To put it some other mode, the "Are yous sure you want to do this? Please attempt again" error is WordPress' mode of saying: "Something went wrong and nosotros're not sure what it is. Let's try again and see if it works this time!".
In some cases, trying to perform the same action again won't trigger the fault a second fourth dimension. However, in our feel, yous usually have to fix the underlying issue before you tin can cease whatever you were doing. With that in heed, let's look at how to troubleshoot this error.
6 Means to Fix the "Are You Sure You Want to Do This? Delight Try Again" Error
Since there are and so many potential causes for this fault, you need to exist methodical when information technology comes to troubleshooting it. In this section, we'll walk you through six ways to solve the problem, from the nigh to least likely solution.
If you're lucky, yous won't take to try all of these fixes. Still, don't get discouraged if the offset thing yous try doesn't set up the problem – just go along going!
1. Conciliate Your Plugins and Revert to Your Default Theme
Most WordPress websites apply several plugins at once. In some cases, one or more of those plugins can crusade compatibility bug with each other or your theme. The best fashion to discover out of a plugin is behind your woes is to disable them one by i, until you either find a culprit or rule them all out.
If you have admission to your dashboard, this process is simple. Just make your way to thePluginstab, and conciliate each of your plugins in turn, starting from the top:
After you turn off each one, bank check to see if the "Are you sure y'all want to do this? Delight try again" error persists (by repeating the action that triggered it in the first place).
If y'all make your way through all the plugins without results, go alee and switch over to yourThemestab. Change your active theme, and check in one case more to run across if the error is still happening.
One time you rule out plugins and themes as the source of your problem, y'all'll desire to reactivate them all. Then, motion on to the next fix.
Still, if you don't have access to your dashboard, you'll need to take another approach. To disable your plugins and theme, you'll accept to access your website via FTP, using a client such as FileZilla.
After connecting to your website via FTP, navigate to thepublic_html/wp-contentdirectory. You lot'll see several folders inside, two of which are calledpluginsandthemes. Within those directories, you'll detect unique folders for each of your themes and plugins. Right-click on thepluginsbinder, and rename it plugins.deactivated.
This simple action will deactivate all your plugins in i fell swoop. Afterwards, access your website once again and try to reproduce the fault. If it's gone, change your plugin directory'southward name dorsum to justplugins. Then you lot can open it up and change each individual plugin folder'due south name topluginname.deactivated. As earlier, your goal is to plough each plugin off in plough until you lot narrow down the culprit:
If none of your plugins are at fault, remember to render their folders to the original names. Otherwise, WordPress won't recognize them. Then, y'all'll need to repeat the procedure with your agile theme. Go into thepublic_html/wp-content/themesdirectory, and find the folder that corresponds to the theme yous're using. Change its name, then WordPress won't recognize it:
Try replicating the error once more than, to come across if that alter fixed it.
If a plugin or theme turns out to be at the root of your problem, y'all accept a few choices. You lot can attempt updating information technology if possible, uninstalling information technology, or looking for an alternative that doesn't trigger errors on your website. If none of them seem to exist at fault, nevertheless, proceed to the next solution.
2. Increase Your PHP Memory Limit
WordPress runs on the PHP programming language. When your website tries to run plugins and scripts, it has a set amount of PHP memory it tin can utilise to practice so. If those scripts run out of memory, they tin trigger errors such as "Are you sure you want to do this? Delight try again" or "Allowed retentiveness size of XXXX bytes wearied".
These days, about WordPress web hosts set decent memory limits for your website out of the box, and then this fault isn't that common. Even so, adjusting your PHP memory limit is quite unproblematic, and then it doesn't hurt to try in case yours is ready besides depression.
In that location are three ways you can increment your PHP memory limit in WordPress. The starting time one involves making a change to your server's configuration, which you won't exist able to do if you're using certain types of hosting. With that in listen, we're going to skip correct to the other ii methods, which involve editing either your.htaccessorwp-config.phpfiles.
Both of those are WordPress core files, which ways they are highly important and contain settings that enable your unabridged website to run. When you're editing either of them, therefore, you'll need to be extra careful.
Get-go, you'll need to use FTP to log into your site's files directly. Once you're in, look for.htaccess, which is located within thepublic_html directory:
Right click on the file and cull theView/Editoption. This will open.htaccessusing your default local text editor, enabling you to make changes to information technology. Now, scroll down to the lesser of the file without making any changes to the residuum of its lawmaking. At the very bottom, paste the following snippet:
php_value upload_max_filesize 256M php_value post_max_size 256M php_value memory_limit 256M php_value max_execution_time 180 php_value max_input_time 180
This volition set your max PHP memory size to 256 MB, which is more enough to handle whatsoever scripts. Plus, yous'll also be increasing your file size upload limit, giving your website more time to upload files and process scripts.
Later on you've added the code, salve your changes to.htaccess, and then shut the file. FileZilla will ask if you want to relieve the changes to your server, so go ahead and say yes.
Adjacent, try replicating the "Are you sure yous want to practise this? Delight attempt again" error over again. If it's gone, then you're in luck. If information technology persists, however, in that location's another file you lot can endeavor editing to increase your PHP memory. It'due south chosenwp-config.php, and information technology'due south located in the same directory as.htaccess:
Locate it now, then open it using your text editor and await for the line that saysHappy blogging!at the end of the file. Paste in this code correct above it:
ascertain('WP_MEMORY_LIMIT', '256M');
This volition increase your PHP memory limit to 256 MB. Although you lot already tried to do this via.htaccess, sometimes (due to the way your server is set up up) only one of these approaches will work. If the error persists afterward you salvage the changes towp-config.php, however, it's fourth dimension to move on to the next method.
three. Reset Your WordPress Security Keys
Your WordPress security keys are also known as 'salts'. They are cryptographic sequences the platform uses to protect the information information technology stores in your database. This may audio complicated, only you don't need to understand all the technology involved. Suffice information technology to say that changing your salt keys can assist prepare security problems that could be triggering the "Are yous sure y'all want to do this? Please attempt again" mistake.
WordPress stores your site's unique table salt keys within thewp-config.phpfile. As we mentioned earlier, you tin can notice this file within thepublic_htmldirectory. Just connect to your website via FTP and navigate to the folder, then openwp-config.phpin your text editor.
Next, use your text editor'south search characteristic to find the line that reads "Authentication Unique Keys and Salts". You'll come across a set of viii lines of code right below that, and y'all'll demand to supervene upon them all:
To do that, visit this link from the WordPress API, which will generate a new total set of keys. Delete the existing lines, supervene upon them with the new gear up you just generated, then savewp-config.phpand close it. After that, try accessing your website once more.
WordPress will ask you to log in, due to the change in your keys. In one case you lot've accessed your dashboard, check to see if the error persists. If it does, you lot'll need to keep moving downward the listing.
4. Check Your Uploads for Incorrect File Formats
WordPress enables you lot to add a wide multifariousness of files to use within your posts and pages. The listing of file formats the platform supports is quite extensive, and yous tin can check them all out in the WordPress Codex.
One common cause of the "Are y'all sure you want to do this? Please try once again" error is when yous're trying to upload a blazon of file WordPress doesn't support. If y'all're running into that trouble, y'all can catechumen the file you want to upload to a format the platform tin can process. Otherwise, you'll go along running into the same error over and over over again while trying to upload the file.
And so try saving the file in another format supported past WordPress, and adding information technology to your site. If you lot run into with no success (or if the activity yous're trying to perform is something other than uploading a file), you lot'll need to try something else.
5. Clear Your WordPress Cache
If you're using a caching plugin with WordPress, you may run into errors when trying to make changes to your website. Fixing this problem is actually quite like shooting fish in a barrel, as all you have to do is articulate your WordPress cache. The trouble is that the procedure required can vary, depending on which plugin y'all're using.
For an instance, permit's look at the WP Super Cache plugin. It's one of the most popular WordPress caching plugins around, and it's quite like shooting fish in a barrel to use and configure. To empty your cache through this plugin, you have to navigate to theSettings › WP Super Enshroudtab in your dashboard. In one case there, look for a section calledDelete Cached Pages:
There'due south a big button that readsDelete Enshroudright below, and so you can't miss it. Just click on that button, and the plugin will empty your cache.
About other caching plugins include like options. Yous can read more near how to troubleshoot W3 Total Cache or WP Fastest Cache in another guide from our archives. In whatsoever instance, remember to cheque and meet if the "Are you sure you want to do this? Please try again" error is gone after clearing your enshroud! If not, there'due south i last matter to endeavour.
vi. Upgrade to a Better Hosting Provider
If you lot've gotten to this indicate and aught has worked, chances are the "Are y'all certain y'all want to exercise this? Please try again" error is popping up due to a problem with your server's configuration. That ways you'll need to inquire your provider's support team to help you troubleshoot the issue, which can take some time depending on how effective they are.
In any example, if you're running into these kinds of problems due to your choice of hosting provider, it might be fourth dimension to consider making a change. Ideally, y'all'll want to use a spider web host that works well with WordPress. Here at Hostinger, for example, we offer WordPress-friendly plans at low prices, with lots of handy features and stone-solid support.
What'southward more, migrating your website from 1 host to another isn't as complicated every bit you might think. It can have upward to a few hours, but yous'll save yourself a lot more time past non having to deal with and so many errors in the future.
Further Reading
For more popular WordPress errors and in-depth instructions on how to set them, bank check out:
- 10 Means to Set up the "Sorry, You Are Not Allowed to Access This Page" Error in WordPress
- Fixing "The uploaded file exceeds the upload_max_filesize directive in php.ini." in WordPress
- How to Prepare Broken Add Media Button in WordPress
- 3 Easy Methods to Fix 404 Errors in WordPress Posts and Pages
- How To Fix HTTP Mistake When Uploading Images to WordPress
Decision
The "Are you sure you desire to do this? Please attempt again" fault can be intimidating since information technology doesn't give you much data to go along. However, it's one of the near well-documented errors in WordPress history. We know what its many potential causes are, and fixing information technology isn't usually difficult. In almost cases, you won't demand to try the full half dozen methods nosotros've outlined. If you're seeing issues like this oftentimes, however, it may be time to modify web hosting providers.
Do y'all take any questions nearly how to ready the "Are yous certain you want to practice this? Please try again" mistake? Ask away in the comments section beneath!
Source: https://www.hostinger.com/tutorials/fix-are-you-sure-you-want-to-do-this-please-try-again-wordpress/
0 Response to "Are You Sure You Want to Do This please Try Again"
Publicar un comentario