Custom Fields
Re-Envisioned
Support General jQuery.Deferred exception: options.ajax is undefined

  • Creator
    Topic
  • #24574
    Resolved Austin Passy
    Participant

    WE have a few fields, and looks like we have JS errors when we have explicitly set ajax => false on these fields.

    Meta Box: Version 5.3.8
    Meta Box AIO: Version 1.11.19

    I also have the same issue on AIO: Version 1.13.3

    Uncaught TypeError: options.ajax is undefined
    transform https://.../wp-content/plugins/meta-box/js/select-advanced.js?ver=5.3.8:36
    jQuery 2
    init https://.../wp-content/plugins/meta-box/js/select-advanced.js?ver=5.3.8:113
    jQuery 7
    <anonymous> https://.../wp-content/plugins/meta-box/js/script.js?ver=5.3.8:22
    jQuery 13
    select-advanced.js:36:4
    <code></code>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #24585
    Long Nguyen
    Moderator

    Hi Austin,

    Please follow the step Debugging Information of the topic below to troubleshoot this issue.
    https://metabox.io/support/topic/how-to-create-a-new-topic/

    Let me know how it goes.

    #24654
    Austin Passy
    Participant

    This is an issue with changes in WordPress 5.6. I have changed my post field type from advanced_select with ajax set to false to a standard post select field type to bypass this issue. Since the current fields only have a few options it's OK.

    Will keep an eye out of we run into this in the future though as it's not solved. Just used a workaround.

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