Support » Fixing WordPress » How to fix Warning Division Zero Error Message

  • Resolved Rod Redpath

    (@kelticvisuals)



    It is in the stairway theme, showing on all my pages.

    Warning: Division by zero in /home/oregons9/public_html/wp-includes/comment-template.php on line 1338

    Below is the code it is referencing:

    $comment_args[‘offset’] = ( ceil( $top_level_count / $per_page ) – 1 ) * $per_page;

    How do I fix?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to fix Warning Division Zero Error Message’ is closed to new replies.