Custom Fields
Re-Envisioned
Support General Error in select Tree Taxonomy

This topic contains 12 replies, has 3 voices, and was last updated by  clientes@interficto.com 6 months ago.

  • Creator
    Topic
  • #12609
    Resolved
    clientes@interficto.com
    Participant

    Hello, i am having one error selecting a taxonomy using select tree, when i select the taxonomy i can’t save the post. Please see (javascript error in console):

    https://snag.gy/dF5olu.jpg

    I try delete taxonomy and term but the issue persist

Viewing 10 replies - 1 through 10 (of 12 total)
  • Author
    Replies
  • #12617

    Farheen
    Moderator

    Hello

    Can you please share your code too and where you are adding the code.

    Thanks

    #12691

    I am using Meta box builder and meta box custom post type.

    The code por custom fields

    https://ghostbin.com/paste/rrkg9

    The code for the taxonomy

    https://ghostbin.com/paste/trpmv

    The code for the Custom Post type:

    https://ghostbin.com/paste/ot9vx

    #12717

    Hello any new about this

    #12732

    Anh Tran
    Keymaster

    Hi,

    Looks like the required attribute causes the issue. I tested your code and see that when you set the field required, you have to select the terms for all dropdowns in the select tree before saving posts. So, if that’s not your intent, you should remove the required attribute.

    #12734

    Hello, it seems to be a bug of your plugin. The problem is when for example. The taxonomy has some term nested in 3 levels, but it also has other nested terms in only two levels. Then The validation of the abligatory field fails because apparently it is waiting for a third level, even though it should not be like that.

    Please look at my video, you will see that the term “Sab” has no children, so there is no way to select a third level.
    http://recordit.co/UzCRcevJS1

    #12735

    Anh Tran
    Keymaster

    Thanks a lot for your video. You’re right about the nesting levels. It’s a bug and I’ve just fixed on Github: https://github.com/wpmetabox/meta-box/. Please take a look.

    #12749

    Hello, sorry, i don’t know many about gihub, i can’t see it. How to fix my metabox installation?

    #12750

    Anh Tran
    Keymaster

    You can download the latest version here: https://github.com/wpmetabox/meta-box/archive/master.zip

    And on your site, deactivate and remove Meta Box. Then re-install it using the downloaded zip file.

    #12969

    Sorry for delay bu it doesn’t work for me, please see the video:
    http://recordit.co/z1B0MmMuCN

    Can you help me please, I removed the current version and i used the zip taht you share.

    #12975

    Hello, any new about this? is a bug, can you help me please?

Viewing 10 replies - 1 through 10 (of 12 total)

You must be logged in to reply to this topic.