Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
tnfno CreditAttribution: tnfno commentedYes,
same problem. Had to roll back.
Comment #2
tunicFixed and committed to dev. Function _uc_ajax_cart_load_res was called when file was included; now using hook_init.