Error Number: 1064
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 '' at line 1
SELECT count(*) as is_subscribed FROM orders WHERE user_id='' AND product_type='series' AND order_status='complete' AND product_id=
Filename: /data/home/igurujiin/public_html/models/base_model.php
Line Number: 16