Comments

KirstenLangholz’s picture

Hello,

run into the same error. Looked at the second link and replaced dc_rewrite_sql with hook_query_alter, but the same error pops up. It all started when I installed the module jquery_update. So I tried to disable it again, but that didn't do the trick!

Help!

colan’s picture

Title: db_rewrite_sql() -> hook_query_alter() » Call to undefined function db_rewrite_sql()

Set a better title for those looking through the issue cue.

@KirstenLangholz: Unfortunately, it's somewhat more complicated than that. I'm currently flipping through the new Database API documentation so I should be able to come up with a fix really soon now. Because of the node access restrictions, it's necessary to switch to a dynamic query here.

colan’s picture

Status: Active » Fixed

Fix committed in 803924d. Please test the dev version and report back if there are any problems.

Automatically closed -- issue fixed for 2 weeks with no activity.