Problem:
After clearing the cache and reloading a page like 'node/1' I had different errors about undefined functions. Here are some samples:

Call to undefined function styles_default_styles() in /.../sites/all/modules/styles/contrib/file_styles/file_styles.module on line 200
PHP Fatal error:  Call to undefined function token_get_entity_mapping() in /.../sites/all/modules/token/token.tokens.inc on line 767

After some trials and errors the bug seems to be coming from the node_load() called in languagepath.

CommentFileSizeAuthor
#1 node_load_issue-2177373-1.patch649 bytesidflood
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

idflood’s picture

Status: Active » Needs review
FileSize
649 bytes

I'm not sure about this patch. It remove the node_load call in languagepath() and replace it with a db_query.

Since I made this modifications I can't reproduce the fatal errors and the module seems to be working.