Skip to:
Content
Pages
Categories
Search
Top
Bottom

non-numeric value in forum template


  • padrenola
    Participant

    @padrenola

    “Warning: A non-numeric value encountered in . . . /wp-content/plugins/bbpress/includes/forums/template.php on line 1441”

    Here is line 1441 $retval = $replies + $topics;

    http://www.sndg.org/2017/forums/

    This kind of thing is out of my knowledge base. Is it something I did, or a bad line in the install?

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

  • Robin W
    Moderator

    @robin-w

    what version of bbpress are you using?


    padrenola
    Participant

    @padrenola

    Version 2.6-beta-2


    Robin W
    Moderator

    @robin-w

    ok, it’s not a released version, so suggest you post a trac ticket for the error

    https://bbpress.trac.wordpress.org/newticket


    padrenola
    Participant

    @padrenola

    I went the trac ticket route – someone sent me some replies that basically said “that shouldn’t happen.” However, I am still experiencing these warning messages:

    Warning: A non-numeric value encountered in /home/sndg2301/public_html/2017/wp-content/plugins/bbpress/includes/forums/functions.php on line 1132

    Warning: Cannot modify header information – headers already sent by (output started at /home/sndg2301/public_html/2017/wp-content/plugins/bbpress/includes/forums/functions.php:1132) in /home/sndg2301/public_html/2017/wp-includes/pluggable.php on line 1179

    Warning: A non-numeric value encountered in /home/sndg2301/public_html/2017/wp-content/plugins/bbpress/includes/forums/template.php on line 1441


    Brandon Allen
    Participant

    @thebrandonallen

    @padrenola I’ve added a reply on your ticket, but I wanted to post here as well.

    The issue you are seeing is related to your theme, so you will want to get in touch with their support to get an official fix. You can send them to the ticket for background. https://bbpress.trac.wordpress.org/ticket/3059

    In the meantime, adding the below code to the bottom of your theme’s/child theme’s functions.php file should give you some relief.

    remove_filter( 'bbp_get_forum_topic_count_int', 'x_bbpress_filter_forum_topic_count' );
    remove_filter( 'bbp_get_forum_reply_count_int', 'x_bbpress_filter_forum_reply_count' );
    remove_filter( 'bbp_get_forum_post_count_int',  'x_bbpress_filter_forum_post_count' );

    Donna
    Participant

    @donnawpadmin

    A year later, and I have this issue…any idea what causes it? I have everything current WP: 4.9.4 and BBP: 2.6 rc3

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