Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problems after update to 4.0.


  • Hanz17
    Participant

    @hanz17

    Hi,

    after update to BP 4.0. I have problems with two BP functions – bp_displayed_user_id, bp_is_my_profile

    Fatal error: Uncaught Error: Call to undefined function bp_displayed_user_id() in ...wp-content/themes/socialize-child/functions.php:73 Stack trace: #0 ...wp-includes/class-wp-hook.php(286): hide_profile('') #1 ...wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 ...wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 ...wp-settings.php(450): do_action('init') #4 ...wp-config.php(84): require_once('/www/doc/www.lo...') #5 ...wp-load.php(37): require_once('/www/doc/www.lo...') #6 ...wp-admin/admin.php(31): require_once('/www/doc/www.lo...') #7 ...wp-admin/index.php(10): require_once('/www/doc/www.lo...') #8 {main} thrown in ...wp-content/themes/socialize-child/functions.php on line 73

    Thanks for help

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

  • Hanz17
    Participant

    @hanz17

    I moved functions from child theme to bp-custom and it works 🙂


    shanebp
    Moderator

    @shanebp

    Glad you got it working.
    When you post error messages on public sites, you should strip out the bits that identify your site.
    I’ve made that change on your OP.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar