Custom Fields
Support General Error in image advanced

  • Creator
  • #15113

    Hello, i have the last version of so i create a custom field call: galería de imágenes wich is a image advance type.

    Hoy ever y can UPLOAD the first time the images and next i can’t edit it or uload more images, please check follow attachment:

    I got the follow issue in console:

    Uncaught TypeError: this.$ is not a function
        at N.d.initialize (media.js?ver=4.18.2:129)
        at N.d.b.View (backbone.min.js?ver=1.2.3:1)
        at N.d [as constructor] (backbone.min.js?ver=1.2.3:1)
        at new N.d (backbone.min.js?ver=1.2.3:1)
        at HTMLInputElement.initImageField (image-advanced.js?ver=4.18.2:32)
        at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.2.2:2)
        at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.2.2:2)
        at HTMLDocument.<anonymous> (image-advanced.js?ver=4.18.2:43)
        at i (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.2.2:2)
        at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=5.2.2:2)
Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
  • #15114

    I check it:

    But doesn’t work can you help me please?


    My code is follow:

    add_filter( 'rwmb_meta_boxes', 'your_prefix_register_meta_boxes' );
    function your_prefix_register_meta_boxes( $meta_boxes ) {
        $meta_boxes[] = array (
            'title' => 'Carácteristicas',
            'id' => 'caracteristicas',
            'post_types' => array(
                0 => 'fincas',
            'context' => 'after_title',
            'priority' => 'high',
            'autosave' => true,
            'fields' => array(
                array (
                    'id' => 'codigo',
                    'type' => 'text',
                    'name' => 'Código',
                    'required' => 1,
                array (
                    'id' => 'url',
                    'type' => 'url',
                    'name' => 'Video',
                array (
                    'id' => 'capacidad',
                    'type' => 'number',
                    'name' => 'Capacidad de Personas Máxima',
                    'required' => 1,
                array (
                    'id' => 'camas',
                    'type' => 'number',
                    'name' => 'Número de Camas',
                    'required' => 1,
                array (
                    'id' => 'habitaciones',
                    'type' => 'number',
                    'name' => 'Número de Habitaciones',
                array (
                    'id' => 'galerias',
                    'type' => 'image_advanced',
                    'name' => 'Galeria de imágenes',
                    'image_size' => 'thumbnail',
                    'max_status' => false,
        return $meta_boxes;
    Anh Tran

    This is a bug in the plugin and is already fixed here:

    Please apply it in the mean time. I’ll update the Meta Box plugin in a few days.


    Sorry I fixed it, was a conflict with other plugin: Real Media, I ubdated it and now work correctly. Thank you Anh

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


Subscribe to our newsletter to receive news and tutorials for Meta Box and WordPress.

grid gear info copy caret-up caret-down trash