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 '),`sort` ASC' at line 1 SELECT w_pages.* FROM w_pages WHERE (`fk` IN ('') and active = 1) ORDER BY FIELD(`fk`,),`sort` ASC

1.
Db -> post ( SELECT w_pages.* FROM w_pages WHERE (`fk` IN ('') and active = 1) ORDER BY FIELD(`fk`,),`sort` ASC , )
/h/priorlogistby/htdocs/core/classes/db.class.php (Line: 106)

2.
Db -> query ( SELECT w_pages.* FROM w_pages WHERE (`fk` IN ('') and active = 1) ORDER BY FIELD(`fk`,),`sort` ASC )
/h/priorlogistby/htdocs/core/classes/orm.class.php (Line: 60)

3.
Orm -> fetchAll ( )

Notice: Undefined index: file in /h/priorlogistby/htdocs/index.php on line 34

Notice: Undefined index: line in /h/priorlogistby/htdocs/index.php on line 34
(Line: )

4.

Notice: Undefined index: class in /h/priorlogistby/htdocs/index.php on line 33

Notice: Undefined index: type in /h/priorlogistby/htdocs/index.php on line 33

Catchable fatal error: Object of class PagesModel could not be converted to string in /h/priorlogistby/htdocs/index.php on line 33