WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: HeadSpace2 SEO] BUG: HeadSpace2 / RB Internal Links incompatible (4 posts)

  1. ArcherTC
    Member
    Posted 4 years ago #

    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/

  2. aaserod
    Member
    Posted 4 years ago #

    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');
    		}
  3. David Radovanovic
    Member
    Posted 4 years ago #

    That did it! Thanks for sharing!!

  4. imi82
    Member
    Posted 4 years ago #

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

    THX

Topic Closed

This topic has been closed to new replies.

About this Topic