Fatal error for anonymous user

Project: 
Ubercart
Category: 
bug report
Priority: 
critical
Status: 
fixed

Hi,
First time I set a bug to critical Eye-wink

When I log out, and try to navigate as anonymous, I get this error. This wasn't before alpha 7c.

Fatal error: Call to undefined function drupal_add_js() in C:\wamp\www\drupal\modules\ubercart\uc_store\uc_store.module on line 328

Page cache

I'm getting the exact same problem. Clearing the cache tables fixes the problem for ONE pageview. So i suspected a problem with the page cache and turned that off. Now it seems to work.

Re: Page cache

It's a bug in Drupal for hook_init() that has been worked around in Ubercart 7d. Will be releasing this as a maintenance release for a few small issues like this hopefully this afternoon.