Extension, Module

Developer
Supported

EE 1
EE 2
CT Admin

Back to this add-on's main page
View Other Add-ons From mithra62

     

You must be logged in to post.

PHP error when viewing Order Details

General (Resolved)

kokako
kokako

I see this twice when viewing order details

A PHP Error was encountered
Severity
Warning

Message
number_format() expects parameter 1 to be doublestring given

Filename
helpers/utilities_helper.php

Line Number
52 
mithra62
# 1
Developer
mithra62

Hi Kokako,

Sorry for the delay getting back to you; I was traveling for the holiday so was out of reach of email.

Can you send me FTP and Super Admin access so I can take a look?

Thanks,
Eric

kokako
# 2
kokako

sorry no. it’s on a private server.

kokako
# 3
kokako

Can we do something else?

mithra62
# 4
Developer
mithra62

Hi Kokako,

Sorry for the delay; I was on holiday for Easter and had limited access to email.

Can you verify you have CartThrob completely setup and configured? It sounds like CT Admin is missing some data.

Eric

Philip
# 5
Philip

Having the same problem - was there a fix for this?

mithra62
# 6
Developer
mithra62

Hi Philip,

Honestly man, off the top of my head, I can’t recall what the issue was. Would you mind if I took a look at things with FTP and Super Admin access? I’m sure I can fix it up for you. If so, I’ll update this thread so if anyone else has an issue it’ll be answerable :)

Thanks,
Eric
eric at mithra62 dot com

kokako
# 7
kokako

yes it had to do with a missing bit of preference data…. I can’t remember exactly but I think in my case I was not using sales tax and had not added a value for it and CT was expecting it…

mithra62
# 8
Developer
mithra62

The issue was mostly due to a lack of a database index on the members table at the email column. Executing the below SQL statement fixed it right up:

ALTER TABLE `exp_members` ADD INDEX ( `email` )

Eric