basic\database\adapters\postgresql\PostgreSQLException 
Message: PostgreSQL error: ERROR: operator does not exist: character varying = integer LINE 3: ... WHERE (event_tags.tag_id = 25 OR events.topic_id = 25) AND ... ^ HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. Query: SELECT events.* FROM events JOIN event_tags ON (events.id = event_tags.event_id) WHERE (event_tags.tag_id = 25 OR events.topic_id = 25) AND date_event_end > now() AND private = 0 AND cancel = 0 ORDER BY id DESC OFFSET 0 LIMIT 16 File: /var/www/tickets.evedo.co/html/lib/basic/database/adapters/postgresql/PostgreSQL.php Line: 78 #0 /var/www/tickets.evedo.co/html/lib/basic/database/adapters/postgresql/PostgreSQL.php(105): basic\database\adapters\postgresql\PostgreSQL->_getError() #1 /var/www/tickets.evedo.co/html/lib/basic/database/adapters/postgresql/PostgreSQL.php(519): basic\database\adapters\postgresql\PostgreSQL->query('SELECT events.*...') #2 /var/www/tickets.evedo.co/html/app/model/events/EventRepository.php(171): basic\database\adapters\postgresql\PostgreSQL->selectBy('SELECT events.*...', 'id') #3 /var/www/tickets.evedo.co/html/app/controllers/web/lists/EventsListCommand.php(62): app\model\events\EventRepository->getByTagIdOrderByCityLimit('25', 0, 0, 16, false) #4 /var/www/tickets.evedo.co/html/lib/basic/application/Application.php(311): app\controllers\web\lists\EventsListCommand->execute() #5 /var/www/tickets.evedo.co/html/lib/basic/application/Application.php(288): basic\application\Application->_start() #6 /var/www/tickets.evedo.co/html/public/index.php(24): basic\application\Application->boot() #7 {main}