warning: pg_query() [function.pg-query]: Query failed: ERROR: operator does not exist: "unknown" && character varying LINE 1: ...d, '-panel-', '-region-') WHERE module = 'panels' && sid LIK... ^ HINT: No operator matches the given name and argument type(s). You may need to add explicit type casts. in .../includes/database.pgsql.inc on line 139.
Here is the patch too. Other versions may affected.
diff --git a/skinr.install b/skinr.install
index 2cc9471..96d12fb 100644
--- a/skinr.install
+++ b/skinr.install
@@ -281,7 +281,7 @@ function skinr_update_6003() {
*/
function skinr_update_6004() {
$ret = array();
- $ret[] = update_sql("UPDATE {skinr} SET sid = REPLACE(sid, '-panel-', '-region-') WHERE module = 'panels' && sid LIKE '%-panel-%'");
+ $ret[] = update_sql("UPDATE {skinr} SET sid = REPLACE(sid, '-panel-', '-region-') WHERE module = 'panels' AND sid LIKE '%-panel-%'");
return $ret;
}
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | skinr-db_update_error-replace_system_theme_data-1221336-1.patch | 1.08 KB | moonray |
Comments
Comment #1
moonray commentedAttaching patch from above.
Comment #4
moonray commented