Tygh\Exceptions\AException

Message

Table 'sql_venomnet_md.core_ult_product_prices' doesn't exist (1146)

SELECT core_products.*, core_product_descriptions.*, MIN(IF(core_product_prices.percentage_discount = 0, core_product_prices.price, core_product_prices.price - (core_product_prices.price * core_product_prices.percentage_discount)/100)) as price, GROUP_CONCAT(IF(core_products_categories.link_type = 'M', CONCAT(core_products_categories.category_id, 'M'), core_products_categories.category_id ) ORDER BY core_categories.company_id = 1 DESC, core_products_categories.position ASC, core_products_categories.category_id ASC) as category_ids, popularity.total as popularity, IF(shared_prices.product_id IS NOT NULL,MIN(IF(shared_prices.percentage_discount = 0, shared_prices.price, shared_prices.price - (shared_prices.price * shared_prices.percentage_discount)/100)),MIN(IF(core_product_prices.percentage_discount = 0, core_product_prices.price, core_product_prices.price - (core_product_prices.price * core_product_prices.percentage_discount)/100))) as price, companies.company as company_name, core_products.is_returnable, core_products.return_period, core_product_sales.amount as sales_amount, core_seo_names.name as seo_name, core_seo_names.path as seo_path, MIN(point_prices.point_price) as point_price, core_discussion.type as discussion_type FROM core_products LEFT JOIN core_product_prices ON core_product_prices.product_id = core_products.product_id AND core_product_prices.lower_limit = 1 AND core_product_prices.usergroup_id IN (0, 0, 1) LEFT JOIN core_product_descriptions ON core_product_descriptions.product_id = core_products.product_id AND core_product_descriptions.lang_code = 'ru' LEFT JOIN core_ult_product_prices shared_prices ON shared_prices.product_id = core_products.product_id AND shared_prices.company_id = 1 AND shared_prices.lower_limit = 1 AND shared_prices.usergroup_id IN (0, 0, 1) LEFT JOIN core_companies as companies ON companies.company_id = core_products.company_id INNER JOIN core_products_categories ON core_products_categories.product_id = core_products.product_id INNER JOIN core_categories ON core_categories.category_id = core_products_categories.category_id AND core_categories.company_id = 1 AND (core_categories.usergroup_ids = '' OR FIND_IN_SET(0, core_categories.usergroup_ids) OR FIND_IN_SET(1, core_categories.usergroup_ids)) AND (core_products.usergroup_ids = '' OR FIND_IN_SET(0, core_products.usergroup_ids) OR FIND_IN_SET(1, core_products.usergroup_ids)) AND core_categories.status IN ('A', 'H') AND core_products.status IN ('A', 'H') LEFT JOIN core_product_popularity as popularity ON popularity.product_id = core_products.product_id LEFT JOIN core_product_sales ON core_product_sales.product_id = core_products.product_id AND core_product_sales.category_id = 6 LEFT JOIN core_seo_names ON core_seo_names.object_id = 967 AND core_seo_names.type = 'p' AND core_seo_names.dispatch = '' AND core_seo_names.lang_code = 'ro' AND core_seo_names.company_id = 1 LEFT JOIN core_product_point_prices as point_prices ON point_prices.product_id = core_products.product_id AND point_prices.lower_limit = 1 AND point_prices.usergroup_id IN (0, 0, 1) LEFT JOIN core_discussion ON core_discussion.object_id = core_products.product_id AND core_discussion.object_type = 'P' AND core_discussion.company_id = 1 WHERE core_products.product_id = 967 AND (companies.status = 'A' OR core_products.company_id = 0) GROUP BY core_products.product_id

Error at

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

Backtrace

File:app/Tygh/Database/Connection.php
Line:485
Function:throwError
File:app/Tygh/Database/Connection.php
Line:268
Function:query
File:app/functions/fn.database.php
Line:49
Function:getRow
File:app/functions/fn.catalog.php
Line:174
Function:db_get_row
File:app/addons/call_requests/controllers/frontend/call_requests.php
Line:37
Function:fn_get_product_data
File:app/functions/fn.control.php
Line:661
Function:include
File:app/functions/fn.control.php
Line:419
Function:fn_run_controller
File:index.php
Line:17
Function:fn_dispatch