Home › Forums › Ticket Products › Eventbrite Tickets › Division by Zero — Reopened
- This topic has 4 replies, 3 voices, and was last updated 6 years, 5 months ago by Cliff.
-
AuthorPosts
-
November 8, 2017 at 2:05 pm #1378483Cynthia LockleyParticipant
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 1381This 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?November 9, 2017 at 3:25 pm #1379520CliffMemberHi, 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.
November 9, 2017 at 7:47 pm #1379618Cynthia LockleyParticipantCliff,
Thanks. I unchecked the box and the notice went away. I’m glad someone finally figured out what is causing it.
Cheers,
CynthiaNovember 10, 2017 at 10:04 am #1380082CliffMemberGlad to help! 🙂
-
AuthorPosts
- The topic ‘Division by Zero — Reopened’ is closed to new replies.