Are You Sure You Want to Do This Please Try Again. Upload Theme
Feb 28, 2022
Will M.
9min Read
How to Fix "Are You Sure You Want to Practice This? Please Effort Again" Error in WordPress
In many cases, WordPress tells y'all exactly what went wrong when you run across an outcome. All the same, that's not the case with the "Are yous sure you want to practice this? Delight try again" error. The bulletin itself doesn't requite y'all any helpful information for fixing the problem.
Download WordPress Cheat Canvas
Fortunately, the WordPress community is very active, and nosotros know exactly what the (many) causes of this error are. In this article, nosotros're going to talk most half-dozen 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 meliorate hosting provider.
As y'all can run into, we have a lot to talk about. Don't exist intimidated, even so, as these fixes are mostly quite simple. Let's jump right in!
What Causes the "Are You Certain You Desire to Do This? Delight Try Again" Mistake
When information technology comes to troubleshooting, your first move should always be to read whatsoever error messages you're getting. In a lot of cases, this will tell y'all everything you need to know to fix whatever trouble you've encountered. However, some errors aren't quite so helpful.
The "Are yous sure y'all desire to exercise this? Delight try once again"error is 1 of the worst culprits when information technology comes to providing insufficient information. It can popular up when you're trying to do just about anything in WordPress. Yet, some of the well-nigh common times yous'll encounter it include:
- When you lot endeavor to upload a plugin or theme.
- During a media file upload.
- When trying to publish a new mail service or folio.
- While customizing a theme, post, or page.
- If WordPress runs into a PHP-related error, or your website encounters a security outcome.
That's a long list, and there aren't whatsoever common denominators between all of these situations. To put information technology another way, the "Are you sure y'all want to do this? Please endeavor again" error is WordPress' fashion of maxim: "Something went wrong and we're not sure what it is. Allow's endeavor once again and see if it works this time!".
In some cases, trying to perform the aforementioned activeness again won't trigger the fault a second time. Still, in our experience, you usually accept to gear up the underlying outcome before you can cease whatsoever you were doing. With that in listen, allow'due south expect at how to troubleshoot this error.
half-dozen Ways to Prepare the "Are Y'all Sure Y'all Want to Do This? Please Attempt Again" Mistake
Since there are then many potential causes for this error, you need to be methodical when it comes to troubleshooting it. In this department, we'll walk you through vi ways to solve the trouble, from the about to least likely solution.
If you're lucky, you won't take to try all of these fixes. Yet, don't get discouraged if the get-go thing yous try doesn't fix the problem – only go along going!
ane. Deactivate Your Plugins and Revert to Your Default Theme
Most WordPress websites use several plugins at once. In some cases, ane or more than of those plugins tin crusade compatibility issues with each other or your theme. The best way to find out of a plugin is behind your woes is to disable them i past ane, until you either find a culprit or rule them all out.
If you lot have admission to your dashboard, this process is simple. Just make your mode to thePluginstab, and deactivate each of your plugins in plough, starting from the top:
After you turn off each one, cheque to see if the "Are you certain you want to practise this? Delight effort once again" mistake persists (by repeating the action that triggered it in the first identify).
If you make your way through all the plugins without results, get ahead and switch over to yourThemestab. Change your agile theme, and check once more to encounter if the error is still happening.
Once yous rule out plugins and themes as the source of your problem, you'll want to reactivate them all. Then, move on to the next fix.
However, if you don't take access to your dashboard, you'll demand to accept another arroyo. To disable your plugins and theme, y'all'll have to admission 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. Inside those directories, you lot'll detect unique folders for each of your themes and plugins. Right-click on thepluginsbinder, and rename it plugins.deactivated.
This unproblematic activity will deactivate all your plugins in one fell swoop. Later on, access your website again and endeavor to reproduce the mistake. If it'south gone, change your plugin directory'southward name back to justplugins. Then y'all can open it up and alter each individual plugin folder'south name topluginname.deactivated. As before, your goal is to turn each plugin off in plough until y'all narrow down the culprit:
If none of your plugins are at fault, remember to return their folders to the original names. Otherwise, WordPress won't recognize them. Then, you'll need to repeat the process with your agile theme. Go into thepublic_html/wp-content/themesdirectory, and find the folder that corresponds to the theme you're using. Change its name, so WordPress won't recognize information technology:
Try replicating the error one time more, to run into if that change fixed information technology.
If a plugin or theme turns out to be at the root of your problem, you take a few choices. You lot tin can try updating it if possible, uninstalling information technology, or looking for an alternative that doesn't trigger errors on your website. If none of them seem to be at fault, however, proceed to the side by side solution.
2. Increase Your PHP Memory Limit
WordPress runs on the PHP programming linguistic communication. When your website tries to run plugins and scripts, it has a set up amount of PHP retention information technology tin utilise to do so. If those scripts run out of retention, they can trigger errors such as "Are y'all sure you lot want to do this? Please try again" or "Allowed memory size of XXXX bytes exhausted".
These days, most WordPress web hosts set decent memory limits for your website out of the box, and then this error isn't that common. Even so, adjusting your PHP retentivity limit is quite unproblematic, so information technology doesn't injure to attempt in example yours is set too low.
There are three ways you can increase your PHP memory limit in WordPress. The first one involves making a modify to your server'due south configuration, which you won't be able to practise if you're using certain types of hosting. With that in mind, we're going to skip right to the other two methods, which involve editing either your.htaccessorwp-config.phpfiles.
Both of those are WordPress cadre files, which means they are highly important and contain settings that enable your entire website to run. When you're editing either of them, therefore, you'll need to exist extra careful.
First, y'all'll need to employ FTP to log into your site's files directly. One time yous're in, look for.htaccess, which is located within thepublic_html directory:
Right click on the file and choose theView/Editoption. This will open.htaccessusing your default local text editor, enabling you to make changes to it. Now, whorl downwards to the bottom of the file without making whatsoever changes to the rest 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 will set your max PHP memory size to 256 MB, which is more than enough to handle any scripts. Plus, you'll also exist increasing your file size upload limit, giving your website more than time to upload files and process scripts.
After you've added the code, save your changes to.htaccess, and so close the file. FileZilla will enquire if you want to save the changes to your server, and so get ahead and say yes.
Side by side, try replicating the "Are you sure you want to do this? Please endeavour again" error once again. If it'due south gone, then you're in luck. If information technology persists, however, there's some other file you lot can endeavour editing to increment your PHP memory. It's calledwp-config.php, and it'southward located in the same directory as.htaccess:
Locate information technology now, then open up information technology using your text editor and look for the line that saysHappy blogging!at the stop of the file. Paste in this lawmaking right above it:
ascertain('WP_MEMORY_LIMIT', '256M');
This volition increase your PHP memory limit to 256 MB. Although you already tried to practice this via.htaccess, sometimes (due to the style your server is ready) only one of these approaches will work. If the fault persists after y'all salve the changes towp-config.php, notwithstanding, information technology's time to movement on to the side by side method.
three. Reset Your WordPress Security Keys
Your WordPress security keys are besides known every bit 'salts'. They are cryptographic sequences the platform uses to protect the information it stores in your database. This may audio complicated, but you don't need to empathise all the technology involved. Suffice it to say that changing your salt keys can assist fix security issues that could be triggering the "Are you sure you want to practise this? Please endeavor over again" mistake.
WordPress stores your site'southward unique salt keys inside thewp-config.phpfile. Every bit we mentioned before, you can find this file inside thepublic_htmldirectory. Just connect to your website via FTP and navigate to the binder, then openwp-config.phpin your text editor.
Next, use your text editor's search characteristic to find the line that reads "Authentication Unique Keys and Salts". You'll see a gear up of eight lines of code right below that, and you'll need to replace them all:
To do that, visit this link from the WordPress API, which volition generate a new full prepare of keys. Delete the existing lines, supplant them with the new set you simply generated, then savewp-config.phpand shut it. Later that, try accessing your website again.
WordPress will ask y'all to log in, due to the modify in your keys. Once yous've accessed your dashboard, check to come across if the error persists. If it does, you'll demand to keep moving downwardly the listing.
iv. Check Your Uploads for Incorrect File Formats
WordPress enables you to add together a broad variety of files to use inside your posts and pages. The listing of file formats the platform supports is quite extensive, and you tin can check them all out in the WordPress Codex.
One common cause of the "Are you lot sure you desire to exercise this? Please try again" error is when y'all're trying to upload a type of file WordPress doesn't support. If you're running into that problem, you tin can convert the file you want to upload to a format the platform can procedure. Otherwise, you lot'll proceed running into the same fault over and over once more while trying to upload the file.
So try saving the file in some other format supported by WordPress, and adding it to your site. If you meet with no success (or if the activeness you're trying to perform is something other than uploading a file), you'll need to try something else.
5. Articulate Your WordPress Cache
If you're using a caching plugin with WordPress, y'all may meet errors when trying to make changes to your website. Fixing this problem is actually quite easy, as all yous have to practice is clear your WordPress cache. The problem is that the process required can vary, depending on which plugin you're using.
For an case, allow's look at the WP Super Cache plugin. Information technology'due south one of the most popular WordPress caching plugins around, and it's quite easy to use and configure. To empty your cache through this plugin, you accept to navigate to theSettings › WP Super Cachetab in your dashboard. Once at that place, look for a section chosenDelete Cached Pages:
In that location's a big button that readsDelete Cachecorrect beneath, so yous tin't miss information technology. But click on that button, and the plugin volition empty your cache.
Most other caching plugins include similar options. You lot tin can read more well-nigh how to troubleshoot W3 Total Cache or WP Fastest Enshroud in another guide from our archives. In any case, remember to cheque and run across if the "Are you certain you desire to do this? Please attempt again" error is gone subsequently clearing your enshroud! If not, there's one last thing to try.
half dozen. Upgrade to a Better Hosting Provider
If you've gotten to this point and nothing has worked, chances are the "Are you sure yous want to do this? Delight try once again" error is popping up due to a problem with your server'southward configuration. That ways you'll need to ask your provider'south support squad to help y'all troubleshoot the outcome, which can take some time depending on how effective they are.
In whatever case, if you're running into these kinds of issues due to your option of hosting provider, it might be time to consider making a change. Ideally, you lot'll want to use a 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 rock-solid support.
What's more, migrating your website from 1 host to some other isn't as complicated equally yous might think. It can take up to a few hours, but you'll salvage yourself a lot more time by not having to deal with so many errors in the time to come.
Further Reading
For more popular WordPress errors and in-depth instructions on how to set up them, check out:
- 10 Ways to Set up the "Sorry, You Are Not Immune to Access This Page" Error in WordPress
- Fixing "The uploaded file exceeds the upload_max_filesize directive in php.ini." in WordPress
- How to Gear up Cleaved Add together Media Button in WordPress
- 3 Easy Methods to Gear up 404 Errors in WordPress Posts and Pages
- How To Prepare HTTP Fault When Uploading Images to WordPress
Conclusion
The "Are you sure you want to do this? Delight endeavor again" error tin be intimidating since it doesn't give you much information to go on. Still, it'due south 1 of the most well-documented errors in WordPress history. Nosotros know what its many potential causes are, and fixing it isn't usually hard. In almost cases, yous won't demand to try the total six methods nosotros've outlined. If you're seeing issues like this often, however, it may be time to change web hosting providers.
Practice yous have any questions well-nigh how to fix the "Are y'all sure you want to do this? Please try once more" mistake? Ask away in the comments section below!
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. Upload Theme"
Post a Comment