Warning: Attempt to read property "type" on bool in /home1/themall1/public_html/views/module.package.php on line 27
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/themall1/public_html/includes/database.php:42
Stack trace:
#0 /home1/themall1/public_html/includes/database.php(42): mysqli_query(Object(mysqli), 'SELECT * FROM t...')
#1 /home1/themall1/public_html/includes/modals/class.package.php(188): mysqliDatabase->query('SELECT * FROM t...')
#2 /home1/themall1/public_html/includes/modals/class.package.php(165): Package::find_by_sql('SELECT * FROM t...')
#3 /home1/themall1/public_html/views/module.package.php(27): Package::find_by_id(NULL)
#4 /home1/themall1/public_html/views/modules.php(42): require_once('/home1/themall1...')
#5 /home1/themall1/public_html/subpkgdetail.php(16): require_once('/home1/themall1...')
#6 {main}
thrown in /home1/themall1/public_html/includes/database.php on line 42