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 6 years, 7 months ago by admin.
-
AuthorPosts
-
April 28, 2017 at 12:15 pm #14206Ian.ElmesMember
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 #75550wzpModeratorDoes 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 #75551Ian.ElmesMemberSeems 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 #75552adminKeymasterThe 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 #75553Ian.ElmesMemberThanks 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 #75554adminKeymasterOur shipping options are explained in the following documentation:
If you tell me which option you want to use, I will be able to guide you.
September 2, 2017 at 7:01 am #75555piwakawakavalleyMemberI 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 #75556wzpModeratorIs 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 #75557piwakawakavalleyMemberI 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 #75558adminKeymasterI 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 #75559piwakawakavalleyMemberI 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 #75560adminKeymasterYou 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_useSeptember 5, 2017 at 6:45 am #75561piwakawakavalleyMemberGreat, 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 #75562piwakawakavalleyMemberBut the caching is fixed!
October 13, 2017 at 1:00 pm #75563Paul GroutMemberHi 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.
-
AuthorPosts
- You must be logged in to reply to this topic.