Undefined array key "object_type" and Undefined array key "prefix"

Support MB Builder Undefined array key "object_type" and Undefined array key "prefix"Resolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44049
    DufflDuffl
    Participant

    Hi I am getting this error message in debug log.
    I cannot save changes to fields in the field group anymore.
    Also it keeps resetting "location - post type" to default.

    [08-Dec-2023 11:53:16 UTC] PHP Warning: Undefined array key "object_type" in /var/www/vhosts/hey-jobstarter.de/httpdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/RestApi/ThemeCode/Parser.php on line 11
    [08-Dec-2023 11:53:16 UTC] PHP Warning: Undefined array key "prefix" in /var/www/vhosts/hey-jobstarter.de/httpdocs/wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-builder/src/RestApi/ThemeCode/Parser.php on line 22

    #44050
    PeterPeter
    Moderator

    Hello,

    Please set the Location of the field group to the default Post Type: Post and recheck this issue. If it persists, you can try to follow this tutorial to increase the PHP setting max_input_vars to fix the issue https://metabox.io/wordpress-custom-fields-not-saving-increase-max-input-vars/

    Let me know how it goes.

    #44060
    DufflDuffl
    Participant

    Thank you for the quick reply, yes, now it works and it seems stable. I raised the value to 10k.

    Regards

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