Unknown column 'cscart_banners.group_id' in 'SELECT' (1054)
SELECT cscart_banners.banner_id, cscart_banners.type, cscart_banners.target, cscart_banners.status, cscart_banners.timestamp, cscart_banner_descriptions.banner, cscart_banner_descriptions.description, cscart_banner_descriptions.url, cscart_banner_images.banner_image_id, cscart_banners.group_id FROM cscart_banners LEFT JOIN cscart_banner_descriptions ON cscart_banner_descriptions.banner_id = cscart_banners.banner_id AND cscart_banner_descriptions.lang_code = 'en' LEFT JOIN cscart_banner_images ON cscart_banner_images.banner_id = cscart_banners.banner_id AND cscart_banner_images.lang_code = 'en'WHERE 1 AND (cscart_banners.type != 'G' OR cscart_banner_images.banner_image_id IS NOT NULL) AND cscart_banners.banner_id IN (105, 106, 107, 108) AND cscart_banners.status = 'A' AND IF (cscart_banners.type not like 'abt__ut2', 'available', IF ( cscart_banners.type like 'abt__ut2' AND ( cscart_banners.abt__ut2_use_avail_period = 'N' OR ( cscart_banners.abt__ut2_use_avail_period = 'Y' AND (cscart_banners.abt__ut2_avail_from = 0 OR cscart_banners.abt__ut2_avail_from <= 1746048357) AND (cscart_banners.abt__ut2_avail_till = 0 OR cscart_banners.abt__ut2_avail_till >= 1746048357) ) ), 'available', 'not available') ) = 'available' AND (cscart_banners.abt__ut2_usergroup_ids = '' OR FIND_IN_SET(0, cscart_banners.abt__ut2_usergroup_ids) OR FIND_IN_SET(1, cscart_banners.abt__ut2_usergroup_ids)) ORDER BY cscart_banner_descriptions.banner asc
app/Tygh/Database/Connection.php, line: 1713
File: | app/Tygh/Database/Connection.php |
Line: | 1490 |
Function: | throwError |
File: | app/Tygh/Database/Connection.php |
Line: | 700 |
Function: | execQuery |
File: | app/Tygh/Database/Connection.php |
Line: | 371 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 48 |
Function: | getHash |
File: | app/addons/banners/func.php |
Line: | 121 |
Function: | db_get_hash_array |
File: | app/Tygh/BlockManager/Block.php |
Line: | 974 |
Function: | fn_get_banners |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 810 |
Function: | getItems |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 666 |
Function: | getValue |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 493 |
Function: | renderBlockContent |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 415 |
Function: | renderBlock |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 373 |
Function: | renderBlocks |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 230 |
Function: | renderGrid |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 200 |
Function: | renderGrids |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 164 |
Function: | _renderContainer |
File: | app/functions/smarty_plugins/function.render_location.php |
Line: | 52 |
Function: | render |
File: | var/cache/templates/abt__unitheme2/90304a7de03941e2b8592f290316322bdddd9914_2.tygh.index.tpl.php |
Line: | 172 |
Function: | smarty_function_render_location |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php |
Line: | 123 |
Function: | content_67c9417c7d1950_83517971 |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php |
Line: | 114 |
Function: | getRenderedTemplateCode |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php |
Line: | 217 |
Function: | render |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 238 |
Function: | render |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 116 |
Function: | _execute |
File: | app/Tygh/SmartyEngine/Core.php |
Line: | 81 |
Function: | fetch |
File: | app/functions/fn.control.php |
Line: | 637 |
Function: | fetch |
File: | index.php |
Line: | 19 |
Function: | fn_dispatch |