Custom Fields
Re-Envisioned
Support General file_advanced appear hidden on backend

  • Creator
    Topic
  • #21253
    Resolved JeanROUSTAN
    Participant

    Hi,
    after updated all my plugin and wordpress, this input exist but with hidden type

    <input type="hidden" class="rwmb-field-name" value="fin_mandat">
    Some one can tell me how to fix it ?

    thx

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #21254
    JeanROUSTAN
    Participant

    this problem is also with the input ‘image_advanced’

    #21268
    Long Nguyen
    Moderator

    Hi Jean,

    Some fields image_advanced, file_advanced, single_image … come with the input type hidden to store the information of the field and the media item (image, file). See my screenshot https://share.getcloudapp.com/ApukkgyQ.

    It’s the design of the field to save the value (media ID) to the database. Let me know if there is any problem with these fields.

    #21274
    JeanROUSTAN
    Participant

    The problem is with jquery. I updated my WordPress and the version 5.5 apparently broke a lot of plugins. I just downgrade to an earlier version and everything is working again … but this is a temporary solution šŸ™

    #21275
    Long Nguyen
    Moderator

    Hi,

    I’m using WordPress version 5.5 and Meta Box v5.3.3, haven’t seen any issue with those fields. Maybe there is a broken plugin after updating WP v5.5 then the field does not work properly. You can re-upgrade WP version 5.5 then deactivate all plugins except Meta Box then activate one by one to find the broken plugin.

    #21278
    JeanROUSTAN
    Participant

    Iā€™m using WordPress version 5.5 and i’ve actived only Meta Box v5.3.3, MB Custom Post Type 1.9.5 and MB Custom Table 1.1.8.
    I still have the problem.
    When i edit a post Types (in metabox menu), all the field don’t display the registered data but, for plural name {{labels.name}} or for slug {{post_type}}
    The same error code appears in the console :

    Uncaught TypeError: jQuery(...).find(...).live is not a function
        <anonymous> http://mysite.local/wp-admin/post.php?post=687&action=edit:63
        jQuery 4
            i
            fireWith
            ready
            J

    or

    Uncaught TypeError: s is undefined
        <anonymous> http://newnovanea.local/wp-includes/js/wp-auth-check.min.js?ver=5.5:2
        jQuery 7
            dispatch
            handle
            trigger
            trigger
            each
            each
            trigger
        xhr http://newnovanea.local/wp-includes/js/heartbeat.min.js?ver=5.5:2
    #21279
    JeanROUSTAN
    Participant

    I have found the problem! A function like
    jQuery(document).find("input[id^='uploadimage']").live('click', function(){ā€¦
    When i comment, the problem is fixed

    I apologize, the problem is from my code

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