Problem with metabox group

Support MB Group Problem with metabox group

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3981
    Infolu OfficialInfolu Official
    Participant

    Hello I have a problem with metabox group
    Environment
    wordpress 4.6
    metabox master ( Include my plugin)
    meta-box-group Version: 1.1.4 ( Include my plugin)


    #3982
    Infolu OfficialInfolu Official
    Participant

    The image is not loaded up
    http://imgur.com/a/k99JC
    http://imgur.com/a/PiBBK

    In my tests I edited the inc/core.php file

    /**
    	 * Register hooks.
    	 */
    	public function __construct()
    	{
    		$plugin = 'meta-box/meta-box.php';
    		add_filter( "plugin_action_links_$plugin", array( $this, 'plugin_links' ) );
    		add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
    		//EDIT init per admin_init
            add_action( 'init', array( $this, 'register_meta_boxes' ) );
            add_action( 'init', array( $this, 'register_wpml_hooks' ) );
            add_action( 'edit_page_form', array( $this, 'fix_page_template' ) );
    	}

    per

    /**
    	 * Register hooks.
    	 */
    	public function __construct()
    	{
    		$plugin = 'meta-box/meta-box.php';
    		add_filter( "plugin_action_links_$plugin", array( $this, 'plugin_links' ) );
    		add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
    		//EDIT init per admin_init
            add_action( 'admin_init', array( $this, 'register_meta_boxes' ) );
            add_action( 'admin_init', array( $this, 'register_wpml_hooks' ) );
    		add_action( 'edit_page_form', array( $this, 'fix_page_template' ) );
    	}

    switching to init per admin_init the error disappears

    #3989
    Anh TranAnh Tran
    Keymaster

    Hi, do you mean changing the hook from admin_init to init makes the error disappear? The init is being used in our development version which will be released soon.

    #3994
    Infolu OfficialInfolu Official
    Participant

    Exactly, use the init is causing problems for me. in the example above when I change to admin_init just solving the problem with metabox-group.

    #4024
    Infolu OfficialInfolu Official
    Participant

    Anh Tran Any news on this?

    #4033
    Anh TranAnh Tran
    Keymaster

    I'm working on it. I probably will release a new version for Group tomorrow. Please wait.

    Thanks
    Anh

    #4042
    Anh TranAnh Tran
    Keymaster

    I've just fixed the bug and released new version. Please update and check it.

    Thanks
    Anh

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Problem with metabox group’ is closed to new replies.