Notice: Undefined variable: lid in /var/www/html/page/demo/index.php on line 195
Fatal error: Uncaught 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 'AND subscription.product_id=1' at line 9 query: SELECT
subscription.loc_id
, subscription.product_id
, subscription_transaction.payment_status as st
, subscription.order_id
FROM
cuepra_rdbms.subscription
INNER JOIN cuepra_rdbms.subscription_transaction
ON (subscription.order_id = subscription_transaction.order_id) WHERE subscription.loc_id= AND subscription.product_id=1 in /var/www/html/page/demo/db/MysqliDb.php:2057
Stack trace:
#0 /var/www/html/page/demo/db/MysqliDb.php(613): MysqliDb->_prepareQuery()
#1 /var/www/html/page/demo/db/MysqliDb.php(648): MysqliDb->rawQuery('SELECT\n subs...', NULL)
#2 /var/www/html/page/demo/package_details.php(84): MysqliDb->rawQueryOne('SELECT\n subs...')
#3 /var/www/html/page/demo/index.php(195): getProductStatus(NULL, Object(MysqliDb))
#4 {main}
thrown in /var/www/html/page/demo/db/MysqliDb.php on line 2057