WordPress Errors? Here are the Best Solutions to 10 Most Common Errors In WordPress

WordPress is indisputably the most popular Content Management System to build a robust and visually appealing website. However, while WordPress is extremely flexible and easy to use, there are certain WordPress errors that may make even a non-technical person frustrated.

Best Solutions to 10 Most Common Errors In WordPress
Whether it’s the error establishing database connection or a white screen of death, it drives us crazy. But whenever WordPress decides to popup an error, punch it back with the following solutions.
In today’s post, we have compiled a list of most common WordPress errors and also shared the most effective solutions for them.

1. Internal Server Error or 500 Internal Server Error

Internal Server Error or 500 Internal Server Error is one of the most common WordPress error that almost every webmaster encounters at least once.
Possible Causes:
This error often occurs when there is something wrong with the server, but it is unable to identify the problem. Since the problem doesn’t specify where one should look, there can be few possible causes of this error such as:

  • Corrupted theme
  • Corrupted plugins
  • Exhausted PHP memory limit
  • Corrupted .htaccess

Solutions:

  • Checking for corrupt .htaccess file

The first thing to do when fixing the internal server error is check for your .htaccess file. A corrupted .htaccess file is usually a common cause of this problem. Connect to your FTP or access your file manager and rename your .htaccess file to .htaccess_old. Now refresh your website to check if the problem still persists. If it does, your .htaccess file wasn’t causing this error. You can rename it again and upload it to your root directory.

  • Corrupted Theme or Plugin

Now it’s time to scan your theme and plugins installed into your website. Switch to a default theme and refresh your website. Does it fixes the error? No? Well, it’s time to check your plugins. Deactivate all your plugins by clicking plugins → installed plugins. Again refresh to know whether or not the problem is gone. If it does, start activating your plugins one by one to check which plugin may have caused the problem. Once found, replace it with a good alternative.

  • Increase PHP memory limit

If nothing works, you can try increasing your PHP memory limit by adding a single line of code in your wp-config.php file. Open your file from file manager or FTP and add the following code
define(‘WP_MEMORY_LIMIT’, ’64M’);
It will increase your memory limit to 64M.

2. White Text and Missing Buttons

Are your visual editor buttons disappeared or started displaying blank white spaces instead of buttons? Well, there can be various causes of this error.
Possible Causes

  • Concatenated JavaScript stopped working in user’s admin area
  • Plugin confliction
  • Missing or corrupt TinyMCE files

Solutions

  • Replacing TinyMCE scripts

You can try replacing your TinyMCE script with a fresh copy. Download the fresh copy from the internet and upload it to /wp-includes/js/tinymce/folder.

  • Clear your browser

A majority of WordPress users have suggested that clearing their browser cache fixed their problem. There can be an issue with your computer.

  • Fixing with wp-config.php file

If everything else fails, you can make changes in your wp-config.php file and see if it solves the problem. Open your wp-config.php file and add a single line of code right after the opening tag.
define(‘CONCATENATE_SCRIPTS’, false);
This should definitely fix your problem.

3. Error Establishing a Database Connection

Of course, the error is related to your database connection. The error itself tells you that your database connection broke.
Possible Causes

  • wp-config.php error
  • Problems with your hosting provider
  • Your website has been hacked

Solutions:

  • Check your wp-config.php

Open your wp-config.php file through FTP or file manager and check if your database details are correct i.e. database name, host, username and password. If everything looks good, it’s time to talk to your hosting provider.

  • Fixing problem with hosting provider

Talking to your hosting provider will help you resolve your problem since they will be able to tell you whether there is any problem in the server or your site was down for exceeding the quota.

  • Hacker’s alert!

In spite of all the security, it is possible to be hacked. Thus, if the above solutions do not fix the problem, you may have to scan your website to know if it’s compromised. Use a security plugin such as WordFense or Sucuri for scanning and monitoring your website.

4. White screen of Death

This is self-explanatory. This error occurs when you see a white screen on your browser instead of your website.
Possible Causes:

  • Poorly coded theme or plugin
  • Exhausted memory limit

Solutions

  • Poorly coded Theme or Plugin

Switch to a default theme and refresh your website. Does it fixes the error? No? Well, it’s time to check your plugins. Deactivate all your plugins in plugins → installed plugins. Check again if the problem is gone. If it does, start activating your plugins one by one to check which plugin may have caused the problem. Once found, replace it with a good alternative.

  • Increase PHP memory limit

