01 Jun 2017

WordPress Errors : 27 Most common issues and how to Fix them

WordPress Errors : 27 Most common issues and how to Fix them

You must have selected WordPress because of its ease of use but, have you considered errors related to WordPress? Like other CMS users, WordPress users also experience different issues. So, it is ok to face WordPress troubles.

Having a WordPress maintenance service provider could help you out in solving most of the WordPress issues. But, do you know, how to fix them all be yourself?

We have identified 27 WordPress errors so far that are frequently confronted by WordPress users.

Check this blog and learn how easily you can fix the WordPress errors without seeking help from the professionals!

Why your site is vulnerable towards WordPress Errors?

When we are discussing over a number of WordPress issues, it is also important to know why your WordPress site is vulnerable to those issues. There is numerous factor can go wrong and lead to WordPress troubles. But, there are three reasons of the many that can really affect your site, such as:

  1. Poorly Coded Plugins

You have powers to use thousands of plugins on your WordPress site, which is a big positive factor. But, what most of the WordPress users overlook is the “quality” of the plugin. Sometimes the newbie plugin developers may create a plugin that has conflict codes with other plugins or themes. Plugin developers with less skill can also make similar mistakes. So, always download plugins from a reputed plugin designer to avoid compromising WordPress health.

  1. Poorly Coded Themes

Even WordPress themes can bring down your WordPress site. it doesn’t matter whether you bought the theme with a premium price if it is poorly coded; it will certainly bring down your website’s speed and start showing conflicts. It is always better if you are using a native theme like TwentySeventeen. But, if you are intended to install something different, we will suggest you check the developer’s reputation and first check the theme on a staging site (as a trial).

  1. Poor Hosting Provider

If your hosting solution is not good enough then your website could be vulnerable. Many of the common WordPress issues are manageable by the hosting providers. If your host is good, you will never confront issues like the slow page, memory exhaustion or content/image upload. Try to avoid using “free hosting” and “cheap hosting” services, as most of them are spammers. It is always better to have Virtual Private Server.

We have identified 27 WordPress errors so far that are frequently confronted by WordPress users.

Check this blog and learn how easily you can fix the WordPress errors without seeking help from the professionals!

  1. 500 Internal Server Error

Perhaps this is one of the most common errors faced by almost every WordPress users. The “500 Internal Server” is also known as “Internal Server Error.”

500-Error

The occurrence of 500 Internal Server means that the WordPress system comes across to some error but unable to identify what is the issue. However, the 505 error message generally consist of the information like “where should you look for the error.”

This clue is enough to find and solve the issue. Further, the 500-server error could be solved by checking Corrupt .htaccess File, increase PHP memory limit and deactivate all plugins.

  1. Posts returning 404 errors

This WordPress error is probably the most occurring error in WordPress websites. When 404 errors occur, the visitors lead to the 404 page by clicking on the post link rather than encountering a “not found error.”

404-error

The reason behind this error is permalink settings in WordPress. There are not many different ways to resolve this issue. The most effective one of all is to reconfigure the permalink setting.

You can also manually rewrite the rules. If you are using local servers, you may also need to fix the local servers.

  1. The error establishing database connection in WordPress

If your website is unable to establish a connection with the database, a message will pop up with a note “Error establishing a database connection.” Dealing with this issue is little tricky for the beginners.

error establishing database connection wordpress

This kind of problem occurs when someone modifies database credentials like database host, database password and database username incorrectly. Sometimes your database may corrupt or the server becomes unresponsive that can lead to the same issue.

The easiest way to cure this issue is to check WP-Config file and make the needful changes. You may also have to check your Web Host to mitigate this WordPress Error.

  1. Syntax error in WordPress

You can face syntax error while introducing code snippets into WordPress you made some mistakes regarding the codes. Codes with incorrect syntax can also lead to similar issues. This WordPress Error log can further lead to PHP parse and WordPress may flash you the following message:

Parse error- syntax error, unexpected $end in /public_html/site1/wp-content/themes/my-theme/functions.php on line 278

syntaxerror wordpress

Fixing this issue is easy, as the message will indicate you the location of the error along with the line number. You can also fix this error using FTP, or by sampling deactivating the plugin (if doable).

  1. White Screen of Death WordPress

WordPress website showing blank page is one of the common WordPress issues faced today. In this error, you will see the only plain white blank screen with no trace of a single message. Dealing with kind of error is critical, as one have no clue how to look and where to look for fixing.

white screen of death

This WordPress problem may be faced when PHP memory limit is exhausted. On the other hand, it can also take place because of a particular configuration on the server.

You can solve the blank white page issue by increasing the memory limit, disabling the plugins, and replacing the theme with the default theme.

  1. White text and missing buttons in WordPress visual editor

This exceptional WordPress error confronted a large amount of WordPress users. In this error, the WodPress visual editor may turn into blank white space without any buttons on it.

white text missing buttons

This error may result when Javascript is not working properly. It may also cause due to corrupt or missing TinyMCE or due to conflict with plugins.

To resolve this issue you may need to replace TinyMCE scripts, fix wp-config, and clear the browser cache. These are the easy tricks but probably the effective one.

  1. Memory exhausted error

