WordPress.org

Ready to get started?Download WordPress

Forums

YOP Poll
[resolved] getting the following warning on top of poll page (6 posts)

  1. gillianpearce
    Member
    Posted 11 months ago #

    I'm getting the following warning on my poll page. Any idea why?

    Warning: round() expects parameter 2 to be long, string given in /home/xxxxxx/public_html/xxxxxx/wp-content/plugins/yop-poll/inc/yop_poll_model.php on line 1061

    You can see it here:
    http://gillianpearce.com/vfaq-demo/

    Thanks
    Gillian

    http://wordpress.org/plugins/yop-poll/

  2. YOP
    Member
    Plugin Author

    Posted 11 months ago #

    Hi Gillian,

    Can you please tell us what you typed in the "Percentage decimals" field?
    (edit your poll and look in "Other Options" section)

    Regards,

    YOp Team

  3. gillianpearce
    Member
    Posted 11 months ago #

    It says 0

  4. gillianpearce
    Member
    Posted 11 months ago #

    Sorry. I was looking at the wrong poll. The "Percentage decimals" field is empty.

  5. YOP
    Member
    Plugin Author

    Posted 11 months ago #

    Hey Gillian,

    Edit your poll and in the "Percentage decimals" field type in "0" and save.

    Please let us know if you still get the warning.

    Best wishes,

    YOP Team

  6. gillianpearce
    Member
    Posted 11 months ago #

    Brilliant. Thanks. That did it!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.