04-27-2019, 10:55 AM
Ok. So this line
[queryString] => SELECT id, group_id FROM groups_menus WHERE menu_id = ?
Makes me think there is a one of 2 things going on. Either you've reused the $user variable in some way, your you have another db query on your page that is breaking something.
Try doing
dump($db->errorInfo());
after any queries you make on the page and even below each of the requires to see if anything is coming up.
[queryString] => SELECT id, group_id FROM groups_menus WHERE menu_id = ?
Makes me think there is a one of 2 things going on. Either you've reused the $user variable in some way, your you have another db query on your page that is breaking something.
Try doing
dump($db->errorInfo());
after any queries you make on the page and even below each of the requires to see if anything is coming up.