I'm encountering this error when I enter the site for the first time for the day - when I refresh the site loads normally and is not encountered again to say the next day/week/session ?
The problem only occurred after installing notifications after all others listed below. Notifications and all modules work normally.
Has anyone seen this issue?
Fatal error: Call to undefined function drupal_get_path() in /home/.....path edited...../modules/notifications/notifications.module on line 1256
Drupal 6.14
Advanced Blog 6.x-1.0-beta1
Advanced User 6.x-2.3
Ubercart 6.x-2.0-rc7
Content Templates (Contemplate) 6.x-1.1
Content Construction Kit (CCK) 6.x-2.5
Dynamic display block 6.x-1.0-rc6
FCKeditor - WYSIWYG HTML editor 6.x-1.4-rc1
FileField 6.x-3.1
MP3 Player 6.x-1.0-beta1
SWF Tools 6.x-2.5
Google Analytics 6.x-2.2
ImageAPI 6.x-1.6
ImageCache 6.x-2.0-beta10
ImageField 6.x-3.1
jQuery Update 6.x-1.1
Lightbox2 6.x-1.9
Messaging 6.x-2.1
Mime Mail 6.x-1.x-dev (2009-Jun-08)
Node Page Template 6.x-1.0
Notifications 6.x-2.1
Poormanscron 6.x-1.0
Secure Pages 6.x-1.8
Simple Gallery 6.x-1.5
Simplenews 6.x-1.0-rc6
SMTP Authentication Support 6.x-1.x-dev (2009-Apr-06)
Taxonomy Access Control Lite 6.x-1.3
Taxonomy hide 6.x-1.02
ticketyboo News Ticker 6.x-1.3
Token 6.x-1.12
Ubercart securepay.com.au Payment Gateway 6.x-1.x-dev (2009-Apr-28)
Views 6.x-2.6
Comments
Comment #1
kwinters commentedI'm having this error too on occasion, as are many other modules apparently. #570060: Call to undefined function drupal_get_path() seems to have the most helpful description of how to fix it (has to do with hook_init).
StephenFresh, what time does your cron run? Cron seems to trigger it because of partial bootstrapping.
Comment #2
StephenFresh commentedthanks Kwinters it's been a while - but I assume it's still there yes that explains my issue as I'm using poormanscron and it triggers when a user visits after a certain amount of hours (hence first morning visit brings the error).
I'm not sure how to apply their hacks to my issue I can guess but wont test yet.
Shall post again if I a get a hack fix and look out if you get one also.
Hope you get it sorted.
Comment #3
StephenFresh commenteddon't know how to fix not a major issue at the moment.
Comment #4
kwinters commentedReclassified. The bug still exists, and should be fixed eventually. It can just sit there until someone has time for it. Also, being open will help prevent duplicate issues being created.
Comment #5
breduin commentedhave the same problem.
Comment #6
jose reyero commentedThis is an issue with Poormanscron which doesn't do a proper bootstrap.