• Resolved ewwink

    (@ewwink)


    Fatal error: Call to undefined function is_user_member_of_blog() in /public_html/wp-content/themes/p2/functions.php on line 725

    how to fix this

Viewing 6 replies - 1 through 6 (of 6 total)
  • The call is a WPMU function and I read today in another post that it is changed or changing in WordPress 3.1.

    The p2 theme is by WordPress Automattic so check with the theme authors if an update has caused this!

    B.T.W.
    The P2 theme was updated on the 23rd December so you may want to check if you have the latest, check your admin panel updates.

    HTH

    David

    Thread Starter ewwink

    (@ewwink)

    so P2 theme is for WPMU not for common WP?
    and thanks

    Although the function is a WPMU function, some of these have been merged with the WordPress core functions, so now WP and WPMU are one and the same, some theme might have conditional functions for single and multi-site use.

    So as I was curious I downloaded and looked at the functions.php and line 725 is:

    if( is_user_member_of_blog( $current_user->id ) ) {

    Looking at the trac posts, it was changed and changed back, do you have the latest theme, and do you have the latest WordPress 3.0.3?

    EDIT:
    Just tested on latest theme download and Version 3.0.3 and I have the same error:
    Fatal error: Call to undefined function is_user_member_of_blog() in D:\wamp\www\wordpress\wp-content\themes\p2\functions.php on line 725

    So you should contact the authors!

    Regards

    David

    Thread Starter ewwink

    (@ewwink)

    thanks for your respond adeptris, maybe the authors will fix it soon.

    Thanks for the reports—and very sorry for the errors. We’ve submitted a new version with a fix, it should be approved soon.

    If you want to fix your installs yourselves in the meantime, find line 774 in functions.php:
    add_action( 'wp_footer', 'p2_user_suggestion', 10 ); and comment it out.

    Thread Starter ewwink

    (@ewwink)

    version 1.2.1. fix the problem.
    thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error: Call to undefined function is_user_member_of_blog()’ is closed to new replies.