[Bug Report] 1064 SQL Syntax Error in hsuikit-0-9-7-beta (Joomla 6.1 / PHP 8.5)
- Alouette00
- Offline Topic Author
- User
-
- Posts: 7
- Thank you received: 0
[Bug Report] 1064 SQL Syntax Error in hsuikit-0-9-7-beta (Joomla 6.1 / PHP 8.5) was created by Alouette00
Posted 1 week 6 days ago #1161
Description: After updating to hsuikit-0-9-7-beta.zip, I encountered a "1064 You have an error in your SQL syntax" error on HikaShop product listing pages. The error disappears when the "System - HS UIKit Override" plugin is disabled.
The issue seems to be related to the plugin passing an empty or invalid query to the database driver, possibly due to compatibility issues with the current environment's database handling.
Environment:
• Joomla version: 6.1.0 Stable
• PHP version: 8.5.5
• Database: MariaDB 10.5.22
• HikaShop version: 6.4.1
• YOOtheme Pro version: 5.0.32
• HS UIKit version: 0.9.7 Beta
Error Details:
• Error Message: 1064 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
• Location: JROOT/plugins/system/hsuikit_override/dynamic/Source/TemplateListener6.php:159
Call Stack snippet:
1 () JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:138
2 mysqli->prepare() JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:138
...
5 Joomla\Database\DatabaseDriver->setQuery() JROOT/plugins/system/hsuikit_override/dynamic/Source/TemplateListener6.php:159
6 JPHSDynmic\Source\TemplateListener6->handle() JROOT/templates/yootheme/packages/container/src/Container.php:229
Steps to reproduce:
1. Use the environment mentioned above.
2. Install/Enable hsuikit-0-9-7-beta.
3. Navigate to a HikaShop product listing page using YOOtheme dynamic content.
Please investigate why setQuery() is receiving an invalid SQL string at line 159 of TemplateListener6.php in this specific setup.
The issue seems to be related to the plugin passing an empty or invalid query to the database driver, possibly due to compatibility issues with the current environment's database handling.
Environment:
• Joomla version: 6.1.0 Stable
• PHP version: 8.5.5
• Database: MariaDB 10.5.22
• HikaShop version: 6.4.1
• YOOtheme Pro version: 5.0.32
• HS UIKit version: 0.9.7 Beta
Error Details:
• Error Message: 1064 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
• Location: JROOT/plugins/system/hsuikit_override/dynamic/Source/TemplateListener6.php:159
Call Stack snippet:
1 () JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:138
2 mysqli->prepare() JROOT/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:138
...
5 Joomla\Database\DatabaseDriver->setQuery() JROOT/plugins/system/hsuikit_override/dynamic/Source/TemplateListener6.php:159
6 JPHSDynmic\Source\TemplateListener6->handle() JROOT/templates/yootheme/packages/container/src/Container.php:229
Steps to reproduce:
1. Use the environment mentioned above.
2. Install/Enable hsuikit-0-9-7-beta.
3. Navigate to a HikaShop product listing page using YOOtheme dynamic content.
Please investigate why setQuery() is receiving an invalid SQL string at line 159 of TemplateListener6.php in this specific setup.
by Alouette00
Please Log in or Create an account to join the conversation.
- JProStudio
-
Offline
- Admin
-
- Posts: 517
- Thank you received: 77
Replied by JProStudio on topic [Bug Report] 1064 SQL Syntax Error in hsuikit-0-9-7-beta (Joomla 6.1 / PHP 8.5)
Posted 1 week 6 days ago #1162
We fixed the sql error due to empty product_id in the product listing query and updated the package file attached, so kindly check and confirm. Thank you
This message contains confidential information
For urgent help please create a support ticket extensions.joomlapro.com/support/tickets
by JProStudio
Please Log in or Create an account to join the conversation.
Time to create page: 0.261 seconds