Fix Fatal Error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 89 bytes)

  • 6 years ago
Allowed memory size of 41943040 bytes exhausted tried to allocate 89 bytes.

To solve this problem you have to increase memory limit
First you need to edit the wp-includes/default-constants.php file on your WordPress site. It is located in your WordPress site’s root folder, and you will need to use an FTP client or file manager in your web hosting control panel.
Next, you need to paste the following code in wp-includes/default-constants.php file just before the line that says ‘That’s all, stop editing! Happy blogging.’

define( 'WP_MEMORY_LIMIT', '256M' );

You can follow on Youtube ► https://goo.gl/Fom9Lc
You can follow on dailymotion ► https://goo.gl/6GvjUW
You can follow on Facebook ► https://goo.gl/6vRdVf
You can follow on Twitter ► https://goo.gl/eihhqX
You can follow on Google Plus ► https://goo.gl/Zav2Fn
You can follow on Blogger ► https://goo.gl/S5BBV2

Recommended