The following message is shown when accessing view results:

Recoverable fatal error: Argument 2 passed to db_query() must be an array in taskbar_views module

Comments

alex.skrypnyk’s picture

Status: Active » Needs review

Simple fix - rewrite db_query according to D7 API on line 96 in taskbar_views.module:

    db_query("REPLACE INTO {taskbar_views_update} (name, uid, last_id) VALUES (:name, :uid, :value)", array(':name'=>$item->name, ':uid'=> $user->uid, ':value'=> $view->result[0]->$field));
jcisio’s picture

Status: Needs review » Fixed

Thanks, committed.

Status: Fixed » Closed (fixed)

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