SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND user_id =' at line 1SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'event_id' cannot be null参加済み