Call to undefined function bbp_get_version()
-
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 222here’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];
- You must be logged in to reply to this topic.