Was trying to install very latest 6.x-2.x-dev version with drush to verify #1317986: Updating to Ubercart 6.x-2.7 breaks Ajax Cart related patches with anonymous users. However, was not able to update latest dev version due to following error:

Error: Call to undefined function drupal_add_js() in /modules/uc_ajax_cart/uc_ajax_cart.module, line 278

Rolling back to 6.x-2.0 works ok.

If 6.x-2.x-dev version updated without drush (manually) I did get WSOD once running update.php (or flushing all caches)

Anyone else experiencing the very same?

Comments

tnfno’s picture

Yes,

same problem. Had to roll back.

tunic’s picture

Status: Active » Fixed

Fixed and committed to dev. Function _uc_ajax_cart_load_res was called when file was included; now using hook_init.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.