Skip to:
Content
Pages
Categories
Search
Top
Bottom

2.0.2 install trouble


  • am71722
    Participant

    @am71722

    We ran into some trouble when installing 2.0.2. We received an “unknown funcion” error for wp_bp_xprofile_field_data(). We are on the latest version of WordPress (Version 3.9.2) and have the following list of plugins installed (all up-to-date):

    Add to home screen WP
    Amazon S3 and CloudFront
    Amazon Web Services
    BackupBuddy
    bbPress
    bbPress Genesis Extend
    bbPress Moderation
    bbPress Threaded Replies
    Better File Editor
    BuddyPress
    BuddyPress Activity Plus
    BuddyPress Members Import
    Genesis Connect for BuddyPress
    Gravity Forms
    Gravity Forms – Update Post
    Gravity Forms MyMail Add-On
    Gravity Forms Signature Add-On
    Imposter
    WP Master Slider WP
    Menu Management Enhancer
    MyMail – Email Newsletter Plugin for WordPress
    MyMail AmazonSES Integration
    Private Only
    Private Only, Disable Feed
    Raw HTML
    Relevanssi
    S3 Media Maestro
    SP Gravity Forms List & Edit
    UberMenu 2 – WordPress Mega Menu Plugin
    UberMenu Conditionals
    User Role Editor
    W3 Total Cache
    WordPress HTTPS
    WP-Filebase Pro
    WPBakery Visual Composer
    WP Bootstrap Tabs
    WP Courseware
    WP Developer Tools

    Any suspected cause?

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

  • shanebp
    Moderator

    @shanebp

    I don’t see a function or function call for ‘wp_bp_xprofile_field_data’ in BP 2.0.2.

    Can you provide the full error message?
    And info about where / how you saw it?


    am71722
    Participant

    @am71722

    That actual missing function was xprofile_get_field_data. Sorry for the confusion.

    It was on the white screen of death. We used it in our functions.php. It generated “Fatal error: Call to undefined function xprofile_get_field_data() in functions.php on line 308”

    This was immediately after the 2.0.2 update.


    shanebp
    Moderator

    @shanebp

    Are you sure you have the profile component activated?

    If you do, then it’s a load order issue.
    You’re calling the function before BP is fully loaded.

    Try moving that code into bp-custom.php.

    If that doesn’t work, use pastebin or gist to share the code where you use xprofile_get_field_data, especially the action or filter hook.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2.0.2 install trouble’ is closed to new replies.
Skip to toolbar