Support » Plugin: GravityWP - Count » Error – Non-numeric value encountered

  • I’m seeing this error at the top of the page where I’m using GravityWP- Count shortcodes:

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

    Everything seems to be working correctly from a count perspective. Any insight you can provide?

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

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

    (@gravitywp)

    Does this happen with any count shortcode or a specific one? (if specific, please share).

    Hi there. These specific shortcodes are the ones generating the error code:

    [gravitywp_count formid=’4′ decimals=’0′ number_field=’9′ start_date=’05/14/2020′ end_date=’05/13/2021′]

    [gravitywp_count formid=’4′ decimals=’0′ number_field=’10’ start_date=’05/14/2020′ end_date=’05/13/2021′]

    [gravitywp_count formid=’4′ decimals=’0′ number_field=’11’ start_date=’05/14/2020′ end_date=’05/13/2021′]

    Interestingly, I have another shortcode on the page that does not throw the error which is pretty similar. Only difference is the number_field ID. Here it is:

    [gravitywp_count formid=’4′ decimals=’0′ number_field=’12’ start_date=’05/14/2020′ end_date=’05/13/2021′]

    To give you a little context on how the form is set up, here’s a short screencast video to show you what I’m using the shortcodes for: https://vimeo.com/463892591/cd5d3c079e

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.