Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp_core_functions error division by zero

  • Avatar of artabria
    artabria
    Participant

    @artabria

    on line 640

    and displays “posted 65478 seconds ago”!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    You’ll need to be much more specific for anyone to help you. :)

    Avatar of artabria
    artabria
    Participant

    @artabria

    Ok… in file bp-core-functions.php (line 640) system tries to calculate how old is a activity listed. a variable called $seconds seems to be 0 or not a number… so division is illegal and system show how old is the post in seconds… and not in years, months, days, hours, minutes…

    It happens since I’ve updated be to 1.8…

    I’ve edited default-constants.php from wp-admin to remove all spaces in YEAR_IN_SECONDS and other constants could be used by bp-core-functions.php… so this is not the problem

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

You must be logged in to reply to this topic.