The wp-admin blank white page is the result that indicates WordPress default Memory is exhausted. You may also get an error message like the following:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home/username/public_html/site1/wp-includes/plugin.php online xxx

Memory exhausted

To mitigate this error you have to increase the PHP memory limit in WordPress. This is might be the only step to cure this error.

  1. Sidebar below content error in WordPress

Another common issue faced by the WordPress users is the appearance of sidebar under the content. The reason behind this issue is WordPress theme. It is noticed that most of the users forget to close an HTML div tag while adding a code snippet to the site. This unwanted mistake or accident can result in breaking the theme layout.

sidebar below content

To cure this you have to go through all of the recent changes that made. You have to close the extra division that may be left mistakenly.

You may also require checking on the recent plugins. If closing all of the extra divisions does not solve the issue, consult with the professionals.

  1. Locked out of WordPress admin

Wo reasons that can lead to you to this locked out of the site situation. First, you might forget the password and don’t have access to the password recovery email. Second, maybe your WordPress account has been compromised.

Locked Out WordPress Admin

In order to retrieve your control on the admin panel, you can reset your WordPress password with the help of phpMyAdmin. This method is widely popular. You can also add another admin to our WordPress site with the MySQL.

  1. WordPress login page redirecting/refreshing issue

This WordPress error can make the users nervous and anxious, because in this error when someone tries to log in, WordPress redirect the user to the same login page. It is noticed that incorrect values for site URL in WordPress options table can cause this issue.

login redirecting issue

To resolve this issue, deactivate all plugins, clear cookies, change to the default theme, update site URL and delete the .htaccess file if required.

  1. Common image issues

Although many of the WordPress users categorize this issue as an error, it can be said that this is not at all a WordPress error. Uploading images and displaying them in a gallery format is critical for the new WordPress users.

common images problem

Good tutorial and practice are the two key steps to resolve this issue. The more you practice more you will become familiar with WordPress settings and tools.

  1. Image upload issue

In this case, the user may experience that all of the images are gone from the site and showing broken image placeholders. Sometimes, the use of a media uploader can result in this error.

Incorrect directory and file permission in WordPress installation can also break the files within the media library

Change the file permission setting to 744. If it doesn’t work, then we recommend you to try 755. If you need detail step by step process, then search on YouTube and you will find a stack of video tutorials.

  1. WordPress display error message: “Are you sure you want to do this”

This error message appears in WordPress site often when the themes or plugins are unable to use Nonce properly. A nonce is considered as the special security keys that may be appeared while performing an admin action in WordPress.

display error

The nonce is generally attached to URLs. Sometimes, plugins and themes fail to use it in the correct way and hence result in an error.

In order to fix this error, you may need to investigate plugins as in most of the cases plugins are the root of this error. You may also need to investigate themes for the same reason.

If there are no issues in plugins and themes, then take a full backup of the WordPress site and delete all of the files except wp-content directory. Then download a fresh WordPress and upload to the web server.

You have to create a new wp-config.php file and add all sections except “Authentication Unique Keys and Salts.” Save and upload wp-config.php file. This may help you to fix the error.

  1. WordPress not sending emails

This very common error is frequently encountered by the WordPress users. The symptom of this error is not receiving any WordPress notification emails or any contact form from your site.

WordPress not sending emails

The reason behind this issue is, most of the shared hosting providers limit or disables the email-sending module. They do it to prevent server abuse.

You can use the Maligan service provider to fix this issue. You can also use SMTP Servers. Both of these servers are safe and highly efficient.

  1. “Briefly unavailable for scheduled maintenance” error in WordPress

In this error, your WordPress site may flash the following message:

“Briefly unavailable for scheduled maintenance. Check back in a minute.”

This error may occur due to an interrupted or unfinished WordPress update. Whenever you are updating your WordPress, it automatically shifted into the maintenance mode. Now, if the update is interrupted or stopped before completion, then WordPress fail to get the site out of the maintenance mode.

unavailable

This WordPress error locks down the site and it becomes unavailable for the user (admin) as well as the visitors out of the site.

While updating WordPress always try to complete the process as this is the main step to stop occurring this error. During the update process, WordPress create a .maintenance file.

If you do not remove it, this may lead to error. You can also customize the maintenance mode notifications.

  1. WordPress RSS feed errors

He RSS feed errors is also very common. The error may display the following message:

XML Parsing Error: XML or text declaration not at start of entity
Location: http://example.com/feed
Line Number 2, Column 1:

However, this RSS error message could vary depending on the browser you are using. You may confront the following message while visiting feed in a browser.

rss feed

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 use a strict markup language to present RSS feeds in XML An extra tab or a missing line track can break RSS feeds.

You can manually fix RSS Feed Errors in WordPress You can also use plugins such as “Fix My Feed RSS Repair” for the job.

  1. 403 forbidden error

403 Forbidden is displayed when your server permissions refuse to grant access to a page. The error usually displays the following message:

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.

forbidden error

For this error, you can blame poorly coded security plugins, incorrect file permission, and poor server configuration.

