WordPress.org

Support

Support » Plugins and Hacks » [Plugin: HeadSpace2 SEO] BUG: HeadSpace2 / RB Internal Links incompatible

[Plugin: HeadSpace2 SEO] BUG: HeadSpace2 / RB Internal Links incompatible

  • ArcherTC
    Participant

    @archertc

    Fatal error: Call to undefined function add_meta_box() in /home/<strong>companynameremoved</strong>/public_html/wp-content/plugins/headspace2/headspace.php on line 483

    HeadSpace2 is great, but it interferes with the normal function of the equally essential RB Internal Links plugin. (I click to link to an internal page and the error message above pops up and completely blocks RB Internal links)

    Workaround: turn off HeadSpace when using RB and then turn HeadSpace back on thereafter.

    http://wordpress.org/extend/plugins/headspace2/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi

    I had the same problem and I changed the wp_print_scripts() in the headspace.php. I added function_exists and RB Internal Links is working fine :

    function wp_print_scripts() {
    		global $wp_scripts;
    
    		if ( function_exists( 'add_meta_box' ) ) {
    		add_meta_box ('headspacestuff', __ ('HeadSpace', 'headspace'), array (&$this, 'metabox'), 'post', 'normal', 'high');
    		add_meta_box ('headspacestuff', __ ('HeadSpace', 'headspace'), array (&$this, 'metabox'), 'page', 'normal', 'high');
    		add_meta_box ('tagsdiv',        __ ('Tags', 'headspace'),      array (&$this, 'metabox_tags'), 'page', 'side', 'high');
    		}

    That did it! Thanks for sharing!!

    Thank you very mucjh. It works for me, too on scriptech.net

    THX

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: HeadSpace2 SEO] BUG: HeadSpace2 / RB Internal Links incompatible’ is closed to new replies.