Time : 15:55:33 SQLSTATE[42S22]: Column not found: 1054 Unknown column 'parenti_id' in 'order clause' Raw SQL : SELECT * FROM categorias t WHERE 1 = 1 ORDER BY FIELD(parenti_id, '1', '0') DESC, id DESC LIMIT 0, 10 Time : 15:45:40 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 'LIMIT 0, 10' at line 1 Raw SQL : SELECT * FROM categorias t WHERE 1 = 1 ORDER BY (CASE WHEN parent_id=0 THEN id ELSE parent_id end), LIMIT 0, 10 Time : 15:45:30 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 'LIMIT 0, 10' at line 1 Raw SQL : SELECT * FROM categorias t WHERE 1 = 1 ORDER BY (CASE WHEN parent_id=0 THEN id ELSE CASE WHEN parent_id=1 THEN id ELSE parent_id end end), LIMIT 0, 10 Time : 15:45:15 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 'LIMIT 0, 10' at line 1 Raw SQL : SELECT * FROM categorias t WHERE 1 = 1 ORDER BY (CASE WHEN parent_id=0 THEN id ELSE (CASE WHEN parent_id=1 THEN id ELSE parent_id end) end), LIMIT 0, 10 Time : 15:44:29 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 'endCASE WHEN parent_id=1 THEN id ELSE parent_id end LIMIT 0, 10' at line 1 Raw SQL : SELECT * FROM categorias t WHERE 1 = 1 ORDER BY CASE WHEN parent_id=0 THEN id ELSE parent_id endCASE WHEN parent_id=1 THEN id ELSE parent_id end LIMIT 0, 10 Time : 15:43:52 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 'LIMIT 0, 10' at line 1 Raw SQL : SELECT * FROM categorias t WHERE 1 = 1 ORDER BY LIMIT 0, 10 Time : 15:43:39 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 'LIMIT 0, 10' at line 1 Raw SQL : SELECT * FROM categorias t WHERE 1 = 1 ORDER BY LIMIT 0, 10 Time : 15:18:53 SQLSTATE[42S22]: Column not found: 1054 Unknown column 'level' in 'field list' Raw SQL : SELECT *, CONCAT('/',level) AS gen_order FROM categorias t WHERE 1 = 1 ORDER BY gen_order LIMIT 0, 10 Time : 14:53:31 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 'FROM t' at line 1 Raw SQL : SELECT FROM t Time : 14:53:31 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 'FROM t' at line 1 Raw SQL : SELECT FROM t Time : 14:53:31 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 'FROM t' at line 1 Raw SQL : SELECT FROM t Time : 14:53:31 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 'FROM t' at line 1 Raw SQL : SELECT FROM t Time : 14:53:30 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 'FROM t' at line 1 Raw SQL : SELECT FROM t Time : 14:53:30 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 'FROM t' at line 1 Raw SQL : SELECT FROM t Time : 14:53:29 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 'FROM t' at line 1 Raw SQL : SELECT FROM t Time : 14:53:26 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 'FROM categorias t' at line 1 Raw SQL : SELECT FROM categorias t Time : 14:52:57 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:52:57 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:52:57 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:52:57 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:52:56 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:52:56 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:52:12 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 'FROM t WHERE 1 = 1 ORDER BY level LIMIT 0, 10' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 ORDER BY level LIMIT 0, 10 Time : 14:52:12 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 'FROM t WHERE 1 = 1 ORDER BY level LIMIT 0, 10' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 ORDER BY level LIMIT 0, 10 Time : 14:52:12 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 'FROM t WHERE 1 = 1 ORDER BY level LIMIT 0, 10' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 ORDER BY level LIMIT 0, 10 Time : 14:52:11 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 'FROM t WHERE 1 = 1 ORDER BY level LIMIT 0, 10' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 ORDER BY level LIMIT 0, 10 Time : 14:51:51 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:51:51 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:51:51 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:51:51 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:51:50 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 'FROM t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM t WHERE 1 = 1 Time : 14:51:22 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 'FROM categorias t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM categorias t WHERE 1 = 1 Time : 14:50:42 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 'FROM categorias t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM categorias t WHERE 1 = 1 Time : 14:49:50 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 'FROM categorias t WHERE 1 = 1' at line 1 Raw SQL : SELECT FROM categorias t WHERE 1 = 1 Time : 14:38:31 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 'LIMIT 10, 10' at line 1 Raw SQL : SELECT * FROM categorias t WHERE 1 = 1 ORDER BY LIMIT 10, 10 Time : 14:37:44 SQLSTATE[42S22]: Column not found: 1054 Unknown column 'order_num' in 'order clause' Raw SQL : SELECT * FROM categorias t WHERE 1 = 1 ORDER BY CASE WHEN parent_id IS NOT NULL THEN (SELECT id FROM categorias WHERE id = t.parent_id LIMIT 1) ELSE id END, CASE WHEN parent_id IS NULL THEN -1 ELSE order_num END LIMIT 0, 10 Time : 14:31:13 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 'ORDER BY IF([parent_id]=0, id,parent_id), IF(parent_id=0,-1,id) LIMIT 0, 10' at line 1 Raw SQL : SELECT *, if(parent_id = 0, id, parent_id) as main_order FROM categorias t WHERE 1 = 1 ORDER BY IF(parent_id=0,id,parent_id), IF(parent_id=0,-1,id), categorias.nome ORDER BY IF([parent_id]=0, id,parent_id), IF(parent_id=0,-1,id) LIMIT 0, 10 Time : 14:30:58 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 'ORDER BY IF([parent_id]=0, id,parent_id), IF(parent_id=0,-1,ordering) LIMIT 0...' at line 1 Raw SQL : SELECT *, if(parent_id = 0, id, parent_id) as main_order FROM categorias t WHERE 1 = 1 ORDER BY IF(parent_id=0,id,parent_id), IF(parent_id=0,-1,ordering), categorias.nome ORDER BY IF([parent_id]=0, id,parent_id), IF(parent_id=0,-1,ordering) LIMIT 0, 10