Skip Navigation

[Resolved] Fatal Error

This thread is resolved. Here is a description of the problem and solution.

Problem:

I am having an issue with a blank page on my development site after installing Toolset Types and Blocks.

When I deactivate the plugins, the issue goes away.

The error log indicates that the allowed memory size is exhausted.

Solution:

Increase the PHP memory limit for the WordPress installation.

Add the following code to the "wp-config.php" file of your WordPress installation root folder:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '512M');
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

Make sure to add the code above the line:

/* That's all, stop editing! Happy blogging. */

Relevant Documentation:

https://toolset.com/toolset-requirements/

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by kevinP-11 1 year, 9 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2560893

I am trying to: Install Toolset Types and Blocks on development site. I will be deactivating it as its not necessary for my site currently. I was trying to add some features.

Link to a page where the issue can be seen: Page is blank except for header.
hidden link

I expected to see:

Instead, I got:
A blank page
Error log does not specify Toolset but when I disable the plugins it goes away Error log shows:

[24-Feb-2023 14:37:52 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/flashpoint/public_html/bobs-store3/wp-content/plugins/woo-gutenberg-products-block/src/StoreApi/Utilities/CartController.php on line 1279
[24-Feb-2023 14:37:52 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/flashpoint/public_html/bobs-store3/wp-content/plugins/the-events-calendar/src/Events/Custom_Tables/V1/Updates/Controller.php on line 1
[24-Feb-2023 14:39:55 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 49152 bytes) in /home/flashpoint/public_html/bobs-store3/wp-content/plugins/woo-gutenberg-products-block/vendor/jetpack-autoloader/class-php-autoloader.php on line 90

#2561871

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

This is the indication that your WordPress installation does not have enough PHP memory limit when Toolset is added to the mix.

The minimum requirement is 128M but I suggest that you increase it to 512M:

https://toolset.com/toolset-requirements/

You can add this by adding the code below to "wp-config.php" file of your WordPress installation root folder:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '512M');
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

Please add the code above the line below:

/* That's all, stop editing! Happy blogging. */

Thanks.

#2563249

My issue is resolved now. Thank you!