To prevent this error you may have to investigate all of the plugins and disable the culprit one. On the other hand, you can also find the corrupt .htaccess file is causing the issue. If file permission is causing the error, then you may have to change the file permission to the 744 or 755.

  1. “Upload: Failed to write file to disk” error

One of the most common reasons behind this error is incorrect folder permission. Incorrect permissions of the folders can cause this error by shutting you out from writing on the server.

To resolve this issue you may need help from the FTP clients. File permission dialogue box will be open in FTP client. I will display permissions for public, group, and owner. You will require entering in 755 fields and check “Recurse into subdirectories.”

After that, click on “Apply to directories only.” You can also change the permission to 644.

  1. “This site ahead contains harmful programs” error in WordPress

Google usually use this remark to warn the users that the website has suspicious code that could be Trojan or malware. In most of the cases, the reason for showing this message is that maybe the website has been hacked and distributing malicious code. This error can also occur if the site is displaying low-quality ads.

site content ahed

Removing this error is a critical job, as you have to remove all of the malware and recover the website. Only after clearing all of the malware, you can request Google to remove the warning from the site.

  1. Too many redirect issue in WordPress

The reason behind this error is misconfigured redirection issue. WordPress and most of the WordPress friendly plugins have the redirect function. However, any misconfiguration in redirection tools could end up causing this error.

To break this redirection loop error, you have to change the site URL. You need to download the wp-config.php file and add the following two lines in the file.

define(‘WP_HOME’,’http://example.com’);

define(‘WP_SITEURL’,’http://example.com’);

Change the example.com with your domain and upload the file.

Sometimes, plugins can cause the similar error. Find this culprit plugin and delete it.

  1. Fatal error: Maximum execution time exceeded

The WordPress is developed with PHP programming language. In order to protect web servers from abuse, a time limit could be set for the running time of PHP script. The hosting providers control this time limit. Some of them set it at a maximum where many of them set it at a lower level.

There are two methods to fix this issue. First, you can edit the .htaccess file manually by adding the following line into the file:

1php_value max_execution_time 300

On the other hand, you can also use the WP Maximum Execution Time Exceeded plugin without disturbing the .htaccess file. In both cases, the maximum execution time will be increased up to 300 seconds (5 minutes).

  1. Missed Scheduled post error

Schedule post is one of the coolest features you could find in WordPress. Using this feature, users, especially the bloggers schedule their publishing time of the blog. However, sometimes, WordPress fails to upload contents at the scheduled time.

The occurrence of this failure frequently is a significant error of WodPress system that requires being addressed quickly.

The scheduled post error is a technical fault of WordPress 3.5, which is patched in version 3.5.1. However, you don’t have to wait for the update and use “WP Missed Schedule” plugin to publish posts if WordPress failed to do so.

  1. Facebook Incorrect Thumbnail issue

Failure of selecting correct thumbnail image by Facebook is a very common issue. This error often occur, when the user has multiple sets of images in the og:image tag and the featured image is smaller than the other images.

This issue could be resolved by two ways. First, one can manually upload the thumbnail image during the upload of the post.

Second, with Yoast plugin one can specify the thumbnail image, which will be uploaded while posting the link on Facebook (as well as Twitter).

  1. The Maintenance Mode Stuck

It is always advised to update WordPress whenever you have the opportunity. You can manually update his CMS or it can automatically update. If this update process is interrupted suddenly or some error occurred, then the system will display the “maintenance mode” message. It will stick to the screen by blocking you and viewer.

At this point, you need to login website through FTP program and delete the .maintenance file from the root folder.

  1. Logging out problem

While using WordPress, you are automatically accepting cookies in your browser that authenticates WordPress login session. If you are accessing the WordPress from a URL, which is not used in the setting, the WordPress will not authenticate the session.

To resolve this issue, put the same URL in both WordPress Address and Site Address fields. However, if you are unable to access the admin area, you can update this setting by editing the wp-config.php file. You just need to add the following code in the wp-config.php file.

  1. Missing the style.css stylesheet

The message of missing the style.css stylesheet could be displayed when you are trying to install a theme, which has an incorrect file structure.

There are two possibilities, the theme is either not a theme at all, or the file is actually missing the stylesheet.

To resolve this problem you have to check whether the file is actually a theme and not a plugin (this is a common confusion). If it is a theme then check whether the file structure is correct. If the theme missing style.css file then contact the author.

  1. Troubleshooting WordPress errors

We found that most of the beginners experience different WordPress difficulties. The main culprits behind these errors are themes and plugins. Users often download themes and plugins from less known sources.

So, if you are using many themes and plugins try to update and follow them on regular basis and whenever any error occurs first check whether it is related to plugins or themes.

In 65% cases, the error is caused by the plugins and themes, which could be count as users’ fault.

Wrapping up

That’s it. We have offered here a sum up of 27 WordPress errors that could be faced by both experienced and novice users. We have also added the possible solution of each of the error. If we have missed some (hope not!), please add a comment below. Feel free to ask if you have any queries.

2 thoughts on “WordPress Errors : 27 Most common issues and how to Fix them

Leave a Reply

Your email address will not be published. Required fields are marked *