After updating to 4.7 (and getting updated modules) I get an interesting variety of errors constantly.

array_keys(): The first argument should be an array in /usr/shared/web/caseyj/edu/modules/user.module on line 348.


implode(): Bad arguments. in /usr/shared/web/caseyj/edu/modules/user.module on line 348.


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 query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /usr/shared/web/caseyj/edu/includes/database.mysql.inc on line 120.



I also think that because of the errors the site is taking a performance hit, but I see no other adverse effects (everything to my knowledge works still)

Comments

Chaos_Zeus’s picture

No upgrade, this is new install of 4.7.

warning: array_keys(): The first argument should be an array in /home/chaoselb/public_html/modules/user.module on line 348.
warning: implode(): Bad arguments. in /home/chaoselb/public_html/modules/user.module on line 348.
user warning: 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 query: SELECT DISTINCT(p.perm) FROM chaos_role r INNER JOIN chaos_permission p ON p.rid = r.rid WHERE r.rid IN () in /home/chaoselb/public_html/includes/database.mysql.inc on line 120.

This is on submission of a book child page by a normal user without administration rights.

Any thoughts?

silurius’s picture

Same problem here. I also installed and tested the book page (under an admin account though). But deleting the content and removing the module did not make the problem go away.

Edit: Fixed it. It was PersonalMSG.