On http://mysite.my/ru/node/1/edit
Error: Fatal error: Call to undefined function node_load() in /home/vvs/projects/htdocs/mysite.my/sites/all/modules/languageinterface/languageinterface.module on line 119
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | undefined_node_load-1344652-2.patch | 394 bytes | idflood |
Comments
Comment #1
vood002 commentedI'm getting the same error on node edit pages....if I refresh the page 4 or 5 times it goes away. Edit: On node/add pages as well
Kind of perplexing...would appreciate any thoughts of what might be going on.
To save someone the trip...possibly...here's the function containing line 119 ( just below // find translation )
Comment #2
idflood commentedI had the same issue. It happens because this is not called from a normal hook so the node module may not be loaded yet. Adding a manual 'module_load_include" fix the issue for me.
Comment #3
lklimek commentedAs I see no point in keeping this (quite trivial) patch open, I've committed the last patch to 7.x-1.x branch despite lack of formal community review ;). Should be downloadable soon.
Please test it because I don't have any environment set up where I could do that.