wordpress errors

Most 5 Common WordPress Errors and The Best Solutions

Although WordPress is very flexible and has many and varied features, which have made other “content management systems” (CMS) almost out of competition, WordPress websites are still prone to various WordPress errors. But what makes WordPress special is that you can count on free community help. The Codex, along with open discussion forums and millions of other resources covering almost every aspect of WordPress, make sure we’re never left alone.

In this tutorial, a list of possible and common WordPress errors, their causes, effects, and solutions are introduced for novice programmers. So, whenever you encounter one of the following errors that seem like the end of the world at first glance, don’t worry, and know that you can solve it in a few minutes.

wordpress errors

1. It cannot modify the header information


When you enter your website URL, you will see the following message:

“Cannot modify header information – headers already sent by…”.

Why does this error occur?

This error, often referred to as a WordPress errors, means that something else is being processed before and after the main header code. In this case, it is most likely that there are some broken characters or spaces, or even a piece of code, placed before or after the closing and opening tags in a WordPress document.


Take a closer look at the error message again. The message should be something like the following:

Warning: Cannot modify header information – headers already sent by (output started at /path/blog/wp-config.php:76) in

/path/blog/wp-login.php on line 43

The path in parentheses and the number at the end of it show the exact location of the error. In this example, the error wp-config.php is on line 76.

Go to your WordPress installation path and find the file that says ‘already sent the header information.’ find. Open it in a text editor like Notepad++.

Go through line 76 and <?php and after >? Look for characters, spaces, or lines of WordPress errors before the tags. Save this file on your computer desktop: don’t rename it, but change the ‘Encoding’ to UTF-8 (you will see a box before the ‘Save’ button) Re-upload the file after these changes using FTP Upload it to the original WordPress site.

Note: In the future, you can use a JavaScript function instead of wp redirect() to retrieve it yourself.

2. The white page of death


The White Screen of Death error, commonly referred to as WordPress errors (WSOD), is so common that it has been abbreviated for years. And still, when one comes across it, one’s heart beats faster: a completely blank white page! Basically, every time you try to view any page of your WordPress website (even content or admin), you will see a big page like this:

wordpress errors

Why does this error occur?

Usually, this error occurs due to issues related to the compatibility of a WordPress plugin and its theme.


If you can still see the content, log into your admin dashboard and disable all plugins. Just disable their latest edit. After that, see your site’s URL again.

Now activate the plugins one by one. After each plugin is activated, view the website again in the browser window. The moment the WordPress errors reappear, you have found the plugin causing the error. To fix the error, you can contact the creators of the plugin or template to talk about the error and fix it.

If your content is also compromised, disable WordPress errors through their files. Go to your WordPress installation path in FTP and from there go to the following path wp-content/plugins: Rename the plugins directory to something else, to disable them. With this method, you will definitely overcome the WSOD error. After that, you can transfer all the plugin files to the computer. Retrieve the directory name wp-content/plugins and manually load the plugins one by one. Also keep in mind the site display (i.e., the browser window that displays your website). It is true that it is boring. But you have to do it.

3. All posts are displayed as “404 Not Found”.

Error NOT FOUND 404:

Every time you see your posts, you get the following message:

404 Not Found

The web server can’t find the file or document you’re looking for…which is frustrating. Because you published a post on your website and the stupid (!) server can’t find it.

wordpress errors

Why do these WordPress errors occur?

Common causes include anything from broken links to a corrupted or deleted file .htaccess.


Let’s start with a simple and clear solution:

Go to your WordPress admin section: admin >> Settings >> Permalinks

Choose another setting. Save it and go back to your previous settings. Revisit your posts now. You can see that with the above method. .htaccess has been corrected.

.htaccess but if you still can’t see your posts, you need to edit them manually. For this purpose, open your FTP service and make the WordPress directory available. /wp-includes Look for a file in the same directory with the title .htaccess Now add this bit to your file:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress

Sometimes this error is just the result of a broken URL. So before making any assumptions, check your posts in a few different browsers.

4. HTTP500 internal server error


You’ll get a message that looks like this:

Internal Server Error

Apparently, the server encountered an internal error and could not complete your request.

wordpress errors

Why do these WordPress errors occur?

This particular error (and its solution) applies to all websites on the Internet. This error can also be due to damage to WordPress errors, .htaccess, or WordPress core files, incompatibility between plugins or themes, excessive use of memory, etc.


.htaccess: Since the most common cause of this error .htaccess is the command set, you can create a safe bet. Don’t worry: find the file. As mentioned in the solution of section 3. and cut it from the directory. After doing this, visit your website to see if the problem is resolved. If the problem is solved, go to Admin >> Settings >> Permalinks and reset the settings to automatically   .htaccess generate a new file.

Plugin incompatibility with the site template: Another common reason for WordPress errors is plugin incompatibility with the site template. Disable all plugins and enable them one by one (as mentioned in part 2 and its solution). If none of the plugins are responsible for WordPress errors, change the theme to the default theme.

All allowed memory has been used: This is another reason for an internal server error. Increase the amount of PHP memory.

 WordPress Core: Corrupted WordPress core files can be fixed simply by reloading WordPress. Go to WordPress.org and download and install the latest version of WordPress.

5. Execution time


“Fatal Error: Maximum execution time of 30 seconds exceeded in /file-path.php on line 538.”

Why do these WordPress errors occur?

The server or document is taking too long to respond or process. Normally, the standard running time is 30 seconds. But it may vary depending on the hosting provider.


First, have a support file for all the content of your site and database. Currently, we have three answers to this issue:

htaccess: add the following code to this file to increase the execution time to 60 seconds.

php_value max_execution_time 60

php.ini: You may need to ask your hosting provider for permission to access this file. Add the following to this file:

max_execution_time = 60

Plugin: WP Maximum Execution Time Exceeded plugin helps you to increase the execution time to only 60 seconds.


It was not difficult to fix the mentioned errors. If you are not a programmer, the only big obstacle against solving the above errors is your mental fear of facing expressions like “code-like” or “server-based”. If you overcome this mental fear, you will find that you can easily solve many of these WordPress errors yourself.

If you seek further information about Most 5 Common WordPress Errors and The Best Solutions  or have any inquiries regarding our blog, please don’t hesitate to contact us via email at info@thinkwriteway.com

If you are interested in learning more about WordPress, you may find the following tutorials useful:

Share This Article :

Leave a Comment

What to read next