In this bonus article, you’ll find some further resources to learn more about WordPress. We’ve also included some of the most common WordPress site errors and how to trouble shoot these issues.
Interested in getting started with a new site with Flothemes? Get 20% off any theme with the code:
Want to learn more about the nuts and bolts of WordPress?
Check out the WordPress codex, as it covers everything you need to know about WordPress. We highly suggest checking out the “Learn how to use WordPress” section on the home page.
Since WordPress is one of the most documented platforms on the planet, you can find an array of great resources on the web, with thousands of sites and youtube tutorials. We’d recommend you book mark some of the following resources, to learn more about WordPress after you finish this course.
Here are a few of our favorites:
Check out some of Flothemes most popular posts for recommendations and best practices related to your WordPress site:
Top 10 Troubleshooting Problems with WordPress
In this section we take a look at 10 most common WordPress errors and issues, as well as resources with details on how to resolve them.
1. Allowed Memory Size Exceeded
This is a common error with WordPress and shared hosting plans. It’s a memory issue with uploading files to WordPress. If you’re uploading large files such as plugins, themes or unoptimized images, this may occur. This error may cause a white screen of death, or a message like this:
Fatal error: Allowed memory size of 33565589 bytes exhausted (tried to allocate 2343219 bytes) in /home/username/public_html/sitename/wp-includes/plugin.php on line xxx
To resolve this, you’ll want to increase your max file upload limit. Check out how to fix this error from our good friends WP Beginner on how to solve this issue here.
2. White Screen of Death
This error occurs when scripts exhaust the memory PHP limit, leaving you with just a white screen, and no error messages to debug.
Check out the following tutorial on how to fix the white screen of death.
3. 404 Posts Error
A page or post is returning a 404 (resource not found) error. This normally occurs when a post has been removed, the URL changed, or permalink structure has been changed. If the post or page has been removed by accident you can go to the trash can and restore it. If you’re removing the post, consider re-directing this resource to somewhere else on your site, so you don’t lose relevant traffic.
4. Memory Exhausted Error
You’ll be faced with an error like the following;
Fatal error: Allowed memory size of 12454736 bytes exhausted (tried to allocate 394930 bytes) in /home/username/public_html/site1/wp-includes/plugin.php on line xxx
This error occurs when a script on the site exceed the maximum memory limit on your site.
5. Image Upload Issue
There are occasions when images are suddenly not uploading in WordPress, or the images are uploading but creating broken image links. Normally this occurs due to incorrect file or directory permissions, but it can also occur due to another number of reasons.
6. Common Image Issues
Adding images to pages and posts in WordPress can sometimes be a little confusing, normally this is due to human error rather than being related to specific theme issues. This could be – adding images in the wrong size, linking them incorrectly or having the wrong alignment.
7. Incorrect Thumbnail Facebook Issue
A very common issue that users face when sharing their sites on Facebook is getting the incorrect featured image showing up. This can happen due to the image sizing being incorrect for the featured image, the images in the post are missing or broken, or multiple images have the og:image tag.
8. Briefly Unavailable for scheduled maintenance issue
You’re updating a plugin or theme and the connection has just timed out. Now you’re faced with the “Briefly Unavailable for Scheduled Maintenance” error showing on your site for both you and your visitors. The site will be stuck in maintenance mode until the error is resolved.
9. 500 Internal Server Error
This error occurs when something has went wrong on the server, but it’s unable to identify the issue. There could be a large number of reasons for this occurring – plugin issues, memory limit exceeded corrupt .htaccess files, etc.
10. Connection Timed out
If your site is taking a long time to load and then it gives you an error that it’s not available to load, this will be a time out error. This happens as the server can’t handle the requests on the site. It could occur due to poorly optimized sites, plugin issues or bad configuration of the website. Try the following steps to resolve this issue.
1. Deactivate all plugins — Plugin problems can also cause timeouts. To solve it, the best idea is to deactivate all plugins and then reactivate them one by one until you have found the culprit.
If you don’t have access to the admin area, you can deactivate all plugins by renaming the plugin folder inside wp-content via FTP, simply rename the plugins in the plugin folder one by one. Plugins can be found in wp-content/plugins/ folder.
Should a plugin have caused the problem, this should get you access to the backend.
2. Switch to a default theme — Timed-out connections can be caused by theme issues. A faulty theme can also be the problem and you can test this by using one of the WordPress default themes (anything with “Twenty” at the beginning of the theme name).
If you don’t have access to the WordPress backend, you can also make this change via FTP.
Go to your theme folder wp-content/themes/ and rename your current theme’s folder. This will make WordPress fall back to a default theme, as long as one is installed on your server in the same folder.
3. Increase your PHP memory limit — Check out how to increase your memory size limit here.
If neither of the above solutions resolve the error, contact your hosting provider for further assistance in debugging issues.