Warning: Trying to access array offset on value of type null in /home/tohawaii/public_html/vacationrentals/map.php on line 156

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 'where 1 and round(price)>0 and bedrooms>=0 AND LENGTH(href) > 0 AND (`unitu...' at line 18 in /home/tohawaii/public_html/vacationrentals/map.php:189 Stack trace: #0 /home/tohawaii/public_html/vacationrentals/map.php(189): mysqli_query(Object(mysqli), 'select * from (...') #1 /home/tohawaii/public_html/vacationrentals/template-listing.php(48): getObj('', 1, 108999258, '', '', '', NULL, 15, '21.2759167', '-157.8233677', 'uniturl') #2 /home/tohawaii/public_html/vacationrentals/listing.php(118): getRentalData(108999258, 'uniturl') #3 /home/tohawaii/public_html/vacationrentals/custom-router.php(84): require_once('/home/tohawaii/...') #4 /home/tohawaii/public_html/vacationrentals/custom-router.php(180): CustomRouter->run() #5 {main} thrown in /home/tohawaii/public_html/vacationrentals/map.php on line 189