Warning: Attempt to read property "type" on false in /home1/thevanna/public_html/views/module.package.php on line 698
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 'LIMIT 1' at line 1 in /home1/thevanna/public_html/includes/database.php:47
Stack trace:
#0 /home1/thevanna/public_html/includes/database.php(47): mysqli_query(Object(mysqli), 'SELECT * FROM t...')
#1 /home1/thevanna/public_html/includes/modals/class.package.php(179): mysqliDatabase->query('SELECT * FROM t...')
#2 /home1/thevanna/public_html/includes/modals/class.package.php(156): Package::find_by_sql('SELECT * FROM t...')
#3 /home1/thevanna/public_html/views/module.package.php(698): Package::find_by_id(NULL)
#4 /home1/thevanna/public_html/views/modules.php(30): require_once('/home1/thevanna...')
#5 /home1/thevanna/public_html/subpkgdetail.php(15): require_once('/home1/thevanna...')
#6 /home1/thevanna/public_html/global.php(17): require_once('/home1/thevanna...')
#7 {main}
thrown in /home1/thevanna/public_html/includes/database.php on line 47