Directory Image
This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.

Common WordPress errors and their solutions for newbies

Author: Bonny Jones
by Bonny Jones
Posted: Sep 04, 2017
php memory

Hi, just after the new install of wordpress on your server, you are ready to rock with your new website. But do you know you will be facing some wordpress errors in your online journey.

In this post we will discuss some of the many wordpress errors and their solutions.

>>First error which you will face is of database connectivity while migrating your wordpress website. If you have faced it while installing your wordpress, then it is the same procedure which should be followed while fixing database connectivity error.

For those who have not faced this error, what they can do is check for database entries in your wp-config.php whenever this error occurs. This happens because of mismatch of database connectivity entries to original values of the database.

If the entries are correct, then check for hostname. Hostname values can be different for a hosting provider, so confirm the host name from your hosting provider support.

>>Another error which generally occurs is the php memory exhausted limit. It often happens with shared hosting hosted wordpress sites. Memory exhausted error appears because of low allotted php memory size per PHP process.

Every PHP process need some memory to run, just like a program require some RAM memory.

With multiple processes running in wordpress, more consumption of memory leads to lack of memory allotment for other process, hence this error occurs.

To fix this error you can increase PHP memory limit using php.ini. Most commonly for shared hosting, PHP.ini is not accessable. To increase the value, you have to contact hosting support.

Alternative to increasing php limit using PHP.ini is by defining PHP memory limit in wp-config.php.

Simply add define(‘WP_MEMORY_LIMIT’, ‘128M’); to your wp-config.php and save it.

You can define any memory limit but it is recommended to not increase it beyond 512MB as it may jeopardize your server’s performance. If you are still getting this error, then it is time to audit your plugins and themes as there can a open process which is exhausting your memory.

These are some of the common wordpress errors and their solutions for newbies.

About the Author

Hi, I am a huge lover of technology, especially when it relates with marketing.

Rate this Article
Leave a Comment
Author Thumbnail
Please or Join to add a comment.
Author: Bonny Jones

Bonny Jones

Flag of Australia

Member since: Jan 24, 2017
Total live articles: 28

Related Articles