Division by Zero — Reopened

Home Forums Ticket Products Eventbrite Tickets Division by Zero — Reopened

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1378483
    Cynthia Lockley
    Participant

    I am reopening this ticket (https://theeventscalendar.com/support/forums/topic/division-by-zero/) that I had originally open in The Events Calendar Pro forum, because the last one was closed by the robot. Since the previous ticket, I have updated The Events Calendar to 4.6.3, The Events Calendar Pro to 4.4.19, and The Events Calendar : Eventbrite Tickets to 4.4.8. WordPress is at 4.8.3.

    I am still getting this message:
    Warning: Division by zero in /home/xxxxxx/events.stcwdc.org/wp-includes/comment-template.php on line 1381

    This message appears in all event description pages in two places. See screen capture.

    I did the suggestions to change themes and test all the plugins.

    I deactivated all plugins and started testing by turning them back on one-by-one. Nothing generated the “Divide by Zero” error messages up to The Events Calendar plugins. I left them all to the end. I reactivated first the basic The Events Calendar plugin and no error messages. I reactivated The Events Calendar Pro plugin and got no error messages. I got the error messages after I reactivated The Events Calendar: Eventbrite Tickets plugin.

    I switched the theme to TwentySixteen (because TwentyFourteen is too back level). Changing the theme to Twentysixteen, didn’t make the problem go away.
    How do I fix this problem?

    #1379520
    Cliff
    Member

    Hi, Cynthia.

    This is a bug with WordPress core: https://core.trac.wordpress.org/ticket/40293

    Please keep an eye on it there.

    To make the error not happen until that bug is fixed, I’d recommend unchecking the box or changing its value to something other than zero: https://core.trac.wordpress.org/attachment/ticket/40293/40293-how-to-reproduce-divide-by-zero.jpg

    Please let me know if you have any follow-up questions on this topic.

    #1379618
    Cynthia Lockley
    Participant

    Cliff,

    Thanks. I unchecked the box and the notice went away. I’m glad someone finally figured out what is causing it.

    Cheers,
    Cynthia

    #1380082
    Cliff
    Member

    Glad to help! 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Division by Zero — Reopened’ is closed to new replies.