Support Forum
Support › Meta Box Builder › Fatal error: Allowed memory size of # bytes exhausted
When trying to edit a custom Field Group I get the following error:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 4198400 bytes) in hidden/wp-includes/functions.php on line 3737
There has been a critical error on your website. Please check your site admin email inbox for instructions.
Learn more about debugging in WordPress.
Do you have any idea what could be the issue? I can still edit Post Types.
MB Custom Post Type - Version 1.9.1
Meta Box - Version 5.2.3
Meta Box AIO Version - 1.10.7
Meta Box for Yoast Seo - Version 1.3.5
How many posts/terms do you have on the website?
wp_posts has 170889 rows
wp_terms has 6167 rows
Any ideas on this? We can't edit our custom fields until this is resolved and have changes to make.
Hi, I've just pushed a new version of Meta Box Builder, which has a fix for this issue. Please update.
After the latest update, also on a site with thousands of posts & taxonomies, editing or creating any field group in MB Builder is causing my browser to stall/crash
I just updated. I now have different issues. My browser does not stall/crash like pza's, but when the Edit Field Group page loads:
Hi Purdue, can you enable debug and see if there's any error?
I enabled debug mode in wp-config.php, reloaded the page, and did not receive any errors.
So strange. Do you see any JS error in the console?
So I'm still assuming this is related to this topic (sorry if not) but I found the conflict in my case.
With WP Debug on, I see only this warning
Notice: Undefined index: taxonomy in /wp-content/plugins/meta-box-aio/vendor/meta-box/mb-custom-post-type/inc/taxonomy/register.php on line 113
But this warning shows with MB AIO 1.10.7 as well, which does not freeze up.
Next I started disabling AIO Extensions 1 by 1. The one that fixed it was disabling "Meta Box Include Exclude". Then my "edit field group" loaded fine. It didnt matter which field group I'm editing (whether it's using include/exclude or not).
I'm just happy I know how to avoid it, as it was locking up my whole site. I hope this can help!
Hi pza, thanks for the feedback. I'll check the issue and update it today.
Hi pza, I've just fixed the issue and released a new version. Please upgrade and let me know how it goes.
There are no console errors.
I just upgraded Meta Box AIO to Version 1.10.9 and MB Custom Post Type to Version 1.9.2. Now when I load the Custom Field Editor I see this: