Fatal error: Uncaught mysqli_sql_exception: 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 'ORDER BY orden' at line 1 in /var/www/html/class/dal/dal-categorias.php:300
Stack trace:
#0 /var/www/html/class/dal/dal-categorias.php(300): mysqli_query()
#1 /var/www/html/categories.php(79): DAL_Categorias->GetByIdPadre()
#2 {main}
thrown in /var/www/html/class/dal/dal-categorias.php on line 300