teleport_init() fails when caching is enabled: undefined function user_access()
christefano - March 19, 2008 - 15:12
| Project: | Teleport |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | incidentist |
| Status: | needs review |
Jump to:
Description
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.
| Attachment | Size |
|---|---|
| teleport_init_bootstrap.patch | 1.18 KB |

#1