• Resolved Usman Ali Qureshi

    (@usmanaliqureshi)


    Hi,

    After updating to WordPress 6.3, Elementor and metaboxes created using Meta Box plugin are conflicting.

    When the Elementor plugin is activated, the Add Media buttons in meta-box options are not shown.

    A little help will be greatly appreciated, we have a theme and a plugin using both, so our users are impacted.

    Thank you,

    Usman

Viewing 2 replies - 1 through 2 (of 2 total)
  • We are having the same issue and the dev console shows the following error:

    Uncaught Error: Template not found: #tmpl-rwmb-media-button
        at n.template (wp-util.min.js?ver=6.3:2:371)
        at n.render (media.js?ver=5.6.4:391:24)
        at n.initialize (media.js?ver=5.6.4:404:9)
        at h.View (backbone.min.js?ver=1.4.1:2:14648)
        at new n (backbone.min.js?ver=1.4.1:2:23485)
        at n.createAddButton (media.js?ver=5.6.4:161:21)
        at n.initialize (media.js?ver=5.6.4:122:9)
        at h.View (backbone.min.js?ver=1.4.1:2:14648)
        at new n (backbone.min.js?ver=1.4.1:2:23485)
        at HTMLInputElement.initMediaField (media.js?ver=5.6.4:575:10)

    @usmanaliqureshi did you find a workaround for this? (except disabling Elementor)

    Thread Starter Usman Ali Qureshi

    (@usmanaliqureshi)

    Hi @andreidolhescu ,

    Yes, meta box has already released an update for their plugin and extension. However, if you like to fix it quickly, you can replace the function called “add_actions” in inc – fields – media.php with the following:

    public static function add_actions() {
    	add_action( 'admin_footer', [ get_called_class(), 'print_templates' ] );
    	add_action( 'wp_footer', [ get_called_class(), 'print_templates' ] );
    }

    It should resolve the issue.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Elementor and metabox.io compatibility after WordPress 6.3 update’ is closed to new replies.