Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

A non-numeric value encountered

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › A non-numeric value encountered

  • This topic has 25 replies, 8 voices, and was last updated 7 years ago by admin.
Viewing 15 posts - 1 through 15 (of 26 total)
1 2 →
  • Author
    Posts
  • April 28, 2017 at 12:15 pm #14206
    Ian.Elmes
    Member

    I’m getting this error message when adding products to the cart and when viewing the cart.

    Warning: A non-numeric value encountered in /var/sites/r/redhuttrading.co.uk/public_html/wp-content/plugins/wp-cart-for-digital-products/eStore_cart.php on line 480

    It was working, but for some reason its now not.

    I have disabled / deleted and reinstalled the app to no avail.

    Any help would be great?

    April 28, 2017 at 3:24 pm #75550
    wzp
    Moderator

    Does it happen for any product, or just a particular one?

    Please provide a test link and instructions on how to reproduce the error.

    April 28, 2017 at 3:37 pm #75551
    Ian.Elmes
    Member

    Seems to be all products

    I have just started setting things up and have two test products, one with a picture one without.

    [https://www.redhuttrading.co.uk/test-product/]

    is the url.

    As I said, this was working prior but now there seems to be some sort of corruption, but cant seem to see where

    April 29, 2017 at 1:16 am #75552
    admin
    Keymaster

    The error line points to a shipping amount related issue. Did you edit the individual item and specify any shipping value there? Just for a test, what happens if you enter a shipping value of 5 in the “Item Shipping Cost” field of the product? Do you see the same error after that?

    May 2, 2017 at 4:50 pm #75553
    Ian.Elmes
    Member

    Thanks for that. I have set the item shipping price to 5 and now do not see the message.

    I read somewhere that if I am using Base Shipping and products with both additional shipping and no extra shipping, i should set the Product Shipping price 0.001?

    May 2, 2017 at 11:59 pm #75554
    admin
    Keymaster

    Our shipping options are explained in the following documentation:

    https://www.tipsandtricks-hq.com/ecommerce/how-the-shipping-cost-calculation-works-in-wordpress-estore-50

    If you tell me which option you want to use, I will be able to guide you.

    September 2, 2017 at 7:01 am #75555
    piwakawakavalley
    Member

    I am having the exact same problem. Changing shipping values doesn’t seem to change anything (I actually want no shipping as they are all digital products). Seems to only have changed since adding a ssl certificate. Does that change anything?

    The error only seems to show up in my chrome browser. explorer/edge is clear.

    this is the error

    Warning: A non-numeric value encountered in /srv/users/piwakawakavalley/apps/piwakawakavalley/public/wp-content/plugins/wp-cart-for-digital-products/eStore_cart.php on line 480

    September 2, 2017 at 12:45 pm #75556
    wzp
    Moderator

    Is the value for the product shipping field empty? Blanks and zeros ARE NOT the same as “empty.”

    Please provide a link to your site and instructions, on what to do, so that we can observe the issue.

    September 3, 2017 at 5:13 am #75557
    piwakawakavalley
    Member

    I have tried blank, zero and 5, none of them get rid of the error message. The shipping values are currently blank. The page I am seeing the error is here [https://www.piwakawakavalley.com/checkout/]

    And it turns out I only see it when I am logged in to wordpress. If I log out it seems to disappear but returns when I log in again.

    September 4, 2017 at 12:25 am #75558
    admin
    Keymaster

    I see some caching issue happening on your site.

    What caching solution are you using?

    Also, please go to the following settings menu of the plugin and turn off the ajax option:

    eStore Settings -> Advanced Settings -> Enable Ajax on Add to Cart Buttons

    September 4, 2017 at 4:45 am #75559
    piwakawakavalley
    Member

    I have just swapped hosting, and the new host uses Rocket cache. I have turned it off, and the estore is working much better. Is there a trick to get it to play nicely with rocket or should I move back to W3?

    Ajax now off.

    Sill getting the error Warning: A non-numeric value encountered in /srv/users/piwakawakavalley/apps/piwakawakavalley/public/wp-content/plugins/wp-cart-for-digital-products/eStore_cart.php on line 480

    Thank you

    September 4, 2017 at 11:28 pm #75560
    admin
    Keymaster

    You can do the same thing for Rocket cache.

    #1) Go to the following interface of rocket cache.

    Advanced Settings -> Don't cache pages that use the following cookies

    #2) Then enter the following in that field:

    ap_id
    cart_in_use
    eMember_in_use

    September 5, 2017 at 6:45 am #75561
    piwakawakavalley
    Member

    Great, thank you.

    Still getting that error. But if no one but me being logged in to wp sees it then I guess it is ok

    Thank you for your help

    September 5, 2017 at 7:54 am #75562
    piwakawakavalley
    Member

    But the caching is fixed!

    October 13, 2017 at 1:00 pm #75563
    Paul Grout
    Member

    Hi there, I am having a similar problem to everyone else on this forum section. The message I keep receiving when I add a product to the cart is as follows: Warning: A non-numeric value encountered in /home2/waawcg0aam7q/public_html/wp-content/plugins/wp-cart-for-digital-products/eStore_cart.php on line 480

    I have deactivated, re-installed, and checked all shipping values, disabled Ajax (now re-enabled) etc as suggested. Unfortunately, I keep receiving the same message. I would be grateful if someone could advise what I can do.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 26 total)
1 2 →
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