If the above solution does not work, you can try increasing your PHP memory limit by adding a single line of code in your wp-config.php file. Open your file from file manager or FTP and add the following code
define(‘WP_MEMORY_LIMIT’, ’64M’);
It will increase your memory limit to 64M.

5. WordPress Memory Exhausted Error

This error usually happens when you encounter a white screen of death in your browser
Possible causes:

  • A plugin or script eating up your memory

Solution

  • Increase your PHP Memory Limit

If you encounter this problem, repeat the previously explained method of increasing your memory limit.

6. Post returning a 404 error

You often encounter this error when you visit a particular blog post or page on your website and it displays a “404 page – nothing found” error.
Possible causes

  • Permalink settings

Solutions

  • Re-configure your permalink settings

The problem can error when a page or blog post has been moved or deleted. Click settings → permalinks and choose the most appropriate option and hit save changes. It should fix the problem immediately.

  • Edit your .htaccess file

If you are unable to fix the problem with permalinks settings, you can try editing your .htaccess file. All you have to do is add the following code to your

Save the file and upload it to your root directory.

7. Lost Email and Password

Locked out of your dashboard? It’s a very common problem that happens with best of us. What often happens when you forget your password and try to click on “Lost your password?” option to restore your password is that you do not get any link to set up another password. WordPress never sends you the link even after trying a hundred times.
Possible cause

  • This is actually a mystery!

Solutions

  • Reset your password via phpMyAdmin
  1. Login to your cPanel and open on phpMyAdmin under Databases
  2. Click on your database
  3. Now click on wp_users table and navigate to your username
  4. Click on Edit option right in front of it
  5. Simply add new value into your password textbox
  6. Under function, choose MD5 from the drop-down menu. This will convert your text password into MD5 Encryption.
  7. Click Go button at the bottom to save your changes

Now use this new password to login to your dashboard. You can either keep this password or change it once you have logged in.

  • Edit your functions.php file

You can also change your password through functions.php file. Open your functions.php file from ../wp-content/themes/your_live_theme/ and download the file. Add the following line of code

and change the DesiredNewPassword with your own password and save the file. Upload it again and check if you can access your dashboard with the set password.

8. Unavailable for Scheduled Maintenance

This happens when there is an uninterrupted or unfinished WordPress update. This problem can lock you and your users out of the website.
Possible causes

  • Incomplete WordPress update
  • .maintenance file wasn’t deleted after the update

Solutions

  • Update your WordPress manually
  • Delete .Maintenance file

Navigate to your WordPress root directory and delete .maintenance file which may have been created during the failed update process.

9. Can’t Delete a Plugin

Recent deleted a plugin but it still appears in the directory? You may be having a problem in deleting your plugins
Possible causes

  • Poorly coded theme or plugin
  • Plugin or theme Confliction
  • Conflict with WordPress

Solution

Delete plugin via secure shell (SSH)

  • Login to your website via SSH
  • Use SSH commands to access ../wp-content/plugins/
  • Use ls -al to get the complete list of folders.
  • Delete the specific plugin folder with rm (Folder Name).

10. WordPress Admin Dashboard not Displaying Properly

This error occurs when you see your admin dashboard without CSS and with unarranged links.
Solutions:

  • Upgrade WordPress plugins

Do you have any admin menu plugin installed such as Lighter Menus or Admin Drop Down Menu? If so, upgrade it.

  • Proxy & Firewall

You may have a proxy connection or firewall that is blocking the CSS. Press ctrl+F5 to clear your firewall cookies or proxy and cache.

Conclusion

Even though WordPress is an amazing platform, it has its own flaws. With millions of sites using it with hundreds of different themes and plugins, things often go wrong every now and then. But that shouldn’t stop you from using it in its full glory.
The errors mentioned above are some of the common ones that a majority of WordPress users have encountered from time to time. Fortunately, these errors are solvable and can be fixed with little modifications in your WordPress files.
If you have encountered any other WordPress error, you can share it with us and will try to resolve it for you.

elvinroy

Elvin Roy is a professional WordPress developer and writer by hobby. She is associated with Wordsuccor Ltd., which is a trusted WordPress web development company, offering quality PSD to WordPress conversion, WordPress theme customization, WordPress migration services across the globe.

Related Post

Leave a Reply

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