• Hi,

    I have a “zero by division” in the column “Aggregate Rating” on the page “edit.php?post_type=testimonial_rotator” (All rotators > Testimonial Rotators):

    Warning: Division by zero in /var/www/mysite.com/wp-content/plugins/testimonial-rotator/testimonial-rotator.php on line 654
    NAN

    I don’t know what happened, because I can insert a widget with the rotator, and it works, but if I try to copy the short-code [testimonial_rotator id=304] into a page it doesn’t work. I can only use [testimonial_single id="297"]

    Thanks in advance for your reply
    Daniel

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Mike

    (@thewordpressdude)

    Hello,

    I am also having this problem. I get the same error message and the shortcode doesn’t work.

    Warning: Division by zero in /home/texasconstructio/public_html/wp-content/plugins/testimonial-rotator/testimonial-rotator.php on line 654
    NAN

    I have disabled all my other plugins to make sure that there were no conflicts, but it made no difference.

    I am at WordPress version 5.2.2, and I’m running Version 3.25.4 of the Divi theme, both are the most current releases.

    I’m looking forward to getting the answer to this.

    Thanks,
    Mike

    Mike

    (@thewordpressdude)

    I found the problem. I didn’t have any testimonials assigned to the rotator. After I assigned some testimonials, it was able to do its calculation correctly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Division by zero in the rotator’ is closed to new replies.