Fatal error: Uncaught exception Exception with message Query error:
Hi,
I am new in contao, please help me to resolve this below issue.
Fatal error: Uncaught exception Exception with message Query error: 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 'LIMIT 1' at line 1 (SELECT tl_pct_customelement_attribute.* FROM tl_pct_customelement_attribute WHERE tl_pct_customelement_attribute.id= LIMIT 1) thrown in system/modules/core/library/Contao/Database/Statement.php on line 283
#0 system/modules/core/library/Contao/Database/Statement.php(254): Contao\Database\Statement->query()
#1 system/modules/pct_customelements/PCT/CustomElements/Core/AttributeFactory.php(54): Contao\Database\Statement->execute()
#2 system/modules/pct_customelements/PCT/CustomElements/Core/AttributeFactory.php(97): PCT\CustomElements\Core\AttributeFactory::find(Arr ay)
#3 system/modules/pct_customelements/PCT/CustomElements/Core/Vault.php(134): PCT\CustomElements\Core\AttributeFactory::findById (NULL)
#4 system/modules/pct_customelements/PCT/CustomElements/Core/Attribute.php(241): PCT\CustomElements\Core\Vault::getAttributeValueBy Uuid('h1lo1ttnlv6mmvx...', '39', 'tl_module', NULL)
#5 system/modules/pct_customelements/PCT/CustomElements/Core/Attribute.php(710): PCT\CustomElements\Core\Attribute->getValue('h1lo1ttnlv6mmvx...', '39', 'tl_module')
#6 system/modules/pct_customelements/PCT/CustomElements/Core/CustomElement.php(340): PCT\CustomElements\Core\Attribute->render()
#7 system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(92): PCT\CustomElements\Core\CustomElement->render()
#8 system/modules/core/modules/Module.php(148): PCT\CustomElements\Frontend\ModuleCustomElement->compile()
#9 system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(73): Contao\Module->generate()
#10 system/modules/core/library/Contao/Controller.php(295): PCT\CustomElements\Frontend\ModuleCustomElement->generate()
#11 system/modules/core/pages/PageRegular.php(142): Contao\Controller->getFrontendModule(Object(Contao\ModuleModel), 'top')
#12 index.php(256): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#13 index.php(440): Index->run()
#14 {main}
Regards,
VISPL
Fatal error: Uncaught exception Exception with message Query error
Hi,
Url : http://ecommercepartners.nl/
The home page showing this error. please check and give your solution.
Contao version : 3.2.10 and how to check the "pct_customelements" extension version and how to check the compatible for this contao version.
I am new in contao, please help me to resolve this below issue.
Fatal error: Uncaught exception Exception with message Query error: 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 'LIMIT 1' at line 1 (SELECT tl_pct_customelement_attribute.* FROM tl_pct_customelement_attribute WHERE tl_pct_customelement_attribute.id= LIMIT 1) thrown in system/modules/core/library/Contao/Database/Statement.php on line 283
#0 system/modules/core/library/Contao/Database/Statement.php(254): Contao\Database\Statement->query()
#1 system/modules/pct_customelements/PCT/CustomElements/Core/AttributeFactory.php(54): Contao\Database\Statement->execute()
#2 system/modules/pct_customelements/PCT/CustomElements/Core/AttributeFactory.php(97): PCT\CustomElements\Core\AttributeFactory::find(Arr ay)
#3 system/modules/pct_customelements/PCT/CustomElements/Core/Vault.php(134): PCT\CustomElements\Core\AttributeFactory::findById (NULL)
#4 system/modules/pct_customelements/PCT/CustomElements/Core/Attribute.php(241): PCT\CustomElements\Core\Vault::getAttributeValueBy Uuid('h1lo1ttnlv6mmvx...', '39', 'tl_module', NULL)
#5 system/modules/pct_customelements/PCT/CustomElements/Core/Attribute.php(710): PCT\CustomElements\Core\Attribute->getValue('h1lo1ttnlv6mmvx...', '39', 'tl_module')
#6 system/modules/pct_customelements/PCT/CustomElements/Core/CustomElement.php(340): PCT\CustomElements\Core\Attribute->render()
#7 system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(92): PCT\CustomElements\Core\CustomElement->render()
#8 system/modules/core/modules/Module.php(148): PCT\CustomElements\Frontend\ModuleCustomElement->compile()
#9 system/modules/pct_customelements/PCT/CustomElements/Frontend/ModuleCustomElement.php(73): Contao\Module->generate()
#10 system/modules/core/library/Contao/Controller.php(295): PCT\CustomElements\Frontend\ModuleCustomElement->generate()
#11 system/modules/core/pages/PageRegular.php(142): Contao\Controller->getFrontendModule(Object(Contao\ModuleModel), 'top')
#12 index.php(256): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#13 index.php(440): Index->run()
#14 {main}
Regards,
VISPL