Download & Extend

teleport_init() fails when caching is enabled: undefined function user_access()

Project:Teleport
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:incidentist
Status:needs review

Issue Summary

I wrapped the function with an if (function_exists('user_access')) and the problem goes away. It look like Teleport is loading too early in the bootstrap. I wonder why my Drupal environment is so different from everybody else's that this hasn't been noticed before.

AttachmentSize
teleport_init_bootstrap.patch1.18 KB

Comments

#1

Assigned to:Anonymous» incidentist
nobody click here