Array
(
    [code] => 1064
    [message] => 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 'IS NULL
AND `tb1`.`rgt` > IS NULL
ORDER BY `tb1`.`lft` asc' at line 6
)