In this article, we will come together to review the solution for how to fix common errors in WordPress and how to fix those errors so you can easily solve if encountering this error.

As I posted a ” The most common error when using WordPress” before, let’s start each errors below:

1. Error uploading image in WordPress

Create an error page 404
Let’s design a 404 page interface with a user-friendly way. Thus you will be reviewed appreciately by Google and users

Delete all 404 pages and links pointing to that error page
To do this you need to use to Webmaster tool to collect data entry error >> crawl and removing individual links.


Go to Menu Settings »Permalinks select appropriate link structure. Select the default and then save.
If the file .htacess was not saved, you must set the permissions to write data to the file by opening .htacess Filezilla ftp account to log in and set 777 for .htacess. or you can edit files .htacess by the following code.


<pre># 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</pre>

You certainly enabled rewrite_module in Apache configuration of WAMP or XXAMP. In addition, the fastest way you rename a file .htacess .htacesss1

2. Error uploading image in WordPress

1/ Reduce image size
2/ This issue may also occur after you add one of plugins, you can disable individual plugins to try again.
3/ PHP memory of the host rose up by adding this code to wp-config.php file
define(‘WP_MEMORY_LIMIT’, ’64M’)
If you are having this problem, you should contact your hosting provider directly for supporting

4/ Using ewww Image Optimizer Plugin is one of the causes of errors.
5/ Select one of the codes below to throw it into the .htaccess file contained offline

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</ IfModule>

or code


# Exclude the file upload and WP CRON scripts from authentication
<FilesMatch “(async-upload \ php | wp-cron \ php | xmlrpc \ php) $”>
Satisfy Any
Order allow, deny
Allow from all
Deny from none
</ FilesMatch>

or put this before the .htaccess file


AddType x-MAPP-php5 .php
</ FilesMatch>

3. Error White screen in WordPress

The reason due to an error white page is function.php file wrongly. Or Plugin not compatible with WordPress version is currently installed. Maybe due to misspelled syntax theme or function generated the error does not exist.

Remember whether you have already fixed something, something in the file shut and straps to fix it. If you can access the host, open it up and see the error messages are recorded in it or send it to the technical department and help you fix it.

4. Error Establishing A Database Connection

Corrupted database

Because when you get the message database connection error means can not connect to the database. And it’s broken, it will never connect.

To overcome you open the wp-config.php file, back up and add this to the bottom of section:
define (‘WP_ALLOW_REPAIR’, true);
define (‘WP_ALLOW_REPAIR’, true);

Save with optional override as before.

Now you go to your website at the following URL:
Replace the domain name of your domain.
You will have 2 options are Repair Databases or Repair and Optimize Databases:
Repair Dabases: Repairing the database
Repair and Optimize Databases: Repairing and optimizing the database
Please click on the 2nd option for WordPress auto repair and optimize your Databases. When you’re done, you MUST delete the code above, otherwise anyone can access and repair.

5. Error Log-out of WordPress Admin (WP-admin)

Theme files are compressed wrong structure. It means compression and decompression theme when it will be superimposed on one or many different folders. This error often happens, to fix it that you just after the unzip it into the computer and into the root directory of theme, then compressed into .zip format then upload onto their website.
The folder missing theme file style.css or style.css file fails when uploading process.

6. Error “Briefly Unavailable for Scheduled Maintenance”

To fix this problem, we’ll have to erase the data manually. Login to the server via ftp account, access the root directory of WordPress:
After deleting files .maintenance, website operation will return normally.

7. Fatal Error: Allowed Memory Size Of XXX Bytes exhausted

This error can occur when exceeding 8MB memory by default. Do not worry, this limit can be edited easily.
To change the memory limit for a particular script, you just need to add the following line at the beginning of the script which:
ini_set (“memory_limit”, “128M”);
Another way is to edit the .htaccess file, add the following to the top:
php_value memory_limit 128M


Make sure you have a full backup of your WordPress site. I strongly recommend using an automated backup system as BackupBuddy schedule. However, if you are unable to install the plugin at this time, please find a way to manually create backup WordPress. In case you can not resolve the error, please contact your WordPress hosting companies.


Please enter your comment!
Please enter your name here