8 replies [Last post]
timhobert's picture
Offline
Joined: 04/25/2009
Juice: 68
Was this information Helpful?

I was so close. Everything was looking GREAT and then after clicking "Review Order" on the Checkout page, I was taken to this page: http://example.com/cart/checkout and I received the following fatal error:

Fatal error: Unsupported operand types in /sites/all/modules/ubercart/uc_store/includes/uc_price.inc on line 89

Could anybody provide some guidance to help me get past this stumbling block?

Thanks!

Tim

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: So close! Need help! Fatal error on cart/checkout screen

If I'm not mistaken, this bug has already been fixed and will be posted in the RC2 to be packaged up in the next few days.

Wonder95's picture
Offline
Joined: 02/20/2008
Juice: 283
Bazaar?

Can we get this fix from Bazaar? I just checked the one from both the dev and experimental branches, and uc_price.inc doesn't appear to be any different than the rc1 version (4/18/09 12:42 AM). Unless, of course, the change is in another file...

snepa's picture
Offline
Joined: 01/15/2009
Juice: 38
Similar experience

Hello,

We are currently running Ubercart 6.x-2.0-rc1 and Drupal 6.10. We are having a similar experience at https://www.kilboa.com/cart/checkout. It only happens for us when a user attempts to checkout with PayPal. Checking out using the credit card option goes off without a hitch.

Now if the user clicks the PayPal button on the previous page, https://www.kilboa.com/cart, that link works and takes the user to the appropriate PayPal account page. That said I've walked through that process where it does in fact bring me back to kilboa.com to calculate shipping but does not offer the same chance to apply a discount that is available at /cart/checkout (we are using Ubercart Discounts Alternative 6.x-1.0-beta23 module). Because we are launching with a campaign that utilizes a discount code most of our early customers will not be able to take advantage of the PayPal link on /cart but must instead go to /cart/checkout.

That's OK as that is the direction we are giving our shoppers. It just means I am eagerly awaiting RC2 as our planned launch, after many long months, is tomorrow Eye-wink

By the way, Ryan, this module is fantastic. My regards to you and the rest of the team. We couldn't be happier.

Stephen

timhobert's picture
Offline
Joined: 04/25/2009
Juice: 68
Re: Similar experience

Yep, we're just using Paypal and it looks like the Paypal link works on the /cart page but the 'Review order' link does not work properly on the cart/checkout page.

Fingers crossed that it's fixed in the RC2 release!

snepa's picture
Offline
Joined: 01/15/2009
Juice: 38
RC2 fixed it

timhobert,

It seems to be working find on my end after installing RC2. I didn't go all the way through the PayPal checkout but it loaded to Paypal with no problem. The error is gone. How about on your end?

Thanks Ubercart team.

snepa

timhobert's picture
Offline
Joined: 04/25/2009
Juice: 68
Hi snepa, Thanks for your

Hi snepa,

Thanks for your replies!

I was able to move forward a bit, but then ran into this error:

http://drupal.org/node/448998

For now I applied the patch reference in #4 and it seemed to fix that error: http://drupal.org/files/issues/uc_product.uc_price_unknown_function_fix....

I'm creating the site on a dedicated IP on Godaddy's new grid hosting. For the time-being, here's the site: http://97.74.26.60/nyc/ (until it eventually goes live at http://laicale.com/nyc).

I went all the way through a Paypal purchase just now and although the purchase was sent to Paypal and to the selling company, I was presented this error (below) immediately after purchase and no confirmation screen:

----

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@supportwebsite.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.33 Server at 97.74.26.60 Port 80

----

alex73's picture
Offline
Joined: 05/04/2009
Juice: 10
Re: Hi snepa, Thanks for your

I have the same problem (500 Internal Server Error) on the /cart/checkout/complete page. Information emailed correctly, but error page displayed. Patch http://drupal.org/files/issues/uc_product.uc_price_unknown_function_fix.... doesn't fix anything.

Drupal 6.11, Ubercart 6.x-2.0-rc2, Ubercart Addresses 6.x-1.x-dev(2009-Apr-24)

mittalpatel's picture
Offline
Joined: 06/11/2009
Juice: 11
I had same problem

@alex71 and @timhobert
I faced the same problem while creating a shopping cart and was too frustrated to see that Internal Server Error as I was about to complete the project and this crappy error popped up.
I did a bit searching on this and found this thread http://drupal.org/node/331717#comment-1515288 . And it worked perfectly for me. I filled up the Store Information page, submitted order and all worked well.
Hope this will help you too.