Fatal error: Allowed memory size of # bytes exhausted
Support › MB Builder › Fatal error: Allowed memory size of # bytes exhausted
- This topic has 16 replies, 3 voices, and was last updated 5 years, 5 months ago by
Anh Tran.
-
AuthorPosts
-
November 14, 2019 at 11:44 PM #16937
Lisa Tally
ParticipantWhen 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.5November 19, 2019 at 11:44 AM #16986Anh Tran
KeymasterHow many posts/terms do you have on the website?
November 19, 2019 at 8:25 PM #17007Lisa Tally
Participantwp_posts has 170889 rows
wp_terms has 6167 rowsNovember 23, 2019 at 2:02 AM #17085Lisa Tally
ParticipantAny ideas on this? We can't edit our custom fields until this is resolved and have changes to make.
November 24, 2019 at 9:09 PM #17095Anh Tran
KeymasterHi, I've just pushed a new version of MB Builder, which has a fix for this issue. Please update.
November 25, 2019 at 8:14 AM #17099pza
ParticipantAfter 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
November 26, 2019 at 1:11 AM #17129Lisa Tally
ParticipantI just updated. I now have different issues. My browser does not stall/crash like pza's, but when the Edit Field Group page loads:
- my custom fields are not loaded (see screenshot)
- the side menu of field types is styled incorrectly (see screenshot)
- clicking on the "Settings" tab does nothing (does add a # to the url)
- clicking on the "Code" tab works but the resulting page does not reflect my custom group's data
November 26, 2019 at 4:03 PM #17139Anh Tran
KeymasterHi Purdue, can you enable debug and see if there's any error?
November 26, 2019 at 8:41 PM #17150Lisa Tally
ParticipantI enabled debug mode in wp-config.php, reloaded the page, and did not receive any errors.
November 27, 2019 at 3:55 PM #17177Anh Tran
KeymasterSo strange. Do you see any JS error in the console?
November 28, 2019 at 4:15 AM #17203pza
ParticipantSo I'm still assuming this is related to this topic (sorry if not) but I found the conflict in my case.
- First I tried disabling all plugins except MB & MB AIO. I also tried changing to 2020 theme. My problem persisted: "Edit field group" window completely freezes and uses up 100% of CPU. No errors in the logs.
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 "MB 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!
November 28, 2019 at 5:35 PM #17213Anh Tran
KeymasterHi pza, thanks for the feedback. I'll check the issue and update it today.
November 29, 2019 at 12:02 PM #17231Anh Tran
KeymasterHi pza, I've just fixed the issue and released a new version. Please upgrade and let me know how it goes.
December 2, 2019 at 9:50 PM #17292Lisa Tally
ParticipantThere 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:
- The group accordion does not open.
- Clicking on the Settings tab still only appends '#' to the url
- Clicking on the Code tab loads normally
December 3, 2019 at 10:39 AM #17309 -
AuthorPosts
- You must be logged in to reply to this topic.