Using Drupal 4.5.1 I get the following error when first accessing the site W/O being logged in:

Fatal error: Call to undefined function: drupal_set_html_head() in /home/dajudge2/public_html/dr/main/modules/shoutbox/shoutbox.module on line 80

Once the user is logged in the error does not occur. I assume probably just not updated for 4.5.x yet.

gil

Comments

dorogoy’s picture

I had the same problem but it dissapeared when I desactivated the cache.

benshell’s picture

Assigned: Unassigned » benshell

I moved the drupal_set_html_head() call to the shoutbox_menu() hook, which seems to solve the problem (at least on Drupal 4.6).

Anonymous’s picture