Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Installed > added block to sidebar> block said
You are masquerading as webmaster.
Quick switches:
Switch back
which is not quite right as user1 IS webmaster > clicked switch back and got:
Warning: array_flip() [function.array-flip]: Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of D:\xampp\htdocs\d7school1\includes\entity.inc).
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))' at line 1: SELECT base.uid AS uid, base.name AS name, base.pass AS pass, base.mail AS mail, base.theme AS theme, base.signature AS signature, base.signature_format AS signature_format, base.created AS created, base.access AS access, base.login AS login, base.status AS status, base.timezone AS timezone, base.language AS language, base.picture AS picture, base.init AS init, base.data AS data FROM {users} base WHERE (base.uid IN ()) ; Array ( ) in DrupalDefaultEntityController->load() (line 196 of D:\xampp\htdocs\d7school1\includes\entity.inc).
Went back to site and overwrote dev module with RC1 module
still same issue
FYI
Comment | File | Size | Author |
---|---|---|---|
#1 | 1087744-masquerade-d6-updates.patch | 3.87 KB | andypost |
Comments
Comment #1
andypostIssue caused by old-style D6 updates in D7 branch. Fixed queries to DBTNG
Suppose we should latter remove D6 updates from D7 .install file
Commited patch http://drupalcode.org/project/masquerade.git/commit/e0546e1
Comment #2
Tebb CreditAttribution: Tebb commentedWorks for me.
Great stuff!