Fatal error for anonymous user

Project:Ubercart Contributions
Component:Code
Category:
Priority:critical
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

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
zoo33@drupal.org's picture
Offline
Joined: 08/23/2007
Juice: 13
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.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Page cache
Assigned to:zoo33@drupal.org» Ryan

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.