While WordPress is really easy to use, there are some common WordPress errors that can make you panic.
The good thing is that the WordPress error you are seeing on your site is most likely been reported and resolved by someone before you.
At WPBeginner, we have written tutorials on how to fix several popular WordPress errors.
In this article, we will cover the 50 most common WordPress errors along with showing you how to fix all of these common WordPress errors.
Important: Before trying to fix any WordPress error, make sure that you have a complete WordPress backup. You can use the Duplicator plugin or use this tutorial to manually create a WordPress backup.
In case you are unable to resolve your issue from the steps mentioned in this article, then please contact your WordPress hosting company.
Since this is a lengthy article, we have created a table of contents below for easy navigation.
Table of Contents
- How to Fix Internal Server Error
- This Site is Experiencing Technical Difficulties
- How to Fix Syntax Error in WordPress
- How to Fix the Error Establishing a Database Connection in WordPress
- How to Fix the WordPress White Screen of Death
- How to Fix WordPress Posts Returning 404 Error
- How to Fix the Sidebar Below Content Error in WordPress
- How to Fix White Text and Missing Buttons in WordPress Visual Editor
- Fix the WordPress Memory Exhausted Error – Increase PHP Memory
- What To Do When You Are Locked Out of WordPress Admin (wp-admin)
- How to Fix WordPress Login Page Refreshing and Redirecting Issue
- How to Fix Image Upload Issue in WordPress
- How to Fix Common Image Issues in WordPress
- How to Fix “Are You Sure You Want to Do This” Error in WordPress
- How to Fix Briefly Unavailable for Scheduled Maintenance Error in WordPress
- How to Fix WordPress Not Sending Email Issue
- How to Fix WordPress RSS Feed Errors
- How to Fix 403 Forbidden Error in WordPress
- How to Fix Error Too Many Redirects Issue in WordPress
- How to Fix “Upload: Failed to Write File to Disk” Error in WordPress
- How to Fix “This site ahead contains harmful programs” Error in WordPress
- How to Fix the Missed Schedule Post Error in WordPress
- How to Fix Fatal Error: Maximum Execution Time Exceeded in WordPress
- How to Fix Facebook Incorrect Thumbnail Issue in WordPress
- How to Fix WordPress Keeps Logging Out Problem
- How to Fix the Mixed Content Error in WordPress
- How to Fix Add Media Button Not Working in WordPress
- How to Fix the 502 Bad Gateway Error in WordPress
- How to Fix 503 Service Unavailable Error in WordPress
- How to Fix the 504 Gateway Timeout Error in WordPress
- How to Fix the WordPress Failed to Open Stream Error
- How to Fix the WordPress 429 Too Many Requests Error
- How to Fix the 413 Request Entity Too large Error in WordPress
- How to Turn Off PHP Errors in WordPress
- How to Fix Secure Connection Error in WordPress
- How to Fix Destination Folder Already Exists Error in WordPress
- How to Fix ‘Another Update in Process’ Error in WordPress
- How to Fix Password Reset Key Error in WordPress
- How to Fix “Missing a Temporary Folder” Error in WordPress
- How to Fix Pluggable.php File Errors in WordPress
- How to Fix Common SSL Issues in WordPress
- How to Fix File and Folder Permissions Error in WordPress
- How to Fix the HTTP Image Upload Error in WordPress
- How to Fix Your Connection is Not Private Error
- How To Fix “The Link You Followed Has Expired” Error in WordPress
- How to Fix WordPress Website Not Updating Right Away Issue
- How To Fix “Failed To Load Resource” Error In WordPress
- How to Fix “Missing a Temporary Folder” Error in WordPress
- How to Fix “Googlebot cannot access CSS and JS files” Error in WordPress
- Troubleshooting WordPress Errors on Your Own
Let’s take a look at how to solve the most common WordPress errors (one by one).
1. How to Fix Internal Server Error
Perhaps the most confusing WordPress error that a beginner may come across is “Internal Server Error”, or sometimes “500 Internal Server Error”.
This error usually appears when there is something wrong, but the server is unable to identify where the problem is. Since the error message does not indicate where you should look for the error, it is pretty much up to you to figure this out.
We have compiled a list of solutions that you can try and one of them will help you resolve it. See how to fix internal server error in WordPress.
2. This Site is Experiencing Technical Difficulties
WordPress introduced a fatal error protection feature in WordPress 5.2. This feature displays a simple error message stating that “This site is experiencing technical difficulties”.
For full details, WordPress then sends an email notification on your WordPress admin email address. This email message contains a link to access the backend and attempt to fix the error.
This error message can be triggered by any of the fatal errors mentioned in this article. If you don’t have access to the admin email or can’t get WordPress emails then it becomes harder to find out what error is occurring.
The easiest way to fix this is to make sure that your WordPress admin email address is correct and that you can receive WordPress notification emails. If you can’t get WordPress emails then see our guide on fixing the WordPress not sending email issue.
3. How to Fix Syntax Error in WordPress
This error usually occurs when you are trying to add code snippets into WordPress and have accidentally missed something or the code has incorrect syntax. This will result into a PHP parse error and you will see a notice like:
Parse error- syntax error, unexpected $end in /public_html/site1/wp-content/themes/my-theme/functions.php on line 278
The error message would indicate the unexpected thing found in the code and the location of the script where the error occurred with line number. To fix this issue you will have to correct the syntax. Most of the time it is a missing bracket, or some unexpected character in the code. [Fix syntax error in WordPress]
4. How to Fix the Error Establishing a Database Connection in WordPress
This error message is clear that your website is unable to connect to the database. However solving this error can be tricky for beginners.
Usually this occurs when a user has entered or modified their database credentials (database host, database username, and database password) incorrectly. Sometimes your database server could be unresponsive, or your database may have corrupted.
However, mostly it is incorrect database login credentials. Take a look at common solutions for this problem. [Fix error establishing database connection in WordPress]
5. How to Fix the WordPress White Screen of Death
This error usually results into a plain white screen with no error message. This makes it the most puzzling because you have no clue where to look and what to fix.
Most of the time it is caused when a script exhausts PHP memory limit. It can also happen due to a configuration on the server. It is also possible that a user would only see white screen of death on certain sections of their site. [See how to fix WordPress white screen of death]
6. How to Fix WordPress Posts Returning 404 Error
The symptoms of this error is that when a user visits a single post on their site they get a 404 page – not found error.
The user can browse all other sections of their site including the admin area. The most common cause of this issue is permalink settings in WordPress. To solve this issue a user would need to reconfigure their permalinks settings or manually update their rewrite rules. [Fix WordPress posts returning 404 error]
7. How to Fix the Sidebar Below Content Error in WordPress
Another common issue beginners face is when the sidebar appears below the content when it is supposed to appear next to the content. This issue is mostly caused by WordPress themes.
Sometimes when users are adding code snippets to their site, they may accidentally forget to close an html div tag or add an extra closing div which may result into breaking the theme layout. Another common cause is using disproportionate width in CSS or not clearing float properly. [Fix sidebar appearing below content error in WordPress]
8. How to Fix White Text and Missing Buttons in WordPress Visual Editor
If you’re using the classic WordPress editor, then sometimes buttons from the visual editor may disappear or start showing blank white spaces instead of buttons.
This problem may occur when concatenated JavaScript is not working. It may also caused by missing or corrupt TinyMCE files, or conflict with some other plugin that modifies or extends the TinyMCE shipped with WordPress. [Fix white text and missing buttons in WordPress visual editor]
9. Fix the WordPress Memory Exhausted Error – Increase PHP Memory
Indications of this error could be a white screen of death, or an error message like this one:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home/username/public_html/site1/wp-includes/plugin.php on line xxx
This error occurs when a WordPress script or a plugin exhausts the default allocated memory size limit. [Fix WordPress memory exhausted error]
10. What To Do When You Are Locked Out of WordPress Admin (wp-admin)
Sometimes you may find yourself locked out of the WordPress admin area. This could happen if you forgot your password and don’t have to access to password recovery email.
A plugin or code that incorrectly tries to make some changes into admin section can also lock you out. You may also lose access to admin area due to a hacked WordPress site. [Fix locked out of WordPress admin issue]
11. How to Fix WordPress Login Page Refreshing and Redirecting Issue
Symptoms of this issue are that when a user attempts to login to the WordPress dashboard, they are redirected by WordPress back to the login page.
Most of the time it happens due to incorrect values for site url and home url fields in WordPress options table. It can also be caused by poorly configured permalink settings or redirects setup in the .htaccess file. [Fix WordPress login page refreshing and redirecting issue]
12. How to Fix Image Upload Issue in WordPress
Sometimes a user would suddenly notice that all the images from their site are gone and are showing broken image placeholders. When the user tries to upload an image to a post using the media uploader, it results into an error.
All these files in the media library will appear as broken. This error occurs due to incorrect file and directory permissions in a WordPress installation. A number of factors may cause this issue. [Fix image upload issues in WordPress]
13. How to Fix Common Image Issues in WordPress
Uploading images to a WordPress site can be confusing for someone new to WordPress. A user may be unable to find out how to align images, resize or crop them, or display them in a gallery format.
This is not an error or issue in WordPress. You just need to familiarize yourself with how WordPress handles media. [Fix common image issues in WordPress]
14. How to Fix “Are You Sure You Want to Do This” Error in WordPress
Users may come across this error in WordPress admin area. The most common cause of this error is a plugin or theme failing to use Nonce properly.
Nonce are special security keys which may be appended to URLs when performing an admin action in WordPress. Sometimes a plugin or theme may use it incorrectly which may result into users seeing this error. [Fix are you sure you want to do this error in WordPress]
15. How to Fix Briefly Unavailable for Scheduled Maintenance Error in WordPress
Sometimes due to an unfinished or interrupted WordPress update, you might see “Briefly Unavailable for Scheduled Maintenance” error in WordPress.
What happens there is that WordPress puts your site in maintenance mode during an update. If for some reason the update is interrupted, then WordPress does not get the chance to put your site out of the maintenance mode. This error would lock down your entire site and make it unavailable for admins as well as visitors. [Fix briefly unavailable for scheduled maintenance error]
16. How to Fix WordPress Not Sending Email Issue
The most common symptom of this problem is not receiving any contact form or WordPress notification emails from your site.
This issue is usually caused because most shared hosting providers disable or limit the module used for sending emails to prevent their servers from abuse. [Fix WordPress not sending email issue]
17. How to Fix WordPress RSS Feed Errors
Most WordPress RSS feed errors are caused by poor formatting. You may see errors like these:
XML Parsing Error: XML or text declaration not at start of entity
Location: http://example.com/feed
Line Number 2, Column 1:
Depending on what browser you are using, your RSS feed error message may vary. You can also see this error message when visiting your feed in a browser.
Warning: Cannot modify header information – headers already sent by (output started at /home/username/example.com/wp-content/themes/twentysixteen/functions.php:433) in /home/username/example.com/wp-includes/pluggable.php on line 1228
WordPress outputs RSS feeds in XML which is a strict markup language. A missing line break or an extra tab can break your RSS feed. [Fix WordPress RSS feed errors]
18. How to Fix 403 Forbidden Error in WordPress
403 Forbidden error code is shown when your server permissions don’t allow access to a specific page. This is why the error is usually accompanied by the text:
403 Forbidden – You don’t have permission to access ‘/’ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
There are different scenarios when you can see this error. Incorrect file permissions, poorly coded security plugins, or server configuration are the most common culprits. [Fix 403 Forbidden error in WordPress]
19. How to Fix Error Too Many Redirects Issue in WordPress
This error usually occurs due to a misconfigured redirection issue. As you know that WordPress has SEO friendly URL Structure which uses the redirect function. Several other popular WordPress plugins also use the redirect functionality as well.
Due to a misconfiguration in any of these redirection tools, your site may end up redirecting users to a URL that is actually redirecting them back to the referring URL. In that case the user’s browser is trapped between two pages causing a redirect loop. [Fix too many redirects issue in WordPress]
20. How to Fix “Upload: Failed to Write File to Disk” Error in WordPress
This error can occur due to a number of reasons. However, the most common one is incorrect folder permissions.
Each file and folder on your website has a set of permissions. Your web server controls access to the files based on these permissions. Incorrect permissions to a folder can take away your ability to write files on server. This means your web server cannot create or add new files to that particular folder. [Fix Upload: Failed to write file to disk error]
21. How to Fix “This site ahead contains harmful programs” Error in WordPress
Google marks a website with this warning if they find any suspicious code that could be a malware or trojan. Sometimes the reason for this is that your website is hacked and is now used to distribute malicious code.
Another common reason for this error is showing ads from low quality advertising networks. These networks may sometime display ads linking to websites distributing malicious code. [Fix site ahead contains harmful programs error in WordPress]
22. How to Fix the Missed Schedule Post Error in WordPress
WordPress has this wonderful feature that allows you to schedule posts to be automatically published at a specified time. Most bloggers rely on the future to manage their publishing schedule.
However, sometimes WordPress can miss scheduled posts due to a number of reasons. If this has happened to you more than a few times then you need to address this issue. [Fix missed schedule post error in WordPress]
23. How to Fix Fatal Error: Maximum Execution Time Exceeded in WordPress
WordPress is coded mainly in PHP programming language. To protect web servers from abuse, there is a time limit set for how long a PHP script can run.
Some WordPress hosting providers have set this value to a higher level while others may have set it to a lower level. When a script reaches the maximum execution time limit, it results into maximum execution time exceeded error. [Fix maximum execution time exceeded error in WordPress]
24. How to Fix Facebook Incorrect Thumbnail Issue in WordPress
There are many reasons that can prevent Facebook from correctly guessing the right thumbnail image. One of the most common reason is having multiple images set in the og:image tag where your featured image is smaller than rest of the images.
Facebook uses Open Graph (og) tags, and plugins like All in One SEO and Yoast SEO automatically add them to your site to prevent missing thumbnail issue. [Fix Facebook incorrect thumbnail issue in WordPress]
25. How to Fix WordPress Keeps Logging Out Problem
WordPress sets a cookie in your browser to authenticate a login session. This cookie is set for the WordPress URL stored in your settings section. If you are accessing from a URL that does not match the one in your WordPress settings, then WordPress will not be able to authenticate your session. [Fix WordPress keeps logging out problem]
26. How to Fix the Mixed Content Error in WordPress
Mixed content errors are caused by incorrect HTTPs / SSL settings on your WordPress site. They may or may not affect your website’s functionality, but they can affect your website’s SEO and user experience.
Basically, on an SSL enabled website all resources should be loaded using an HTTPs URL. Your site may have content with HTTP URLs, or a plugin or theme may be loading a file with HTTP. This causes the mixed content error as those resources are not loaded using a secure protocol.
To fix this, you need to find out which resources are loaded insecurely, and then fix their URLs. You can do this with a plugin or you can do this manually as well. [Fix mixed content errors in WordPress]
27. How to Fix Add Media Button Not Working in WordPress
Add Media button in WordPress post edit screens uses JavaScript to launch the media library and uploader. However, sometimes a plugin or theme’s code conflict with WordPress core can prevent JavaScript from working.
What happens is that WordPress combines all scripts inside the WordPress admin area to improve performance. A plugin or theme’s script can disrupt this which will make other code in the script stop working. [Fix add media button not working in WordPress]
28. How to Fix the 502 Bad Gateway Error in WordPress
502 Bad gateway error is another puzzling error that may appear on your WordPress website. It is usually caused when a user’s request to a server takes too long to process without giving any other error.
This delay can be a temporary glitch caused by high traffic. It could also be caused by a poorly coded WordPress theme or plugin. Last but not least, a server misconfiguration can also produce this error. [Fix 502 bad gateway error in WordPress]
29. How to Fix 503 Service Unavailable Error in WordPress
The 503 ‘service unavailable’ error is often caused by an unresponsive PHP script. This could be a WordPress plugin, a theme, or a misbehaving custom code snippet.
It can also be triggered by heavy server load, a server glitch, or a brute force attack. In that case, it could automatically disappear in a few minutes. If it doesn’t disappear, then you would need to troubleshoot and fix it. [Fix 503 service unavailable error in WordPress]
30. How to Fix the 504 Gateway Timeout Error in WordPress
The 504 gateway timeout error is often caused when a request to your server is processed through a proxy or firewall but fails to connect with the upstream server.
You are more likely to see this error, if you are using a WordPress firewall like Sucuri or Cloudflare. [Fix 504 gateway timeout error in WordPress]
31. How to Fix the WordPress Failed to Open Stream Error
The ‘Failed to open stream’ error occurs when WordPress is unable to load a file mentioned in website code. Sometimes WordPress will continue loading the site and only show a warning message, while other times it would result in a fatal error.
The error message can be different, depending on where the error is triggered in the code and what caused it. In each instance, failed to open stream phrase would be followed by a reason. For example, permission denied, no such file or directory, operation failed, and more. [Fix the WordPress failed to open stream error]
32. How to Fix the WordPress 429 Too Many Requests Error
The 429 error is a preventive measure to protect servers from abuse. This error is triggered when a bot, script, or a user is making too many requests to the server.
However, if it is not properly configured, then it can block search engines and other APIs from accessing your website. To fix this you will need to find the misbehaving code, plugin, or service that’s causing the error. [Fix WordPress 429 too many requests error]
33. How to Fix the 413 Request Entity Too large Error in WordPress
Normally, most WordPress hosting companies have their servers configured, so that WordPress users can easily upload large images and other media. However, sometimes this setting is not high enough to upload large theme or plugin files.
It would also stop you from uploading large files in the media library. In that case, you will see a different message, clearly stating that the file size exceeds maximum allowed limit. [Fix 414 request entity too large error in WordPress]
34. How to Turn Off PHP Errors in WordPress
Your WordPress site may sometimes show errors and warnings inside WordPress admin area or your website. These errors do not stop WordPress from displaying your website. They are helpful in debugging issues but your website will look really unprofessional if it is showing these errors on the front-end.
WordPress comes with easy configuration tricks to control PHP errors and how they are displayed or logged on your website. You just need to turm them off and PHP errors will disappear from your site. [Fix PHP Errors in WordPress]
35. How to Fix Secure Connection Error in WordPress
WordPress comes with an updates management system which regularly checks for available updates on WordPress.org website. Your website may fail to connect with WordPress.org website, due to a misconfiguration on your hosting server, which will cause the secure connection error.
Updates play an important role in WordPress security and performance. This is why you need to fix this error to resume WordPress updates. [Fix secure connection error in WordPress]
36. How to Fix Destination Folder Already Exists Error in WordPress
This error occurs during the installation of a WordPress theme or plugin. WordPress extracts your plugin or theme’s zip file into a folder named after the file itself.
If a folder with the same name already exists, then WordPress aborts the installation with the following error message.
Destination folder already exists. /home/user/example.com/wp-content/plugins/wpforms/
Plugin install failed.
To fix this, you simply need to delete the existing folder and then continue installation. [Fix folder already exists error in WordPress]
37. How to Fix ‘Another Update in Process’ Error in WordPress
This error usually appears during the WordPress core update process. If a user initiates another update process while an update is already underway, then you’ll see this error message.
What happens is that WordPress automatically sets an update lock option in the database. This database option prevents you from running simultaneous updates on your website. This option automatically disappears after a while. However, if it doesn’t or you don’t want to wait, then you can also manually fix it. [Fix another update in process error in WordPress]
38. How to Fix Password Reset Key Error in WordPress
This error forces the login page to keep refreshing and wouldn’t allow you to save the password reset key. While the front-end of your website works normally, you wouldn’t be able to login and work on your website.
It is caused by the lack of disk space on your WordPress hosting account. Since there is no more disk space, WordPress fails to save new data into the database. The easy way to fix this is to simply delete a few unnecessary files from your website. [Fix password reset key error in WordPress]
39. How to Fix “Missing a Temporary Folder” Error in WordPress
This error is caused when WordPress does not have access to the folder PHP uses to store temporary files. The error disrupts your WordPress media uploads, plugins, and theme installations.
To fix this error, you will need to define a temporary folder for WordPress to use or ask your WordPress hosting provider to fix it for you. [Fix missing a temporary folder error in WordPress]
40. How to Fix Pluggable.php File Errors in WordPress
Pluggable.php file contains some core WordPress functions that users and developers can override in their own code. However, if a WordPress plugin or a custom code snippet fails to correctly handle one of these functions, then you will see an error like this one:
Warning: Cannot modify header information – headers already sent by (output started at /home/username/demosite/wp-content/themes/mytheme/functions.php:1035) in /home/username/demosite/wp-includes/pluggable.php on line 1179
Sometimes you would be able to continue working on your site despite the error, sometimes the error would be fatal and make your site completely inaccessible. [Fix pluggable.php file errors in WordPress]
41. How to Fix Common SSL Issues in WordPress
SSL / HTTPS enabled sites use a unique SSL certificate for identification purposes. If a server is pretending to be on HTTPS, and its certificate doesn’t match, then most modern browsers will warn the user from connecting to the website.
The easiest way to fix this is to ask your WordPress hosting provider to properly install your SSL certificate. For more details and other errors caused by SSL misconfiguration, see our guide on how to fix common SSL issues in WordPress.
42. How to Fix File and Folder Permissions Error in WordPress
WordPress needs specific file and folder permissions to work properly. Most WordPress hosting companies already set them up but these permissions could change accidentally or due to a misconfiguration.
You can set these permissions manually by using an FTP client. Simply select all WordPress files and folders and then apply permissions to folders and files recursively.
You will need to set all folder permissions to 755 and all file permissions to 655. For more details, see our article on how to fix file and folder permissions in WordPress.
43. How to Fix the HTTP Image Upload Error in WordPress
Are you seeing HTTP error when trying to upload images or media to your WordPress website? There are a number of things that could lead to an HTTP error when uploading files using the WordPress media uploader.
Most of the time, this error is a temporary issue and resolves in a few minutes. However, other times it becomes persistent and needs further investigation.
For step by step instructions, see our complete guide on fixing the HTTP image upload error in WordPress.
44. How to Fix Your Connection is Not Private Error
‘Your connection is not private’ error appears on websites using the SSL / HTTPs protocol when your browser is unable to validate the SSL certificate issued by the website.
Most popular browsers will display the error message instead of your website, this results in sudden drop in website traffic and damage to your brand image.
The problem is figuring out the cause of this error. We have prepared a step by step guide to easily fix connection is not private error on your website.
45. How To Fix “The Link You Followed Has Expired” Error in WordPress
This error usually occurs when you are trying to upload a WordPress theme or a plugin to your website from the WordPress admin area.
WordPress hosting companies put a limit on file sizes you can upload and how long a script can run on a website. If the file you are uploading is large or taking longer to upload, then you’ll see the ‘Link you followed has expired’ error.
Depending on what’s causing the error you need to increase memory limit and file upload size in WordPress. For detailed instructions, see our article on how to fix the link you followed has expired error in WordPress.
46. How to Fix WordPress Website Not Updating Right Away Issue
Is your WordPress website not showing the recent changes you made? The most common reason for this issue is caching.
Basically, your browser or WordPress caching plugin temporarily stores a version of each page viewed on your website. This allows them to quickly serve pages instead of requesting a fresh copy from your server.
If your website is not updating right away, then the most likely cause is that you are viewing a cached version. We have compiled a detailed guide that shows how to clear WordPress cache on all popular browsers and caching plugins.
47. How To Fix “Failed To Load Resource” Error In WordPress
WordPress includes several files when loading any page on your website. Behind the scenes, each page load contains several images, scripts, stylesheets, and more. These files are then loaded by user’s browser.
However, if these files are not found, then you’ll see the “Failed to resource” error in the browser’s Inspect tool.
The easiest solution is to make sure that the file actually exists on your website. However, if that doesn’t work then you need to check your WordPress URLs to make sure they are correct.
For detailed instructions, see our guide on how to fix “Failed to load resource” error in WordPress.
48. How to Fix “Missing a Temporary Folder” Error in WordPress
WordPress temporarily stores files in a temporary folder when you are uploading media, upgrading plugins, and themes. If it is unable to create or write in the temporary folder then your uploads fail with the error message ‘Missing a temporary folder’.
To fix this, you need to add the following code in your wp-config.php file.
define('WP_TEMP_DIR', dirname(__FILE__) . '/wp-content/temp/');
After that, you need to connect to your website using an FTP client and create a new folder named ‘temp’ inside the wp-content folder.
For more details, see our guide on how to fix missing a temporary folder error in WordPress.
49. How to Fix “Googlebot cannot access CSS and JS files” Error in WordPress
Are you seeing crawl errors in Google search console with the message ‘Googlebot cannot access resources”? In order to understand a page, Googlebot needs to view it with the accompanying CSS and JavaScript files.
However, if Google cannot load these files then it would cause errors in your Google Search Console’s coverage report.
The most common cause of this error is users accidentally blocking these resources using .htaccess file or robots.txt. See both files in your website’s root folder to make sure you are not blocking static resources.
For detailed instructions, follow our article on how to fix Googlebot cannot access CSS and JS files error in WordPress.
50. Troubleshooting WordPress Errors on Your Own
We have covered some of the most common WordPress errors in this article. However, the real power of WordPress comes from thousands of plugins and themes that you can use on your site. Any plugin or theme installed on your site can cause errors.
It could become really hard for beginners to find out what is causing the problem on their site and how they can fix it.
We have compiled complete step by step guide on troubleshooting WordPress errors for beginners. It will help you learn how to diagnose WordPress issues and how to fix them like a pro.
That’s all, we hope that this guide helped you find and fix the WordPress error that you were encountering. You may also want to see our guide on how to get a free email domain, or see our expert picks of the best drag-and-drop WordPress page builders.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Syed Balkhi says
Hey WPBeginner readers,
Did you know you can win exciting prizes by commenting on WPBeginner?
Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
You can get more details about the contest from here.
Start sharing your thoughts below to stand a chance to win!
Anh says
hi, I need help! when i change domain name my website, problem my wp-admin login not work it page no results found
Lizette says
Hi I am a new WP Beginner user. My problem is that I have completed my “About” section from the dash board back-end side. But it does not show on the front-end or to the public. How can i fix this? Usually when I create my posts from the dash board it shows on the front end. So I was thinking it would be the same for whatever I edited on the dash board.
Thanks for the help
Jessica says
Please assist me. I write blogs which are then shared on the Facebook feed and Twitter Feed. However when I click on the links on FB/Twitter and it jumps to wordpress it says “Oops! That page can’t be found.”
I am not sure how to remedy this. Why would the blog page say that. When I go to the wordpress site and click on Blog, it shows all my posts correctly. Only when I click through from the shared posts does it give this error.
Please assist. Thank you
Olive says
Dear Sir, my website is currently under many problems. I need help.
I cannot write a new post ( message on screen: you are currently editing the page that shows your latest posts) and cannot add photo to old post (message on screen: error try again later).The interesting thing is that I can go look on the backend via FTP and see that the file is being uploaded correctly, it’s just not being displayed in WordPress. I tried to deactivate plugins one by one and activated it again, n also replaced the theme but nothing changes. I try to repair database via Wp-db manager but it wont fix (error messages – Not repaired). I was also not able to login with either of the other 2 administrator accounts. So I tried to add a new account and it said it created it but it never showed up in the list and I wasn’t able to login. What do you think the main problem is?
Thanks so so much for any reply or suggestion! I appreciate it;)
WPBeginner Support says
Hi Olive,
It seems that these problems are not connected to each other.
1. To add a new post in your WordPress site, you need to click on Posts » Add New page. It seems that instead of adding a new post, you are editing the blog page.
2. For adding a photo to an old post, you need to check out our guide on how to fix common image issues in WordPress.
3. Try using the email address instead of username for one of the administrator accounts to login .
Admin
mamta says
Adsence plugin now! admin page is showing the error written below: and no ads are on website, please explain:
Requests to the server have been blocked by an extension.
Henri Virtanen says
Dear Sir,
Prepare In Writing, My Problems, And Then This Comes Up, Every-Time When Trying To Send It, Why Is That???????
What Is This???????
Sucuri WebSite Firewall – CloudProxy – Access Denied
WPBeginner Support says
We use Sucuri, a website monitoring and security company to protect our site against abuse. It looks like Sucuri firewall has flagged your IP address. If you can, then please try changing your IP address.
Admin
Felix says
This error is showing up on a published page repeated 398 times filling the whole page:
Warning: in_array() expects parameter 2 to be array, string given in /ROOTFOLDER/wp-includes/formatting.php on line 398
I have the most up to date version of wordpress, and the formatting.php file has not been tampered with in anyway. Why is this file faulty, and what can I do to fix it?
Thanks
WPBeginner Support says
Try deactivating plugins, see if the error is gone. If it is gone, then reactivate plugins one by one until the error occurs again. If plugins are not at fault, try switching to a default theme. IF changing theme solves the issue then the problem is with your WordPress theme. It is also possible that the page or the page template is using a shortcode or some other php code in template that is generating the error.
Admin
Kwasi Enoch says
Hello please Facebook won’t allow me post my blog link, it keeps saying mydomain/wp-content has been blocked so I should remove it and continue because it is unsafe. My domain is, please help me.
Benpaul says
I’m using the version 4.5.3 of wordpress and loving it but having a students’ database to be accessed only by authorised members is an issue. Can a plugin fix this?
WPBeginner Support says
We are not sure we understand your question. Can you please provide more information?
Admin
percy says
hello
im having these errors, Fatal error: Call to a member function add_cap() on a non-object in C:\wamp\www\beki\wp-admin\includes\schema.php on line 659 and after fixing and reload the page, it says , You appear to have already installed WordPress. To reinstall please clear your old database tables first
pls help
Cory says
I am searching a plugin that send a message when my site is down.
Ahmed LAHMAR says
try jetpack and make sure it’s linked to your wordpress.com accout
Mukul Sharma says
I am running wordpress on xampp on my windows 7 64 bit. Everything works fine, the database is connected and ports are good. But whenever I install a theme or any plugin then this error is shown
Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\WP\wp-includes\class-wp-http-curl.php on line 332.
Please help me out
Drew Walk says
How to fix Customize Page didnot working ? it showing blank page.. you forgot abot it
James says
hi, i buy one wordpress template “AZ – Multi Retail & Concept WordPress Theme”. i upload that template in my website but not show as like a template. it shows normal words. pls help me.
Reed Gustow says
I love WPBeginner and recommend you often. Just wanted to add to suggestions for fixing WSOD: sometimes when you move a site ( local to hosted or server to other server) you can see the home page but not other pages. This is usually a permalinks issue, and the fix is to change permalink settings to default, save, and then choose your desired permalink option. When moving a site, the URLs can get messed up and this usually fixes it.
Keep up the great work!
WPBeginner Support says
Thanks for adding this tip and for recommending WPBeginner.
Admin
ikram says
Hi, i have a website on wordpress. I am working on wpml plugin on this website for transaltion of english content into german language. During the use of this plugin ,i seem error to install wordpress on my website. ( when i asked hosting proivder about this error,they said your site reached queries limit that is 75,000) . So sir please tell me or guide me how i can handle this problem ?
WPBeginner Support says
You can find a better WordPress hosting. You can also try using W3 Total Cache to reduce the load on your server and database queries.
Admin
ikram fareed says
Kindly share some good hosting proiders. I need it for e-commerce website. I am already using W3 cache…but it donot solve my problem
WPBeginner Support says
Take a look at our guide on how to choose the best WordPress hosting.
Admin
ZJUnaid says
when i want install some plugin the wordpress says (Warning: link() expects exactly 2 parameters, 1 given in /home/cosmesurgecom/public_html/wp-admin/includes/file.php on line 481)
how can i solve this probleum
Kalpana says
Hello sir, here am getting simple problem the login problem in WordPress firstly I have installed xampp run it and I have created mysql database with username & password…then I have installed wordpress unzip file and placed in xampp htdocts then wordpress wp-config-sample-php opened in notepad and I have created the same database username and password with localhost and saved it and rename at wp-config.php then in browser I have typed
localhost/wordpress/wp-admin
The error telling that sry, we didn’t find wp-config-sample-php file….
error in login…tried a lot.. Sir pls solve my problem pls explain me in briefly…
Mark says
I think you should go do it on a simple way.
Since you already already created the database. Try to re upload the wordpress package and unzip it, just do a browse and enter the database credentials on during the installation.
Kyrian Smith says
hello. I lobe your site. I do some localhost WordPress works. I was stock when I saw my site was logged out and I had to login only to see “… user(s) already exist. ” . I had to insert all the details required and it takes me to a long text of error?
Please I need help. I am stuck
Kathleen Morrissey says
I update and run a church website and recently have run into difficulty when uploading pdf newsletters. These are required to be uploaded very 2 weeks. As is usual, I saved them into a folder on my computer (ie documents/Bluebell website/newsletters (saved in date order) but the ending is not showing up properly and does not look correct when I upload them into my post). I have only basic training / the host no longer involved as a form of back up.
Genevieve says
Editing the php.ini file didnt work for me. However I searched further online and found this incredible xml splitting tool. It split the xml file into two and I was able to upload the sample data with ease!
It’s called The WXR File Splitter v1.52
susan says
Hello, I have a wp walls 2.0 theme. I was updating the ads on the site and clicked close then visit site and I did this quickly and now everything shifted to the right of the screen. I dont know what to do to fix this. I appreciate your help.
Thank you
saikrishna says
hi,
i got a problem that in home page i had menus like home,blog,features,contact,ourteam.when i open any page again all the menus are displaying on that page ..my problem is i don’t want to display menus on each page .iwant to display some other different menus on each features , contact,ourteampage ….on different page different menus please help
Frank says
Hi,
I committed one of the cardinal errors when inserting the Google Analytics tracking code by upsetting the original header code. In spite of all the warnings I did not copy the original code and now have a syntax error. Can you help?.
Gurmeet Singh says
Very well explained. Thanks very much
Henary says
Thanks for provide wordpress commonly issue list.
Kamal says
Hello I read the article about creating a back up. But thats all for the .org sites. Is it possible to take back ups of a simple blog on the wordpress.com site?
Thanks
Zara Martina says
My wordpress blog page is set up for comments and received two before my first blog post. Now, after my first post, when I click on the comment link it does nothing. I’ve been into discussion settings and allowed comments but still nothing? The comment link is showing but that’s all.
Dhareppa says
Need help where can in downloading wootique theme from?
tony morrison says
when i reply to a comment posted on my blog i get this
ERROR: Enter object in the image.
Al Karaki says
I would like to know how I could display different categories of posts on different pages on the same website. For example: posting all business related posts on the “business” page, sports related posts on the sports page, etc. I select and post all of the content but want to separate the content for easier read by my visitors. Thanks.
WPBeginner Support says
You can use categories to do that. After filing posts in appropriate categories you can add those categories to WordPress navigation menus by visiting Appearance » Menus page.
Admin
don says
all of a sudden none of the content on the category pages of my site is clickable. everything on the regular pages & home page works fine.
how can i fix this?
i havent changed any code but just got an adsense ad put on my home page & i switched from w3 super cache to w3total cache. i didnt like total cache so i deleted it & reactivated w3 super cache.
April says
I cannot figure out how to make tab spaces stay when I switch between html and visual mode in wordpress. I am a poet and this makes playing with the format extremely difficult. I have not been able to find a solution anywhere (that does not involve major coding that I do not understand.) Is there an easy way to fix this?
WPBeginner Support says
That’s mainly because Tab Spaces are not HTML formatting. You can install a plugin like TinyMCE Advanced to add an indent button into your visual post editor.
Admin
Silvia says
I am so glad have found this blog, a lot of information very easy to digest..
I have my website in WP running already for two month.
Now I have encounter a problems with the links. I cannot link words from my content. I use to do clicking the icon, that shown me a little window to redirect the link, It was running perfectly, but since two ago it doesn’t work any more.When I click in the icon the screen move to the right, and that’s, anything else happens.
If I want create a bottom it is fine, there is no problem.
There a way that I can fix that easily by myself, I am not really tecchy.
Thanks so much.
Phil says
I cannot for the life of me get images to show at all on my WordPress website. I’m running Ubuntu 14.04 and my WordPress is now on localhost. I can upload and edit images and see them while doing so just fine! BUT I cannot load images into my webpages and the images with the themes don’t show either. I’m getting zero php errors and zero Apache errors.
Just can’t understand this and couldn’t find the answer via Google. I’m running WordPress 4.1.1. I’ve disabled ALL plugins and still have the problem AND I’ve set my /usr/share/wordpress/wp-content folder to 777 permission and /usr/share/wordpress/wp-content/uploads directories and everything under them to 777 permissions. A check of the Apache and php error logs shows no errors.
Any help is much appreciated.
Phil
WPBeginner Support says
We are not sure how apache is set up on your system. But here is something you can try. Add user you are currently logged in with to the www-data group. After that you need to give the ownership of your WordPress directory to the www-data group. Lastly, you need to set directory permissions for wp-content folder to 755. Hope this helps.
Admin
Phil says
Hi and thanks,
My permissions are see as you said and my user is part of the group www-data but still the same results as above. I cannot even see the theme images except for the images on theme twenty fourteen only when selecting it.
Thanks,
Phil
jane says
Hi, I hope you can help I am not using Worpress as a blog but as a website with information only. How do I remove the bottom panel that has comments and log in as people are trying to get into the site – when there is nothing to get into. Thanks
Robin says
Was uploading pics and it was working fine. In the middle of it, I started getting an error message: dscf4594-1(rev 0).jpg” has failed to upload due to an errorThe uploaded file could not be moved to wp-content/uploads/2014/11 and now I am unable to upload anything. Any help would be greatly appreciated!
kirsten says
The media I have uploaded over the weeks suddenly dos not show on my page and if it does once play is clicked it does not play ? PLEASE HELP
vinh says
how to fix content page not showing. plz help me
Martin Orton says
Some really good WordPress tips here! Really enjoyed reading it!
Abdelrahman Helmi says
My host offers PHP 5.3 , 5.4 and 5.5 versions, What is the best for WP?
Dewey says
getting Fatal error: Call to undefined function get_user_by() in D:\Hosting\11407246\html\wp-content\plugins\intellectual-property-basic\template_handling.php on line 84
when signing into wordpress wp-admin site….
Nathan Freeburg says
I’m getting this error when I click on the Plugins link.
Fatal error: Cannot use object of type stdClass as array in /data/16/2/156/148/2156963/user/2367401/htdocs/WordPress/wp-content/plugins/all-in-one-event-calendar/all-in-one-event-calendar.php on line 160
It’s clearly an issue with that one plugin, but how do I get in to deactivate it?
WPBeginner Support says
please use plugin’s support tab.
Admin
Manuel Crisol says
I put in a comment with a request for help a few minutes ago. It showed when I clicked “add your comment”. But when I refreshed the page and went back again. All other comments that I saw before I posted were there except my post for help. Why?
Manuel Crisol says
I can’t understand something in my website. I have WordPress 3.8.1 running Twenty-Eleven Theme. in my media library I had one word I wanted to change. FIRST–I deleted the media item in my library.SECOND—I uploaded the same item which I edited in my computer (one word change: from the word “can” to the word “may”) THEN—-when the item was uploaded, it still showed the word: “can” and NOT the word “may”. Third—I again went back my media library and instead of DELETING the media library item. while the item concerned is checked: I clicked: “edit image”. and this brought me to EDIT MEDIA PAGE: BUT THE IMAGE SHOWED MY CHANGES. THEN, I CLICKED UPDATE AND VISITED THE PAGE WITH IMAGE CONCERNED AND IT STILL HAS THE WRONG WORD THAT I WANTED TO CHANGE.
What am I doing wrong??? I would appreciate your reply. THANK YOU VERY MUCH.
WPBeginner Support says
Leave that file in your media library and try to upload it as a new file.
Admin
Gary Clift says
Hi there,
Thanks for your tips on your web site regarding WordPress.
Can you please answer a question?
I added my newly registered gary-example.com domain to my WordPress site:
WordPress Address (URL) http://gary-example.com
Site Address (URL) http://gary-example.com
and it worked but when I changed the settings to:
WordPress Address (URL) http://www.gary-example.com
Site Address (URL) http://www.gary-example.com
I could no longer access the site. I Googled and was able to edit the functions.php file to get back to normal, but people are expecting to be able to hit http://www.gary-example.com.
Am I doing something wrong? Or have I not given the Name Servers enough time to make this magically work??
Thanks so much, I really appreciate it.
Gary
Gary Clift says
Sorry I meant to say people are expecting to be able to hit http://www.gary-example.com.
Thanks,
Gary
WPBeginner Support says
You need to ask your web host for support. It seems that your domain is not configured to use www
Admin
Freddy says
You can try redirecting your www domain (www.gary-example.com) to the non www domain (gary-example.com) using .htaccess
Add the following code in your .htaccess file:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
And save the changes. Hope it helps!
Albert Fields says
I have the biggest (to me) beginner error. I loaded WP into my host site and all I get is a page that says it is the front page and does nothing.
I can not figure how to get to the administration page of WP.
I need some help.
WPBeginner Support says
Your adminstration section is located at http://www.example.com/wp-admin replace example.com with your own domain name.
Admin
Pam Burzynski says
Yes, I always love your tips because you know what difficulties we’re experiencing. Relative to photos, how about this one…No problem uploading photos to posts, but when sharing these posts on twitter, fb, linkedin the photo doesn’t show up anymore (it used to). Now I get this strange bubble “photo” instead of the image. Yes, I have set the featured image too. I have searched for solutions and know a lot of other folks have this issue as well, but I can’t resolve it. Of course these types of issue can drive a person batty. Any thoughts on this one? Thanks! ~Pam
Carole Rains says
I have triggered errors on my site when attempting to add code or make some other type of layout change. Is there a way for me to create a dummy version of my site that I can test my changes on so I don’t break my site while customers are on it?
WPBeginner Support says
Caroline you can mirror your website on your local computer by using WAMP for windows or MAMP for mac
Admin
Lupdilup says
Thank you for sharing all these great tips and tutorials, I truly appreciate it
Have a fabulous New Year!
David Radovanovic says
Don’t forget the increasingly popular ajax permission error:
“XMLHttpRequest cannot load http://www.yourwebsite.com. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://yourwebsite.com’ is therefore not allowed access.”
Note the two urls: one has a “www” while the other does not. Same server though different domain causes the error.