WordPress “Allowed memory size exhausted” error

WordPress “Allowed memory size exhausted” error

This error message can appear if the memory required by a plugin is more than the currently set maximum.

To increase the allowed WordPress memory edit your website’s wp-config.php file. In it locate the line:

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

Replace the value you see in the quotes to with a new one up to 512M. After the changes the line should look like this:

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

In some cases the line might not be present in your wp-config.php file. If you cannot find it, just copy the line provided above and paste it into the file, right before this one:

/* That’s all, stop editing! Happy publishing. */

Once you increase the memory limit, refresh your browser and the new memory limit is applied to your website.

0
    0
    Jouw nieuwe webshop
    Je hebt nog geen webshopWebsite kopen