Warning: number_format() expects parameter 1 to be double, string given in /home/....

4 posts by 2 authors in: Forums > CMS Builder
Last Post: September 26, 2014   (RSS)

UPDATE

I have discovered that this problem only occurs if the price field is "blank". If I change the price field to "0" the error code disappears.

Andy

Hi Andy

If you're still having problems with this, then I suggest checking if the price is blank before trying to output it. It'd be the fastest way to fix the problem without having to update any database fields.

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Hi Claire

Thanks for your reply.

You are absolutely correct - the problem only occurred when the price field was blank.

I discovered this after trying several things and was going to update the forum with my findings but you beat me to it :-)

Thanks for your help and input  Claire

Kind regards

Andy