WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager and WPML Compatibility
php notice (debug) with buddypress / bbpress (1 post)

  1. Fee
    Member
    Posted 1 year ago #

    Hi Marcus,

    since BuddyPress 1.7 and bbPress 2.3 there is a new php notice, thrown in debug, caused by your plugin:

    Notice: bp_setup_current_user was called incorrectly. Der aktuelle Benutzer wird ohne die Verwendung von $wp->init() initialisiert. Please see Debugging in WordPress for more information. (This message was added in version 1.7.) in .../wp-includes/functions.php on line 3012

    Notice: bbp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init(). Please see Debugging in WordPress for more information. (This message was added in version 2.3.) in .../wp-includes/functions.php on line 3012

    All you have to do is change line 701:
    add_action('plugins_loaded', 'EM_WPML::init');
    to:
    add_action('after_setup_theme', 'EM_WPML::init');

    thanks in advance :-)

    http://wordpress.org/plugins/events-manager-wpml/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.