Title: [Plugin: PHPBB Single Sign On] Version 0.8.6 Fatal error: undefined function get_user_id_from_string
Last modified: August 20, 2016

---

# [Plugin: PHPBB Single Sign On] Version 0.8.6 Fatal error: undefined function get_user_id_from_string

 *  Resolved [wiseowl9000](https://wordpress.org/support/users/wiseowl9000/)
 * (@wiseowl9000)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-phpbb-single-sign-on-version-086-fatal-error-undefined-function-get_user_id_from_string/)
 * Hi,
 * I’m getting a fatal error:
    [26-Jun-2012 02:32:14] PHP Fatal error: Call to undefined
   function get_user_id_from_string() in /var/www/vhosts/…/wp-content/plugins/phpbb-
   single-sign-on/module.wp.php on line 78 wpbb_WordPress::changePassword() /var/
   www/vhosts/brideonline.com.au/httpdocs/_includes/wordpress_bol_client_bridge.
   php:23 wpbb_WordPress::getIdByName() /var/www/vhosts/brideonline.com.au/httpdocs/
   login/brideonline-client-blog/wp-content/plugins/phpbb-single-sign-on/module.
   wp.php:64
 * Perhaps need to include:
    require_once(ABSPATH . WPINC . ‘/ms-functions.php’);
   at the top of module.wp.php ? as shown here: [http://codex.wordpress.org/WPMU_Functions/get_user_id_from_string](http://codex.wordpress.org/WPMU_Functions/get_user_id_from_string)
 * I’m not using WPMU, rather standard wordpress.
 * Cheers,
 * Ben.
 * [http://wordpress.org/extend/plugins/phpbb-single-sign-on/](http://wordpress.org/extend/plugins/phpbb-single-sign-on/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Zeek20](https://wordpress.org/support/users/zeek20/)
 * (@zeek20)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-phpbb-single-sign-on-version-086-fatal-error-undefined-function-get_user_id_from_string/#post-2848501)
 * Are you using the latest wordpress? Did you upload the plugin or did you download
   it through wordpress?
 * I don’t have any errors with missing functions, could be a conflict with another
   plugin as well.
 *  Thread Starter [wiseowl9000](https://wordpress.org/support/users/wiseowl9000/)
 * (@wiseowl9000)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-phpbb-single-sign-on-version-086-fatal-error-undefined-function-get_user_id_from_string/#post-2848503)
 * I’m using the latest version (3.4). Upgraded through the wordpress plugin manager
   🙂
 * I also see wordpress MU has been merged into wordpress, so it’s all one and the
   same now, my bad.
 * I’m calling the plugin externally (using it to integrate another system into 
   wordpress) so I’ll see if including that ms-functions.php file resolves my issue
   and if so mark this as resolved.
 *  Plugin Author [onigoetz](https://wordpress.org/support/users/onigoetz/)
 * (@onigoetz)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-phpbb-single-sign-on-version-086-fatal-error-undefined-function-get_user_id_from_string/#post-2848569)
 * You’re completely right.
 * It’ll be fixed in 0.8.7 and published in a few hours.
 *  Thread Starter [wiseowl9000](https://wordpress.org/support/users/wiseowl9000/)
 * (@wiseowl9000)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-phpbb-single-sign-on-version-086-fatal-error-undefined-function-get_user_id_from_string/#post-2848574)
 * Thank you very much Stéphane.
 * Once I upgraded I had another issue but solved it as follows:
 * I’m using the file externall so inlcuded them in the following order (in case
   anyone else is using this plugin as a stepping stone to integrating something
   other than phpBB):
 *     ```
       require_once("wp-content/plugins/phpbb-single-sign-on/module.wp.php");
       //Include WordPress
       require_once("wp-blog-header.php");
       // dummy class to allow common-functions.php below to load
       class wpbb_phpBB3
       {
           static function loadConstants(){}
       }
       require_once("wp-content/plugins/phpbb-single-sign-on/common-functions.php");
       ```
   
 * Then I can call wpbb_addUser and wp_signon etc.
 * Cheers,
 * Ben.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: PHPBB Single Sign On] Version 0.8.6 Fatal error: undefined function
get_user_id_from_string’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/phpbb-single-sign-on.svg)
 * [PHPBB Single Sign On](https://wordpress.org/plugins/phpbb-single-sign-on/)
 * [Support Threads](https://wordpress.org/support/plugin/phpbb-single-sign-on/)
 * [Active Topics](https://wordpress.org/support/plugin/phpbb-single-sign-on/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/phpbb-single-sign-on/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/phpbb-single-sign-on/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [wiseowl9000](https://wordpress.org/support/users/wiseowl9000/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-phpbb-single-sign-on-version-086-fatal-error-undefined-function-get_user_id_from_string/#post-2848574)
 * Status: resolved