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 '' at line 1 in /var/www/html/popup_widget/Helpers/Helper.php:1931 Stack trace: #0 /var/www/html/popup_widget/Helpers/Helper.php(1931): mysqli_query() #1 /var/www/html/popup_widget/product_details.php(99): getProductName() #2 {main} thrown in /var/www/html/popup_widget/Helpers/Helper.php on line 1931