[Skip to main content](#vessel-content)

#   SQL error on Subscription display

##

- **[laurent](/forum/user/268-laurent "View laurent's Profile")**
- [![laurent's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/268-laurent "View laurent's Profile") Topic Author
- [ Offline](/forum/user/268-laurent)

Less More

- Posts: 264
- Thank you received: 9
-
-
-

8 years 3 months ago [\#295990](#295990) by [laurent](/forum/user/268-laurent "View laurent's Profile")  *[SQL error on Subscription display](/forum/58-hikasubscription/895373-sql-error-on-subscription-display#295990 "-- HikaShop version -- : 3.5.1 -- HikaSerial version -- : 2.2.0 -- Joomla version -- : 3.8.8  Hi,  Going to the menu &quot;personal dashboard&quot; on the front, clicking on &quot;my subscriptions&quot; give an error :  Erreur: 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 ') AND pack.pack&#95;published = 1' at line 1  No error in the backend which shows the 3 test subscription in the HikaSerial component.  All the others link of the user dashboard on the front work as expected (My Serials, My cart, My orders, etc...)  I did not succeed in displaying the SQL in error (error log, error reporting, browser console....)  Regards,  Laurent")* was created by *[laurent](/forum/user/268-laurent "View laurent's Profile")*

-- HikaShop version -- : 3.5.1
-- HikaSerial version -- : 2.2.0
-- Joomla version -- : 3.8.8

Hi,

Going to the menu "personal dashboard" on the front, clicking on "my subscriptions" give an error :

Erreur: 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 ') AND pack.pack_published = 1' at line 1

No error in the backend which shows the 3 test subscription in the HikaSerial component.

All the others link of the user dashboard on the front work as expected (My Serials, My cart, My orders, etc...)

I did not succeed in displaying the SQL in error (error log, error reporting, browser console....)

Regards,

Laurent

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODk1MzczLXNxbC1lcnJvci1vbi1zdWJzY3JpcHRpb24tZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[laurent](/forum/user/268-laurent "View laurent's Profile")**
- [![laurent's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/268-laurent "View laurent's Profile") Topic Author
- [ Offline](/forum/user/268-laurent)

Less More

- Posts: 264
- Thank you received: 9
-
-
-

8 years 3 months ago [\#296013](#296013) by [laurent](/forum/user/268-laurent "View laurent's Profile")  Replied by *[laurent](/forum/user/268-laurent "View laurent's Profile")* on topic *[SQL error on Subscription display](/forum/58-hikasubscription/895373-sql-error-on-subscription-display#296013 "-- HikaShop version -- : 3.5.1 -- HikaSerial version -- : 2.2.0 -- Joomla version -- : 3.8.8  Hi,  Going to the menu &quot;personal dashboard&quot; on the front, clicking on &quot;my subscriptions&quot; give an error :  Erreur: 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 ') AND pack.pack&#95;published = 1' at line 1  No error in the backend which shows the 3 test subscription in the HikaSerial component.  All the others link of the user dashboard on the front work as expected (My Serials, My cart, My orders, etc...)  I did not succeed in displaying the SQL in error (error log, error reporting, browser console....)  Regards,  Laurent")*

Well, today, everything work fine ?!?.....
Closing this one.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODk1MzczLXNxbC1lcnJvci1vbi1zdWJzY3JpcHRpb24tZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[laurent](/forum/user/268-laurent "View laurent's Profile")**
- [![laurent's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/268-laurent "View laurent's Profile") Topic Author
- [ Offline](/forum/user/268-laurent)

Less More

- Posts: 264
- Thank you received: 9
-
-
-

8 years 3 months ago [\#296016](#296016) by [laurent](/forum/user/268-laurent "View laurent's Profile")  Replied by *[laurent](/forum/user/268-laurent "View laurent's Profile")* on topic *[SQL error on Subscription display](/forum/58-hikasubscription/895373-sql-error-on-subscription-display#296016 "-- HikaShop version -- : 3.5.1 -- HikaSerial version -- : 2.2.0 -- Joomla version -- : 3.8.8  Hi,  Going to the menu &quot;personal dashboard&quot; on the front, clicking on &quot;my subscriptions&quot; give an error :  Erreur: 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 ') AND pack.pack&#95;published = 1' at line 1  No error in the backend which shows the 3 test subscription in the HikaSerial component.  All the others link of the user dashboard on the front work as expected (My Serials, My cart, My orders, etc...)  I did not succeed in displaying the SQL in error (error log, error reporting, browser console....)  Regards,  Laurent")*

Finally, the error raised again....
It seems to occur only if there is at least one active subscription.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODk1MzczLXNxbC1lcnJvci1vbi1zdWJzY3JpcHRpb24tZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 3 months ago [\#296014](#296014) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[SQL error on Subscription display](/forum/58-hikasubscription/895373-sql-error-on-subscription-display#296014 "-- HikaShop version -- : 3.5.1 -- HikaSerial version -- : 2.2.0 -- Joomla version -- : 3.8.8  Hi,  Going to the menu &quot;personal dashboard&quot; on the front, clicking on &quot;my subscriptions&quot; give an error :  Erreur: 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 ') AND pack.pack&#95;published = 1' at line 1  No error in the backend which shows the 3 test subscription in the HikaSerial component.  All the others link of the user dashboard on the front work as expected (My Serials, My cart, My orders, etc...)  I did not succeed in displaying the SQL in error (error log, error reporting, browser console....)  Regards,  Laurent")*

Hello,

If the issue come back, please activate the Joomla debug mode to get the call stack and know the source of the issue (the file and the line).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODk1MzczLXNxbC1lcnJvci1vbi1zdWJzY3JpcHRpb24tZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[laurent](/forum/user/268-laurent "View laurent's Profile")**
- [![laurent's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/268-laurent "View laurent's Profile") Topic Author
- [ Offline](/forum/user/268-laurent)

Less More

- Posts: 264
- Thank you received: 9
-
-
-

8 years 3 months ago [\#296371](#296371) by [laurent](/forum/user/268-laurent "View laurent's Profile")  Replied by *[laurent](/forum/user/268-laurent "View laurent's Profile")* on topic *[SQL error on Subscription display](/forum/58-hikasubscription/895373-sql-error-on-subscription-display#296371 "-- HikaShop version -- : 3.5.1 -- HikaSerial version -- : 2.2.0 -- Joomla version -- : 3.8.8  Hi,  Going to the menu &quot;personal dashboard&quot; on the front, clicking on &quot;my subscriptions&quot; give an error :  Erreur: 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 ') AND pack.pack&#95;published = 1' at line 1  No error in the backend which shows the 3 test subscription in the HikaSerial component.  All the others link of the user dashboard on the front work as expected (My Serials, My cart, My orders, etc...)  I did not succeed in displaying the SQL in error (error log, error reporting, browser console....)  Regards,  Laurent")*

The error is showing in an error page on which the debug does not show. Nothing else is displayed.
It shows without errors if the subscriptions are closed of expired.....

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODk1MzczLXNxbC1lcnJvci1vbi1zdWJzY3JpcHRpb24tZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

8 years 3 months ago [\#296398](#296398) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[SQL error on Subscription display](/forum/58-hikasubscription/895373-sql-error-on-subscription-display#296398 "-- HikaShop version -- : 3.5.1 -- HikaSerial version -- : 2.2.0 -- Joomla version -- : 3.8.8  Hi,  Going to the menu &quot;personal dashboard&quot; on the front, clicking on &quot;my subscriptions&quot; give an error :  Erreur: 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 ') AND pack.pack&#95;published = 1' at line 1  No error in the backend which shows the 3 test subscription in the HikaSerial component.  All the others link of the user dashboard on the front work as expected (My Serials, My cart, My orders, etc...)  I did not succeed in displaying the SQL in error (error log, error reporting, browser console....)  Regards,  Laurent")*

Hello,

Unfortunately, we have lot of queries with "pack.pack_published = 1".
But I think that I fond the one responsible of your issue and I made a patch for it.
You can re-download HikaSerial to get the fix.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODk1MzczLXNxbC1lcnJvci1vbi1zdWJzY3JpcHRpb24tZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[laurent](/forum/user/268-laurent "View laurent's Profile")**
- [![laurent's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/268-laurent "View laurent's Profile") Topic Author
- [ Offline](/forum/user/268-laurent)

Less More

- Posts: 264
- Thank you received: 9
-
-
-

8 years 3 months ago [\#296446](#296446) by [laurent](/forum/user/268-laurent "View laurent's Profile")  Replied by *[laurent](/forum/user/268-laurent "View laurent's Profile")* on topic *[SQL error on Subscription display](/forum/58-hikasubscription/895373-sql-error-on-subscription-display#296446 "-- HikaShop version -- : 3.5.1 -- HikaSerial version -- : 2.2.0 -- Joomla version -- : 3.8.8  Hi,  Going to the menu &quot;personal dashboard&quot; on the front, clicking on &quot;my subscriptions&quot; give an error :  Erreur: 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 ') AND pack.pack&#95;published = 1' at line 1  No error in the backend which shows the 3 test subscription in the HikaSerial component.  All the others link of the user dashboard on the front work as expected (My Serials, My cart, My orders, etc...)  I did not succeed in displaying the SQL in error (error log, error reporting, browser console....)  Regards,  Laurent")*

So far, no more error with the new code.
Thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzU4LWhpa2FzdWJzY3JpcHRpb24vODk1MzczLXNxbC1lcnJvci1vbi1zdWJzY3JpcHRpb24tZGlzcGxheT90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.064 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
