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
|
Posted: 06 April 2012 03:20 AM |
|
|
|
I see this twice when viewing order details
A PHP Error was encountered Severity: Warning
Message: number_format() expects parameter 1 to be double, string given
Filename: helpers/utilities_helper.php
Line Number: 52
|
|
|
mithra62
|
Posted: 07 April 2012 03:18 PM |
# 1
|
|
Developer
|
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
|
Posted: 07 April 2012 04:35 PM |
# 2
|
|
|
sorry no. it’s on a private server.
|
|
|
kokako
|
Posted: 07 April 2012 05:28 PM |
# 3
|
|
|
Can we do something else?
|
|
|
mithra62
|
Posted: 09 April 2012 01:11 PM |
# 4
|
|
Developer
|
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
|
Posted: 25 October 2012 05:03 PM |
# 5
|
|
|
Having the same problem - was there a fix for this?
|
|
|
mithra62
|
Posted: 25 October 2012 05:07 PM |
# 6
|
|
Developer
|
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
|
Posted: 25 October 2012 06:23 PM |
# 7
|
|
|
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
|
Posted: 29 October 2012 04:19 PM |
# 8
|
|
Developer
|
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
|
Posted: 07 January 2014 08:34 PM |
# 9
|
|
|
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
|
Posted: 08 January 2014 11:21 AM |
# 10
|
|
Developer
|
Hi Josh,
What version of CT Admin are you using?
Eric
|
|
|
Josh Conner
|
Posted: 08 January 2014 11:36 AM |
# 11
|
|
|
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
|
Posted: 08 January 2014 12:00 PM |
# 12
|
|
Developer
|
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
|
Posted: 08 January 2014 12:00 PM |
# 13
|
|
Developer
|
... and my email address is eric at mithra62 dot com
sigh…
|
|
|