[17-Aug-2024 05:29:58 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2621440 bytes) in /home/kingdom3/public_html/wp-content/plugins/gravityforms/includes/fields/class-gf-field-checkbox.php on line 181
[17-Aug-2024 05:30:31 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 5242880 bytes) in /home/kingdom3/public_html/wp-includes/customize/class-wp-customize-media-control.php on line 258
[17-Aug-2024 05:30:50 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 5242880 bytes) in /home/kingdom3/public_html/wp-includes/customize/class-wp-customize-media-control.php on line 258
The error indicates the site does not always have access to enough memory to run WordPress, the theme, and all the active plugins and processes.
Try increasing the PHP and WordPress memory limits to 256M: Increasing Your PHP Memory Limits - Gravity Forms Documentation
2 Likes
Thank you Richard. Thank you for the documentation as well. Is there more information on what determines the limit you need to increase the Memory Limit.
There isn’t. General advice is to set it just as much as the site needs. In your case, 134217728 + 5242880 = 139460608, call that 140M.
I tend to stick to standard amounts such as 64, 128, 256, 512 etc., so I rounded up the suggestion to 256M.
2 Likes