Skip to:
Content
Pages
Categories
Search
Top
Bottom

Recounting items fails with "Fatal error: call to member function on non-object"

  • I just upgraded to 1.0.3, and tried using the recount feature on the tools page, but ran into this little problem:

    Fatal error: Call to a member function query() on a non-object in /bb-admin/includes/functions.bb-recount.php on line 141

    This happens on all the “tag” related count functions. (Count tags for every topic, Count topics for every tag, Delete tags with no topics)

    Even more bothersome, ever since the failed attempt at re-counting I’m now also getting these errors on the dashboard:

    Warning: Division by zero in /bb-includes/functions.bb-statistics.php on line 214

    Warning: Division by zero in /bb-includes/functions.bb-statistics.php on line 194

    Warning: Division by zero in /bb-includes/functions.bb-statistics.php on line 174

    Warning: Division by zero in /bb-includes/functions.bb-statistics.php on line 244

Viewing 4 replies - 1 through 4 (of 4 total)
  • Pretty much the same thing here. Any thoughts ???

    Pretty much the same thing here. Any thoughts ???


    ledsales
    Member

    @ledsales

    Same prob here, yet another scary bbpress bug by the look of it. Just checked our forum database and there are now hundreds of topics with their data set to blank and topic start times set to 0000-00-00 00:00:00 which is what causes the error. If you have a database backup, use it, if not, delete these topics…


    ledsales
    Member

    @ledsales

    Same prob here, yet another scary bbpress bug by the look of it. Just checked our forum database and there are now hundreds of topics with their data set to blank and topic start times set to 0000-00-00 00:00:00 which is what causes the error. If you have a database backup, use it, if not, delete these topics…

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