Skip to:
Content
Pages
Categories
Search
Top
Bottom

error (array was modified…)


  • fulviods
    Participant

    @fulviods

    Hi

    Sometimes this error appear on some pages :

    Warning: usort(): Array was modified by the user comparison function in /home/clients/.../web/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 126

    Not all the time ! what could be the cause?
    Thanks

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

  • shanebp
    Moderator

    @shanebp

    bp_sort_by_key is called in several places by BP. And may be called by some other plugin.
    It’s impossible to tell which call is causing the issue.
    And it may simply be caused by having wp_debug turned on – and you’ll turn it off when you go live.
    It’s just a warning and most likely not important.


    fulviods
    Participant

    @fulviods

    Ok thanks a lot !!
    I dont have wp_debug turned on.. i’ll check
    But if its not important…better!
    Thanks!!


    fulviods
    Participant

    @fulviods

    Is there a way to hide this message error ?
    The debug is OFF but still have this alert who destroy the design of the website 🙁


    shanebp
    Moderator

    @shanebp

    You probably need to adjust your php.ini file.
    This isn’t a BP setting.
    Talk to your hosting provider.

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