Warning: Undefined array key "user_id" in /www/wwwroot/auth.lhwks.cn/modules/user/apps.php on line 2

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 'AND status = 1) as license_count FROM apps a JOIN licenses l ON a.id = l' at line 2 in /www/wwwroot/auth.lhwks.cn/includes/Database.php:29 Stack trace: #0 /www/wwwroot/auth.lhwks.cn/includes/Database.php(29): mysqli->query() #1 /www/wwwroot/auth.lhwks.cn/includes/Database.php(53): Database->query() #2 /www/wwwroot/auth.lhwks.cn/modules/user/apps.php(5): Database->fetchAll() #3 /www/wwwroot/auth.lhwks.cn/admin.php(238): include('...') #4 {main} thrown in /www/wwwroot/auth.lhwks.cn/includes/Database.php on line 29