Pages

Nov 10, 2015

Wordpress Fatal error: Allowed memory size of 67108864 bytes exhausted....[SOLUTION]

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /www/data04/users/k/ YOURDOMAIN /htdocs/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/html-helper.class.php on line 1457 

That message showed to me after I added one plugin.

Using Wordpress and Woocommerce

You need to get acces to your files via ftp or hosting provider page

Increasing memory allocated to PHP


Open_
/htdocs/wp-includes/default-constants.php

You see 

define( 'WP_MEMORY_LIMIT', '64M' );
and

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

Incre ase both PHP Memory to  96MB
define( 'WP_MEMORY_LIMIT', '96M' );
define('WP_MEMORY_LIMIT', '96M');
Then hit SAVE and refresh your page and it works again.

No comments:

Post a Comment