Skip to:
Content
Pages
Categories
Search
Top
Bottom

In class-bp-core-user.php populate fullname causes an error


  • MorgunovVit
    Participant

    @morgunovvit

    Hi!
    There’s an error on BuddyPress profile page:
    content.js:3 E_NOTICE Undefined index: Полное имя – /wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php:159
    #44 /wp-content/plugins/buddypress/bp-core/classes/class-bp-core-user.php:139 – BP_Core_User->populate()

    As I can gues – it related to xprofile fields. It seems that I removed the field ‘Полное имя’ that was created before on the Users Profile Fields page.
    And now php string:
    $this->fullname = esc_attr( $this->profile_data[$full_name_field_name][‘field_data’] );
    in plugins/buddypress/bp-core/classes/class-bp-core-user.php
    causes an error.

    Could you help me?

    WordPress version 5.1
    BuddyPress Version: 4.2.0
    Site URL: https://test.mc21academy.ru/

  • You must be logged in to reply to this topic.
Skip to toolbar