Trying to set up X

I have purchased X and trying to configure it but I get this error:

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 68808 bytes) in /home/…/public_html/wp-content/plugins/cornerstone/includes/elements/mixins_includes/_graphic.php on line 23

From what I have read online, I think I meant to edit the config file but I am not sure.

  1. How do I fix this error?
  2. Why does this theme require editing of php and FTP uploads when just about every other theme on the market is a simple install with no coding required?
  3. If I edit files, won’t I need to keep editing files with future updates to my server?

Hi Sam,

The main cause of this error is that the PHP memory limit of your host is lesser than the theme/plugin process actually needs.

To do this, please edit your wp-config.php file and insert these lines:


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

You can add it before the line
/*That's all, stop editing! Happy Blogging. */

In case the issue persists, please try to get in touch with your hosting provider and confirm to them that your PHP memory limit is increased.

I am not sure what requirement you mean because there is no need to edit any file if it is not necessary. If what you are referring to is the need to edit the wp-config.php file to have the memory limit increase, that is on the hosting side that needs to be changed as the PHP memory limit is not enough to run the theme and other plugin’s processes.

If you are referring to customization such as wanting to edit the theme files, you will not need to update the codes when you update the Wordpress version if you make the customization through the child theme.

Please check here to read more about the child theme:

https://theme.co/apex/child-themes

Hope this helps.

1 Like

Thanks Jade for the quick support. Yes, I just had to increase the PHP memory limit, which solved the issue.

Glad it’s okay now, cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.