Closed (won't fix)
Project:
Blockquote
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Aug 2008 at 05:07 UTC
Updated:
9 Jul 2010 at 12:29 UTC
Jump to comment: Most recent file
Comments
Comment #1
zeta ζ commentedHi Andrzej7,
Glad you like it :-)
always makes me ask, Have you cleared the cache?
Is this consistently reproducible? Obviously drupal_add_css should be defined, in D5 & D6.
Do you have a live example on the internet?
Nick
Comment #2
zeta ζ commentedCouldn’t hold my breath any longer…
Comment #3
jennycita commentedI'm getting this error as well... found this similar issue. The fix is moving the drupal_add_css call into hook_menu(!$may_cache) instead of hook_init. I've attached a patch.
Comment #4
zeta ζ commentedFirstly, sorry for the delay – I’ve been out of the loop for a while.
This is caused by a difference between D5 & D6. The patch will cause an error for D6, but can be used for D5. Blockquote is correct for D6 as shown in http://api.drupal.org/api/function/hook_init .
As D7 is close, and we are about to lose D5, I have amended the project page to no longer mention D5.
Thanks for finding http://drupal.org/node/115901#comment-504918 .