Hi,
I'm getting the following error when I click on the add to cart button:
Fatal error: Unsupported operand types in /home/servers/new.philadelphiastories.org/pages/includes/common.inc on line 1376
Where could it come from?
Thanks,
|
Ubercart |
|
|
|
||
|
Thu, 03/05/2009 - 16:19
Hi, I'm getting the following error when I click on the add to cart button: Where could it come from? Thanks,
Re: Add to cart error
Important fact I forgot to mention: I only get this error when trying to add to cart as an anonymous user. If i'm logged in, it works fine and the product is added to the cart.
Re: Re: Add to cart error
I found out the error may be related to the fact some variables may not be numeric while they are expected to be. I have no idea, however, how this relates to the "Add to Cart" button when clicked as an anonymous user.
Re: Re: Re: Add to cart error
Just found the following post with the same error: http://drupal.org/node/358327
Re: Re: Re: Re: Add to cart error
I have tried to upgrade to the version 2 beta 5 (was beta 3 before) and I get the same problem. I just get a fatal error, but if I just reload the website after that, I can see my product added to the cart. Any ideas? Thanks,
Re: Re: Re: Re: Re: Add to cart error
common.inc line 1376 corresponds to the end of $options array: function url($path = NULL, $options = array()) {Not sure what conclusion to draw from this.
Re: Re: Re: Re: Re: Re: Add to cart error
What's your version of PHP? Try to install Devel and turn on the backtrace settings. That should tell us what function in Ubercart is using url() badly. |
|