Undefined array key "options"

Support General Undefined array key "options"Resolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43858
    ChrisChris
    Participant

    I don't know which sub-forum this goes in, so - is there a way for me to tell exactly what's causing this, or do you need access to my site?

    2023/11/20 16:27:43 [error] 32719#32719: *404404 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "options" in /home/user/site/wp-content/plugins/meta-box/inc/fields/fieldset-text.php on line 24PHP message: PHP Warning: foreach() argument must be of type array|object, null given in /home/user/site/wp-content/plugins/meta-box/inc/fields/fieldset-text.php on line 24" while reading upstream, client: ipaddress, server: server, request: "GET /wp-admin/post.php?post=19324&action=edit&message=4 HTTP/2.0", upstream: "fastcgi://unix:/var/run/nginx-dp-4c44afb34d_php_80_wp_wdqzyp.sock:", host: "host", referrer: "https://host/wp-admin/post.php?post=19324&action=edit"

    So I have to disable everything created in metabox and then enable one at a time to find it, or is there an easier way?

    This is caused by me while editing a post.

    thanks!

    #43864
    PeterPeter
    Moderator

    Hello Chris,

    If you are using the field type Fieldset Text, you need to add options/choices to the field settings. Please read more about field settings in the documentation https://docs.metabox.io/fields/fieldset-text/

    #43874
    ChrisChris
    Participant

    Got it - thanks!

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