Skip to:
Content
Pages
Categories
Search
Top
Bottom

Call to undefined function bbp_get_version()


  • agrolsy
    Participant

    @agrolsy

    after upgrading from 2.6 rc 5 to 2.6 one of my plugins stopped working, with the fatal error Call to undefined function bbp_get_version(). I can’t figure out why, from what I can see that function still exists?

    [14-Nov-2019 08:27:11 UTC] PHP Fatal error: Uncaught Error: Call to undefined function bbp_get_version() in /home/woouser/wordpress/wp-content/plugins/wp-courseware-bbpress-addon/wp-courseware-bbpress-addon.php:222
    Stack trace:
    #0 /home/woouser/wordpress/wp-settings.php(360): include_once()
    #1 /home/woouser/wordpress/wp-config.php(92): require_once(‘/home/woouser/w…’)
    #2 /home/woouser/wordpress/wp-load.php(37): require_once(‘/home/woouser/w…’)
    #3 /home/woouser/wordpress/wp-blog-header.php(13): require_once(‘/home/woouser/w…’)
    #4 /home/woouser/wordpress/index.php(17): require(‘/home/woouser/w…’)
    #5 {main}
    thrown in /home/woouser/wordpress/wp-content/plugins/wp-courseware-bbpress-addon/wp-courseware-bbpress-addon.php on line 222

    here’s the code from the plugin

    
    add_theme_support( 'bbpress' );
    $pluginroot = plugin_dir_path( __FILE__ ); 
    $themeroot = get_template_directory();
    	 
    $bbpressversion =  bbp_get_version();
    
    $ex_aaa = explode("-", $bbpressversion);
    $ex_bbpressversion = $ex_aaa[0];
Viewing 2 replies - 1 through 2 (of 2 total)

  • agrolsy
    Participant

    @agrolsy

    All of a sudden it started to work again and I have no idea why. Host cleared it’s cache or change something? I don’t know, the problem is at least gone 🙂


    Robin W
    Moderator

    @robin-w

    great – thanks for letting us know

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar