• Resolved adihd8

    (@adihd8)


    Hi,

    I am getting the following message at the top of my page when I use the short code to render the value of a number field…

    Warning: A non-numeric value encountered in /home/customer/www/website.com/public_html/wp-content/plugins/gravitywp-count/gravitywp-count.php on line 179

    The value renders correctly but the error messages shows on the page.

    I came across a similar support ticket created a couple years ago but did not see a reply.

    The shortcode is working for another value without any error message. Unfortunately it is not working for the number field value.

    I appreciate help with this. Thank you in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author GravityWP

    (@gravitywp)

    Hi adihd,

    This happens when one (or more) of the entries have a non-numeric value in that particular field (where empty is also non-numeric in this case). As a non-numeric value can’t be added this is a valid warning, but I agree we can improve how this is being handled. This will be scheduled for the next version, which most likely will be released within a few weeks.

    Plugin Author GravityWP

    (@gravitywp)

    This should be fixed now. Good luck!

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

The topic ‘Error Warning: A non-numeric value encountered’ is closed to new replies.