Problem: I am seeing sporadic Fatal Errors when working on my site. The error message says that the allowed memory has been exhausted:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /path/to/site/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/templates/admin/user-editors/unsaved-content-template-dialog.phtml on line 1
Solution:
The error indicates only 126M of RAM is allowed for WordPress/PHP. This is the minimum amount recommended for running Toolset, but if you run any additional plugins that may not be sufficient. You can try updating your wp-config.php file to increase the amount of available memory to 256M:
define('WP_MEMORY_LIMIT', '256M'); define( 'WP_MAX_MEMORY_LIMIT', '256M' );
Sometimes the limit is imposed by your host company, and you may need to get them involved to increase the memory for WordPress and PHP.
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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - | - |
13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | 13:00 – 17:00 | - | - |
Supporter timezone: America/New_York (GMT-04:00)
This topic contains 2 replies, has 2 voices.
Last updated by 4 years, 7 months ago.
Assisted by: Christian Cox.