Tygh\Exceptions\AException

Message

Unknown column 'products.is_upgrade_addon' in 'where clause' (1054)

SELECT MIN(prices.price) as ab__min_price, MAX(prices.price) as ab__max_price FROM cscart_products as products INNER JOIN cscart_product_features_values as c_var ON c_var.product_id = products.product_id AND c_var.lang_code = 'ru' AND c_var.variant_id = 4818 LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'ru' LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id AND shared_descr.company_id = 1 AND shared_descr.lang_code = 'ru' LEFT JOIN cscart_product_sales ON cscart_product_sales.product_id = products.product_id AND cscart_product_sales.category_id = products_categories.category_id LEFT JOIN cscart_maurisweb_product_as_service as cscart_maurisweb_product_as_service ON cscart_maurisweb_product_as_service.category_id = products_categories.category_id LEFT JOIN cscart_maurisweb_product_as_service_descriptions as cscart_maurisweb_product_as_service_descriptions ON cscart_maurisweb_product_as_service.id_settings = cscart_maurisweb_product_as_service_descriptions.id_settings AND cscart_maurisweb_product_as_service_descriptions.lang_code = 'ru' WHERE prices.price > 0 AND cscart_categories.company_id = 1 AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND products.status IN ('A') AND prices.usergroup_id IN (0, 0, 1) AND products.parent_product_id = 0 AND products.is_upgrade_addon <> 'Y' AND products.is_upgrade_count_domain <> 'Y'

Error at

app/Tygh/Database/Connection.php, line: 1127

Backtrace

File:app/Tygh/Database/Connection.php
Line:491
Function:throwError
File:app/Tygh/Database/Connection.php
Line:271
Function:query
File:app/functions/fn.database.php
Line:56
Function:getRow
File:app/addons/ab__extended_metadata/func.php
Line:132
Function:db_get_row
File:app/functions/fn.control.php
Line:120
Function:fn_ab__extended_metadata_get_products
File:app/functions/fn.catalog.php
Line:7463
Function:fn_set_hook
File:app/controllers/frontend/product_features.php
Line:188
Function:fn_get_products
File:app/functions/fn.control.php
Line:679
Function:include
File:app/functions/fn.control.php
Line:430
Function:fn_run_controller
File:index.php
Line:25
Function:fn_dispatch