WpAlchemy – _global_head is being output 3 times [closed]

The clue was in the original script here – line 460 of MetaBox.php has the comment “// todo: when first run define a constant to prevent other instances from running again …”. The code below fixed this issue.

if(!defined('HEAD_CALLED')):
  add_action( 'admin_head', array( $this, '_global_head' ) );
  define('HEAD_CALLED', true);            
endif;