Project:
UbercartCategory:
bug reportVersion:
Ubercart 1.x-devPriority:
normalAssigned:
UnassignedStatus:
fixedFatal error: Unsupported operand types in /var/www/work/gengel/spe/includes/common.inc on line 1265
Call Stack
# Time Memory Function Location
1 0.0009 63656 {main}( ) ../index.php:0
2 0.3362 21537168 menu_execute_active_handler( ) ../index.php:18
3 0.3405 21649096 call_user_func_array ( ) ../menu.inc:346
4 0.3405 21649176 drupal_get_form( ) ../menu.inc:0
5 0.4045 22008940 drupal_prepare_form( ) ../form.inc:105
6 0.4129 22044172 drupal_alter( ) ../form.inc:532
7 0.4169 22044832 call_user_func_array ( ) ../common.inc:2670
8 0.4170 22044832 uc_cart_form_alter( ) ../common.inc:0
9 0.4172 22044872 url( ) ../uc_cart.module:459
Note: the user login *block* still works
/user, and /user/register resume functioning once Ubercart is disabled



Re: user, user/register give "Unsupported operand types" fatal e
I had merged in some changes from the Drupal 5 branch and forgot to check them with Coder in Drupal 6. The url() function is used by uc_cart to alter the user login forms. Since the parameters of url() changed in D6, you got an error.
Should be committed before too long, but here's the patch in the meantime.
Re: Re: user, user/register give "Unsupported operand types" fat
Thanks!