Error in query:
SELECT COUNT(*) AS total FROM site_product p WHERE p.lastname = 'D'Amore' AND p.firstname = 'Richard' ORDER BY CAST(priority AS SIGNED)
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 'Amore' AND p.firstname = 'Richard' ORDER BY CAST(priority AS SIGNED)' at line 1
Fatal error: Uncaught TypeError: mysqli_fetch_object(): Argument #1 ($result) must be of type mysqli_result, bool given in /home/podtemp/web/giclee.haddadsfinearts.com/public_html/_modules/adb.php:90
Stack trace:
#0 /home/podtemp/web/giclee.haddadsfinearts.com/public_html/_modules/adb.php(90): mysqli_fetch_object()
#1 /home/podtemp/web/giclee.haddadsfinearts.com/public_html/_modules/arts.php(150): adb->next()
#2 /home/podtemp/web/giclee.haddadsfinearts.com/public_html/_include/search_author.inc(19): arts->search_lastname()
#3 /home/podtemp/web/giclee.haddadsfinearts.com/public_html/_include/search.inc(32): include('...')
#4 /home/podtemp/web/giclee.haddadsfinearts.com/public_html/_modules/enj.php(141) : eval()'d code(22): include('...')
#5 /home/podtemp/web/giclee.haddadsfinearts.com/public_html/_modules/enj.php(141): eval()
#6 /home/podtemp/web/giclee.haddadsfinearts.com/public_html/_modules/enj.php(219): enj->_output()
#7 /home/podtemp/web/giclee.haddadsfinearts.com/public_html/_include/_common.php(34): enj->page_show()
#8 /home/podtemp/web/giclee.haddadsfinearts.com/public_html/search.php(15): include('...')
#9 {main}
thrown in /home/podtemp/web/giclee.haddadsfinearts.com/public_html/_modules/adb.php on line 90