Fatal error: Uncaught mysqli_sql_exception: 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 '' at line 1 in /home/sbpdpanelroot/public_html/secure_login/config/class_inc.php:491
Stack trace:
#0 /home/sbpdpanelroot/public_html/secure_login/config/class_inc.php(491): mysqli->query('SELECT parent_i...')
#1 /home/sbpdpanelroot/public_html/category.php(127): Database->cat_par_name('', 'par_name')
#2 {main}
thrown in /home/sbpdpanelroot/public_html/secure_login/config/class_inc.php on line 491