Extension, Module

Archived
Forum
(read-only)


For official support, visit the official support site »

CT Admin

ExpressionEngine 2

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

     

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

Josh Conner
# 9
Josh Conner

Eric,
I’m having this same issue, the only difference is that my error has line number 39 instead of 52 like mentioned above. I checked and I do have an index on my members table. Any other ideas?

mithra62
# 10
Developer
mithra62

Hi Josh,

What version of CT Admin are you using?

Eric

Josh Conner
# 11
Josh Conner

Eric,
I’m using CT 1.6.1. I do have older versions of CT and EE installed if that’s an issue. CT is 2.2.9 and EE is 2.5.5. I have plans to update them later this month.

mithra62
# 12
Developer
mithra62

Interesting. None of those versions should pose any problems. Can you shoot me an email? I have a new build that may have this resolved.

Eric

mithra62
# 13
Developer
mithra62

... and my email address is eric at mithra62 dot com

sigh…