Fatal error: Allowed memory size of # bytes exhausted

Support MB Builder Fatal error: Allowed memory size of # bytes exhausted

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #16937
    Lisa TallyLisa Tally
    Participant

    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

    #16986
    Anh TranAnh Tran
    Keymaster

    How many posts/terms do you have on the website?

    #17007
    Lisa TallyLisa Tally
    Participant

    wp_posts has 170889 rows
    wp_terms has 6167 rows

    #17085
    Lisa TallyLisa Tally
    Participant

    Any ideas on this? We can't edit our custom fields until this is resolved and have changes to make.

    #17095
    Anh TranAnh Tran
    Keymaster

    Hi, I've just pushed a new version of MB Builder, which has a fix for this issue. Please update.

    #17099
    pzapza
    Participant

    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

    #17129
    Lisa TallyLisa Tally
    Participant

    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:

    • 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

    screenshot

    #17139
    Anh TranAnh Tran
    Keymaster

    Hi Purdue, can you enable debug and see if there's any error?

    #17150
    Lisa TallyLisa Tally
    Participant

    I enabled debug mode in wp-config.php, reloaded the page, and did not receive any errors.

    #17177
    Anh TranAnh Tran
    Keymaster

    So strange. Do you see any JS error in the console?

    #17203
    pzapza
    Participant

    So 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!

    #17213
    Anh TranAnh Tran
    Keymaster

    Hi pza, thanks for the feedback. I'll check the issue and update it today.

    #17231
    Anh TranAnh Tran
    Keymaster

    Hi pza, I've just fixed the issue and released a new version. Please upgrade and let me know how it goes.

    #17292
    Lisa TallyLisa Tally
    Participant

    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:

    null

    • The group accordion does not open.
    • Clicking on the Settings tab still only appends '#' to the url
    • Clicking on the Code tab loads normally
    #17309
    Anh TranAnh Tran
    Keymaster

    Hi Purdue, looks like the JS doesn't run. Can you send me a temporary admin account to take a look at that closer?

Viewing 15 posts - 1 through 15 (of 17 total)
  • You must be logged in to reply to this topic.