A PHP Error was encountered

Severity: Notice

Message: Undefined offset: 0

Filename: controllers/Events.php

Line Number: 48

Backtrace:

File: /home/cedphse7nrtg/public_html/rocad.artdeputy.net/application/controllers/Events.php
Line: 48
Function: _error_handler

File: /home/cedphse7nrtg/public_html/rocad.artdeputy.net/index.php
Line: 317
Function: require_once

Database Error

A Database Error Occurred

Error Number: 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 `u`.`role` = 3 AND `u`.`is_deleted` = 0 AND `ul`.`language_id` = '1' GR...' at line 6

SELECT `u`.*, `ul`.`short_name` as `short_name`, `ul`.`gallery_name` as `ul_gallery_name`, `ul`.`firstname` as `ul_firstname`, `ul`.`lastname` as `ul_lastname` FROM `users` as `u` LEFT JOIN `user_language_detail` as `ul` ON `ul`.`user_id` = `u`.`id` LEFT JOIN `user_category_relation` as `uc` ON `uc`.`user_id` = `u`.`id` LEFT JOIN `user_location` as `ulo` ON `ulo`.`user_id` = `u`.`id` WHERE `u`.`id` IN() AND `u`.`role` = 3 AND `u`.`is_deleted` = 0 AND `ul`.`language_id` = '1' GROUP BY `u`.`id` ORDER BY `ul`.`short_name` ASC

Filename: models/User_model.php

Line Number: 368