Queries total time: 0.23354 s.
Query Time Actions
1
SELECT data FROM agm_storage_data WHERE data_key = 'store_mode'

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_init_redirect_to_regional_storefront() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • Tygh\Storefront\Repository::findByUrl() /var/www/agmarq.com/app/functions/fn.init.php:1452
  • Tygh\Storefront\Repository::find() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:126
  • fn_set_hook() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:313
  • fn_mve_storefront_repository_find_pre() /var/www/agmarq.com/app/functions/fn.control.php:104
  • fn_allowed_for() /var/www/agmarq.com/app/functions/fn.multivendor.php:2060
  • fn_get_storage_data() /var/www/agmarq.com/app/functions/fn.control.php:985
  • db_get_row() /var/www/agmarq.com/app/functions/fn.control.php:1067
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00036 Re-run Backtrace
2
SELECT storefronts.* FROM agm_storefronts AS storefronts  WHERE 1 = 1 AND (storefronts.url = 'agmarq.com' OR storefronts.url = 'www.agmarq.com' OR storefronts.url LIKE 'www_.agmarq.com' OR storefronts.url LIKE 'agmarq.com/%' OR storefronts.url LIKE 'www.agmarq.com/%' OR storefronts.url LIKE 'www_.agmarq.com/%') GROUP BY storefronts.storefront_id   ORDER BY storefronts.url = 'agmarq.com' DESC, storefronts.url = 'www.agmarq.com' DESC, storefronts.url LIKE 'www_.agmarq.com' DESC, storefronts.url LIKE 'agmarq.com/%' DESC, storefronts.url LIKE 'www.agmarq.com/%' DESC, storefronts.url LIKE 'www_.agmarq.com/%' desc 

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_init_redirect_to_regional_storefront() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • Tygh\Storefront\Repository::findByUrl() /var/www/agmarq.com/app/functions/fn.init.php:1452
  • Tygh\Storefront\Repository::find() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:126
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:370
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00016 Re-run Backtrace
3
SET time_zone = '+05:00'

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_init_settings() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • fn_init_time_zone() /var/www/agmarq.com/app/functions/fn.init.php:1058
  • db_query() /var/www/agmarq.com/app/functions/fn.init.php:1079
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/functions/fn.database.php:138
0.00030 Re-run Backtrace
4
SELECT data FROM agm_storage_data WHERE data_key = 'ms_time_check_ms_smart_description'

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_init_addons() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • fn_load_addon() /var/www/agmarq.com/app/functions/fn.init.php:1135
  • Tygh\Addons\AXmlScheme::loadAddon() /var/www/agmarq.com/app/functions/fn.addons.php:1627
  • require_once() /var/www/agmarq.com/app/Tygh/Addons/AXmlScheme.php:862
  • require_once() /var/www/agmarq.com/app/addons/ms_smart_description/config.php:6
  • fn_get_storage_data() /var/www/agmarq.com/app/addons/ms_smart_description/license.php:1
  • db_get_row() /var/www/agmarq.com/app/functions/fn.control.php:1067
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00039 Re-run Backtrace
5
SELECT type FROM agm_seo_names WHERE name = 'business-and-audit-services-ar' 

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_get_route() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.control.php:836
  • fn_seo_get_route() /var/www/agmarq.com/app/functions/fn.control.php:123
  • db_get_field() /var/www/agmarq.com/app/addons/seo/func.php:662
  • Tygh\Database\Connection::getField() /var/www/agmarq.com/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:447
0.00036 Re-run Backtrace
6
SELECT * FROM agm_seo_names WHERE name = 'business-and-audit-services-ar'  AND lang_code = 'ar'

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_get_route() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.control.php:836
  • fn_seo_get_route() /var/www/agmarq.com/app/functions/fn.control.php:123
  • db_get_array() /var/www/agmarq.com/app/addons/seo/func.php:666
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00027 Re-run Backtrace
7
SELECT agm_languages.lang_code, agm_languages.name FROM agm_languages  WHERE 1 AND agm_languages.status = 'A'   

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_get_route() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.control.php:836
  • fn_seo_get_route() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_seo_validate_object() /var/www/agmarq.com/app/addons/seo/func.php:705
  • Tygh\Languages\Languages::getSimpleLanguages() /var/www/agmarq.com/app/addons/seo/func.php:1071
  • db_get_hash_single_array() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:515
  • Tygh\Database\Connection::getSingleHash() /var/www/agmarq.com/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:571
0.00016 Re-run Backtrace
8
SELECT storefronts.* FROM agm_storefronts AS storefronts  WHERE 1 = 1 AND storefronts.storefront_id IN (4) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_get_route() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.control.php:836
  • fn_seo_get_route() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_url() /var/www/agmarq.com/app/addons/seo/func.php:800
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.common.php:3946
  • fn_seo_url_post() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_get_seo_settings() /var/www/agmarq.com/app/addons/seo/func.php:1474
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/seo/func.php:2196
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\StorefrontProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Storefront\Repository::findById() /var/www/agmarq.com/app/Tygh/Providers/StorefrontProvider.php:186
  • Tygh\Storefront\Repository::find() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:164
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:373
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00018 Re-run Backtrace
9
SELECT name, path FROM agm_seo_names WHERE `object_id` = 1086 AND `type` = 'c' AND `dispatch` = '' AND `lang_code` = 'ar' 

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_get_route() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.control.php:836
  • fn_seo_get_route() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_url() /var/www/agmarq.com/app/addons/seo/func.php:800
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.common.php:3946
  • fn_seo_url_post() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_seo_get_name() /var/www/agmarq.com/app/addons/seo/func.php:1587
  • db_get_row() /var/www/agmarq.com/app/addons/seo/func.php:1317
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00032 Re-run Backtrace
10
SELECT agm_bm_layouts.* FROM agm_bm_layouts  WHERE 1  AND is_default = 1 AND theme_name = 'bright_theme' AND storefront_id = 4

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_init_layout() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • Tygh\BlockManager\Layout::getDefault() /var/www/agmarq.com/app/functions/fn.init.php:673
  • db_get_row() /var/www/agmarq.com/app/Tygh/BlockManager/Layout.php:95
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00014 Re-run Backtrace
11
SELECT data FROM agm_storage_data WHERE data_key = 'cart_products_next_check'

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_init_user() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • fn_login_user() /var/www/agmarq.com/app/functions/fn.init.php:744
  • fn_init_user() /var/www/agmarq.com/app/functions/fn.users.php:3507
  • fn_is_expired_storage_data() /var/www/agmarq.com/app/functions/fn.init.php:776
  • fn_get_storage_data() /var/www/agmarq.com/app/functions/fn.control.php:1085
  • db_get_row() /var/www/agmarq.com/app/functions/fn.control.php:1067
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00074 Re-run Backtrace
12
SELECT data FROM agm_storage_data WHERE data_key = 'dev_mode'

    Backtrace

  • require() /var/www/agmarq.com/index.php:18
  • fn_init() /var/www/agmarq.com/init.php:195
  • fn_init_templater() /var/www/agmarq.com/app/functions/fn.init.php:1228
  • Tygh\Development::isEnabled() /var/www/agmarq.com/app/functions/fn.init.php:124
  • Tygh\Development::read() /var/www/agmarq.com/app/Tygh/Development.php:28
  • fn_get_storage_data() /var/www/agmarq.com/app/Tygh/Development.php:81
  • db_get_row() /var/www/agmarq.com/app/functions/fn.control.php:1067
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00019 Re-run Backtrace
13
SELECT * FROM agm_languages WHERE status = 'A'

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.control.php:439
  • fn_searchanise_dispatch_assign_template() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_se_check_import_is_done() /var/www/agmarq.com/app/addons/searchanise/func.php:81
  • fn_se_get_engines_data() /var/www/agmarq.com/app/addons/searchanise/func.php:1892
  • db_get_array() /var/www/agmarq.com/app/addons/searchanise/func.php:574
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00016 Re-run Backtrace
14
SELECT * FROM agm_se_settings

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.control.php:439
  • fn_searchanise_dispatch_assign_template() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_se_check_import_is_done() /var/www/agmarq.com/app/addons/searchanise/func.php:81
  • fn_se_get_engines_data() /var/www/agmarq.com/app/addons/searchanise/func.php:1892
  • fn_se_get_api_key() /var/www/agmarq.com/app/addons/searchanise/func.php:621
  • fn_se_get_setting() /var/www/agmarq.com/app/addons/searchanise/func.php:238
  • fn_se_get_all_settings() /var/www/agmarq.com/app/addons/searchanise/func.php:168
  • db_get_array() /var/www/agmarq.com/app/addons/searchanise/func.php:153
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00009 Re-run Backtrace
15
SELECT * FROM agm_bm_layouts WHERE 1  AND storefront_id = 4 AND layout_id = 7

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • Tygh\BlockManager\Location::instance() /var/www/agmarq.com/app/controllers/frontend/init.php:142
  • Tygh\BlockManager\Layout::get() /var/www/agmarq.com/app/Tygh/BlockManager/Location.php:476
  • db_get_row() /var/www/agmarq.com/app/Tygh/BlockManager/Layout.php:61
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00017 Re-run Backtrace
16
SELECT * FROM agm_bm_locations as l LEFT JOIN agm_bm_locations_descriptions as d ON d.location_id = l.location_id AND d.lang_code = 'ar' WHERE l.layout_id = 7  AND l.dispatch IN ('categories.view') AND (FIND_IN_SET(1086, l.object_ids) OR l.object_ids = '')  ORDER BY l.object_ids desc  LIMIT 1

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • Tygh\BlockManager\Location::get() /var/www/agmarq.com/app/controllers/frontend/init.php:142
  • Tygh\BlockManager\Location::getList() /var/www/agmarq.com/app/Tygh/BlockManager/Location.php:166
  • db_get_hash_array() /var/www/agmarq.com/app/Tygh/BlockManager/Location.php:105
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00040 Re-run Backtrace
17
SELECT data FROM agm_storage_data WHERE data_key = 'cache_id'

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_storage_data() /var/www/agmarq.com/app/controllers/frontend/init.php:146
  • db_get_row() /var/www/agmarq.com/app/functions/fn.control.php:1067
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00020 Re-run Backtrace
18
SELECT * FROM agm_hybrid_auth_providers WHERE 1  AND status = 'A' ORDER BY position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_hybrid_auth_get_providers_list() /var/www/agmarq.com/app/addons/hybrid_auth/controllers/frontend/init.post.php:17
  • Tygh\Registry::getOrSetCache() /var/www/agmarq.com/app/addons/hybrid_auth/func.php:222
  • {closure}() /var/www/agmarq.com/app/Tygh/Registry.php:800
  • db_get_hash_array() /var/www/agmarq.com/app/addons/hybrid_auth/func.php:196
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00017 Re-run Backtrace
19
SELECT usergroup_ids FROM agm_categories WHERE category_id = 1086

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • db_get_field() /var/www/agmarq.com/app/controllers/frontend/categories.php:40
  • Tygh\Database\Connection::getField() /var/www/agmarq.com/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:447
0.00016 Re-run Backtrace
20
SELECT category_id FROM agm_categories WHERE category_id = 1086  AND (usergroup_ids = '' OR FIND_IN_SET(0, usergroup_ids) OR FIND_IN_SET(1, usergroup_ids)) AND status IN ('A', 'H') AND agm_categories.storefront_id IN (0, 4)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • db_get_field() /var/www/agmarq.com/app/controllers/frontend/categories.php:60
  • Tygh\Database\Connection::getField() /var/www/agmarq.com/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:447
0.00015 Re-run Backtrace
21
SELECT category_id FROM agm_categories WHERE category_type = 'D'

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_subcategories() /var/www/agmarq.com/app/controllers/frontend/categories.php:76
  • fn_get_categories() /var/www/agmarq.com/app/functions/fn.categories.php:60
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.categories.php:242
  • fn_vendor_debt_payout_get_categories_pre() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_vendor_debt_payout_get_payout_category() /var/www/agmarq.com/app/addons/vendor_debt_payout/func.php:346
  • db_get_field() /var/www/agmarq.com/app/addons/vendor_debt_payout/func.php:225
  • Tygh\Database\Connection::getField() /var/www/agmarq.com/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:447
0.04580 Re-run Backtrace
22
SELECT id_path FROM agm_categories WHERE category_id = 1086

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_subcategories() /var/www/agmarq.com/app/controllers/frontend/categories.php:76
  • fn_get_categories() /var/www/agmarq.com/app/functions/fn.categories.php:60
  • db_get_field() /var/www/agmarq.com/app/functions/fn.categories.php:350
  • Tygh\Database\Connection::getField() /var/www/agmarq.com/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:447
0.00034 Re-run Backtrace
23
SELECT agm_categories.category_id,agm_categories.parent_id,agm_categories.id_path,agm_category_descriptions.category,agm_categories.position,agm_categories.status,agm_categories.company_id,agm_categories.storefront_id,agm_seo_names.name as seo_name,agm_seo_names.path as seo_path FROM agm_categories LEFT JOIN agm_category_descriptions ON agm_categories.category_id = agm_category_descriptions.category_id AND agm_category_descriptions.lang_code = 'ar'  LEFT JOIN agm_seo_names ON agm_seo_names.object_id = agm_categories.category_id  AND agm_seo_names.type = 'c'  AND agm_seo_names.dispatch = '' AND agm_seo_names.lang_code = 'ar'  WHERE 1=1  AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A') AND agm_categories.parent_id IN (1086) AND agm_categories.id_path LIKE '1086/%' AND agm_categories.category_id != 264 AND agm_categories.parent_id != 264 AND agm_categories.storefront_id IN (0, 4)   ORDER BY agm_categories.is_trash asc, agm_categories.position asc, agm_category_descriptions.category asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_subcategories() /var/www/agmarq.com/app/controllers/frontend/categories.php:76
  • fn_get_categories() /var/www/agmarq.com/app/functions/fn.categories.php:60
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.categories.php:440
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00077 Re-run Backtrace
24
SELECT category_id, parent_id FROM agm_categories WHERE parent_id IN(1087, 1127, 1122, 1133, 1137, 1113, 1090, 1131, 1109, 1099)  AND category_id != 264

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_subcategories() /var/www/agmarq.com/app/controllers/frontend/categories.php:76
  • fn_get_categories() /var/www/agmarq.com/app/functions/fn.categories.php:60
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.categories.php:483
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00038 Re-run Backtrace
25
SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.image_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'category' AND agm_images_links.type = 'M' AND agm_images_links.object_id IN (1087, 1127, 1122, 1133, 1137, 1113, 1090, 1131, 1109, 1099) ORDER BY agm_images_links.position, agm_images_links.pair_id;SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.detailed_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'category' AND agm_images_links.type = 'M' AND agm_images_links.object_id IN (1087, 1127, 1122, 1133, 1137, 1113, 1090, 1131, 1109, 1099) ORDER BY agm_images_links.position, agm_images_links.pair_id

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_subcategories() /var/www/agmarq.com/app/controllers/frontend/categories.php:76
  • fn_get_categories() /var/www/agmarq.com/app/functions/fn.categories.php:60
  • fn_get_image_pairs() /var/www/agmarq.com/app/functions/fn.categories.php:546
  • db_multi_query() /var/www/agmarq.com/app/functions/fn.images.php:349
  • Tygh\Database\Connection::multiQuery() /var/www/agmarq.com/app/functions/fn.database.php:168
0.00039 Re-run Backtrace
26
SELECT *, agm_seo_names.name as seo_name, agm_seo_names.path as seo_path FROM agm_categories LEFT JOIN agm_category_descriptions ON agm_category_descriptions.category_id = agm_categories.category_id AND agm_category_descriptions.lang_code = 'ar'  LEFT JOIN agm_seo_names ON agm_seo_names.object_id = 1086  AND agm_seo_names.type = 'c'  AND agm_seo_names.dispatch = '' AND agm_seo_names.lang_code = 'ar'  WHERE agm_categories.category_id = 1086 AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids))

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_category_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:79
  • db_get_row() /var/www/agmarq.com/app/functions/fn.categories.php:807
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00039 Re-run Backtrace
27
SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.image_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'category' AND agm_images_links.type = 'M' AND agm_images_links.object_id = '1086' ORDER BY agm_images_links.position, agm_images_links.pair_id;SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.detailed_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'category' AND agm_images_links.type = 'M' AND agm_images_links.object_id = '1086' ORDER BY agm_images_links.position, agm_images_links.pair_id

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_category_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:79
  • fn_get_image_pairs() /var/www/agmarq.com/app/functions/fn.categories.php:824
  • db_multi_query() /var/www/agmarq.com/app/functions/fn.images.php:349
  • Tygh\Database\Connection::multiQuery() /var/www/agmarq.com/app/functions/fn.database.php:168
0.00036 Re-run Backtrace
28
SELECT a.category_id
                 FROM agm_categories as a
                 LEFT JOIN agm_categories as b
                 ON b.category_id IN (1086)
                 WHERE a.id_path LIKE CONCAT(b.id_path, '/%')

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.products.php:1919
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.04465 Re-run Backtrace
29
SELECT company_id FROM agm_storefronts_companies WHERE storefront_id = 4

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • Tygh\Storefront\Storefront::__call() /var/www/agmarq.com/app/functions/fn.products.php:1996
  • Tygh\Storefront\Storefront::getRelationValue() /var/www/agmarq.com/app/Tygh/Storefront/Storefront.php:235
  • Tygh\Storefront\RelationsManager::getRelationValue() /var/www/agmarq.com/app/Tygh/Storefront/Storefront.php:273
  • Tygh\Storefront\RelationsManager::getRelatedValues() /var/www/agmarq.com/app/Tygh/Storefront/RelationsManager.php:80
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/Tygh/Storefront/RelationsManager.php:116
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00023 Re-run Backtrace
30
SELECT SQL_CALC_FOUND_ROWS products.product_id, descr1.product as product, companies.company as company_name, agm_supplier_links.supplier_id, products.product_type, products.parent_product_id FROM agm_products as products  LEFT JOIN agm_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'ar'  LEFT JOIN agm_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN agm_companies AS companies ON companies.company_id = products.company_id  INNER JOIN agm_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN agm_categories ON agm_categories.category_id = products_categories.category_id  AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A', 'H') AND agm_categories.storefront_id IN (0, 4)  LEFT JOIN agm_supplier_links ON agm_supplier_links.object_id = products.product_id AND agm_supplier_links.object_type = 'P'  LEFT JOIN agm_warehouses_sum_products_amount as war_sum_amount ON war_sum_amount.product_id = products.product_id WHERE 1  AND agm_categories.category_id IN (1086, 1089, 1087, 1088, 1092, 1090, 1091, 1094, 1093, 1096, 1095, 1098, 1097, 1101, 1099, 1100, 1103, 1102, 1105, 1104, 1107, 1106, 1109, 1108, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 14180, 14182, 14184, 14186, 14188, 14190, 14192, 14193, 14195, 14201, 14197, 14199, 14204, 14206, 14208, 14211, 14210, 14214, 14215, 14217, 14219, 14227, 14223, 14221, 14225, 14231, 14229, 14233, 14235, 14238, 14240, 14243, 14242, 14245, 14247, 14251, 14249, 14253, 14255, 14257, 14259, 14261, 14263, 14267, 14265, 14269, 14271, 14274, 14276, 14278, 14281, 14280, 14283, 14287, 14289, 14285, 14291, 14293, 14295, 14297, 14299, 14301, 14303, 14305, 14307, 14309, 14311, 14315, 14313, 14319, 14317, 14321, 14323, 14327, 14325, 14329, 14335, 14331, 14333, 14337, 14339, 14341, 14351, 14343, 14347, 14345, 14349, 14353, 14355, 14357, 14359, 14361, 14367, 14363, 14365, 14369, 14377, 14371, 14375, 14373, 14379, 14381, 14384, 14386, 14388, 14390, 14392, 14394, 14396, 14398, 14400, 14402, 14404, 14406, 14410, 14408, 14415, 14411, 14413, 14417, 14419, 14421, 14423, 14425, 14427, 14429, 14431, 14433, 14435, 14437, 14441, 14440, 14443, 14445, 14447, 14449, 14451, 14457, 14453, 14455, 14459, 14461, 14463, 14465, 14469, 14467, 14471, 14473, 14475, 14478, 14480, 14484, 14482, 14486, 14488, 14490, 14492, 14494, 14496, 14498, 14500, 14501, 14503, 14505, 14507, 14511, 14509, 14515, 14517, 14513, 14519, 14521, 14525, 14523, 14527, 14529, 14531, 14533, 14535, 14537, 14539, 14541, 14545, 14543, 14551, 14547, 14549, 14553, 14555, 14558, 14560, 14562, 14564, 14566, 14569, 14568, 14572, 14576, 14574, 14578, 14581, 14580, 14584, 14586, 14590, 14588, 14592, 14595, 14594, 14597, 14600, 14602, 14604, 14608, 14606, 14612, 14610, 14616, 14614, 14617, 14619, 14621, 14625, 14623, 14627, 14629, 14631, 14633, 14637, 14635, 14639, 14643, 14641, 14645, 14647, 14650, 14652, 14655, 14653, 14657, 14663, 14659, 14661, 14665, 14667, 14669, 14671, 14675, 14673, 14679, 14677, 14681, 14683, 14685, 14687, 14689, 14691, 14693, 14695, 14697, 14701, 14699, 14703, 14709, 14705, 14707, 14712, 14711, 14714, 14716, 14718, 14720, 14722, 14724, 14726, 14728, 14730, 14732, 14734, 14736, 14740, 14738, 14742, 14744, 14746, 14748, 14750, 14752, 14755, 14754, 14757, 14759, 14761, 14764, 14769, 14766, 14768, 14771, 14773, 14775, 14777, 14781, 14779, 14785, 14783, 14787, 14789, 14793, 14791, 14795, 14805, 14797, 14801, 14799, 14803, 14809, 14807, 14811, 14813, 14815, 14817, 14821, 14819, 14823, 14827, 14825, 14831, 14829, 14833, 14835, 14837, 14839, 14843, 14841, 14845, 14847, 14849, 14852, 14854, 14855, 14858, 14862, 14860, 14866, 14864, 14871, 14868, 14870, 14875, 14873, 14877, 14881, 14879, 14883, 14887, 14886, 14889, 14891, 14893, 14895, 14899, 14897, 14902, 14906, 14904, 14908, 14910, 14912, 14914, 14916, 14918, 14921, 14920, 14923, 14925, 14927, 14929, 14932, 14934, 14937, 14936, 14939, 14941, 14943, 14945, 14947, 14949, 14953, 14951, 14955, 14959, 14957, 14962, 14964, 14967, 14966, 14970, 14972, 14974, 14976, 14977, 14982, 14979, 14985, 14984, 14989, 14987, 14991, 14995, 14993, 14997, 15001, 14999, 15003, 15005, 15007, 15009, 15011, 15013, 15019, 15015, 15017, 15022, 15024, 15026, 15028, 15030, 15032, 15034, 15036, 15038, 15040, 15043, 15042, 15045, 15047, 15049, 15051, 15053, 15055, 15059, 15057, 15061, 15063, 15065, 15067, 15069, 15075, 15071, 15073, 15079, 15077, 15081, 15091, 15083, 15087, 15085, 15089, 15093, 15095, 15098, 15101, 15100, 15105, 15104, 15109, 15107, 15113, 15111, 15115, 15117, 15119, 15123, 15121, 15127, 15125, 15130, 15132, 15134, 15136, 15138, 15139, 15141, 15145, 15143, 15147, 15153, 15149, 15151, 15155, 15157, 15159, 15161, 15163, 15165, 15167, 15170, 15172, 15174, 15176, 15178, 15180, 15182, 15184, 15185, 15187, 15190, 15192, 15194, 15196, 15198, 15200, 15201, 15203, 15207, 15205, 15209, 15211, 15215, 15213, 15223, 15217, 15219, 15221, 15225, 15227, 15229, 15231, 15233, 15235, 15237, 15239, 15243, 15241, 15245, 15247, 15249, 15251, 15253, 15255, 15257, 15259, 15262, 15261, 15264, 15266, 15271, 15269, 15273, 15275, 15277, 15279, 15281, 15286, 15283, 15284, 15288, 15292, 15290, 15296, 15294, 15300, 15298, 15302, 15304, 15307, 15309, 15311, 15313, 15317, 15315, 15321, 15319, 15323, 15325, 15327, 15329, 15333, 15331, 15337, 15335, 15339, 15341, 15343, 15345, 15347, 15351, 15349, 15354, 15353, 15358, 15356, 15360, 15364, 15362, 15366, 15368, 15369, 15373, 15371, 15379, 15375, 15378, 15381, 15383, 15385, 15387, 15395, 15389, 15391, 15393, 15399, 15397, 15402, 15406, 15404, 15408, 15410, 15412, 15414, 15416, 15418, 15422, 15420, 15424, 15426, 15429, 15428, 15431, 15437, 15433, 15435, 15439, 15447, 15441, 15443, 15446, 15449, 15451, 15453, 15455, 15457, 15459, 15463, 15461, 15465, 15467, 15469, 15473, 15471, 15475, 15477, 15479, 15481, 15483, 15485, 15491, 15487, 15490, 15494, 15496, 15498, 15500, 15502, 15504, 15510, 15506, 15508, 15514, 15512, 15518, 15516, 15522, 15520, 15524, 15526, 15527, 15530, 15532, 15534, 15536, 15538, 15542, 15540, 15544, 15550, 15546, 15548, 15554, 15552, 15556, 15558, 15560, 15562, 15564, 15566, 15569, 15572, 15571, 15574, 15576, 15578, 15588, 15580, 15584, 15582, 15586, 15592, 15591, 15594, 15597, 15599, 15601, 15604, 15603, 15606, 15612, 15610, 15608, 15614, 15620, 15616, 15618, 15626, 15622, 15624, 15630, 15628, 15634, 15632, 15636, 15642, 15638, 15640, 15644, 15648, 15646, 15650, 15652, 15656, 15654, 15658, 15660, 15664, 15662, 15668, 15666, 15672, 15670, 15676, 15674, 15678, 15680, 15682, 15686, 15684, 15688, 15690, 15692, 15694, 15697, 15699, 15701, 15703, 15705, 15707, 15708, 15710, 15712, 15715, 15718, 15717, 15721, 15722, 15725, 15727, 15729, 15731, 15733, 15734, 15736, 15738, 15742, 15740, 15744, 15746, 15750, 15748, 15754, 15752, 15756, 15758, 15760, 15764, 15762, 15766, 15768, 15770, 15772, 15775, 15777, 15779, 15781, 15783, 15785, 15786, 15788, 15793, 15790, 15795, 15799, 15797, 15801) AND companies.status IN ('A') 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.product_type != 'D' GROUP BY products.product_id   ORDER BY product asc, products.product_id ASC  LIMIT 0, 12

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • {closure}() /var/www/agmarq.com/app/functions/fn.products.php:2430
  • db_get_array() /var/www/agmarq.com/app/functions/fn.products.php:2354
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00604 Re-run Backtrace
31
SELECT FOUND_ROWS()

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • {closure}() /var/www/agmarq.com/app/functions/fn.products.php:2430
  • db_get_found_rows() /var/www/agmarq.com/app/functions/fn.products.php:2357
  • Tygh\Database\Connection::getField() /var/www/agmarq.com/app/functions/fn.database.php:332
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:447
0.00020 Re-run Backtrace
32
SELECT agm_products.*, agm_products.ebay_status, agm_products.ebay_template_id FROM agm_products  WHERE agm_products.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)  

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • fn_load_products_extra_data() /var/www/agmarq.com/app/functions/fn.products.php:2454
  • fn_load_extra_data_by_entity_ids() /var/www/agmarq.com/app/functions/fn.products.php:2649
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.common.php:8814
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00038 Re-run Backtrace
33
SELECT agm_product_prices.product_id, MIN(IF(agm_product_prices.percentage_discount = 0,agm_product_prices.price,agm_product_prices.price - (agm_product_prices.price * agm_product_prices.percentage_discount)/100)) AS price FROM agm_product_prices  WHERE agm_product_prices.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)  AND agm_product_prices.lower_limit = 1 AND agm_product_prices.usergroup_id IN (0, 1)  GROUP BY agm_product_prices.product_id

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • fn_load_products_extra_data() /var/www/agmarq.com/app/functions/fn.products.php:2454
  • fn_load_extra_data_by_entity_ids() /var/www/agmarq.com/app/functions/fn.products.php:2649
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.common.php:8814
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00041 Re-run Backtrace
34
SELECT agm_product_descriptions.product_id, agm_product_descriptions.short_description, IF(agm_product_descriptions.short_description = '' OR agm_product_descriptions.short_description IS NULL, agm_product_descriptions.full_description, '') AS full_description, agm_product_descriptions.unit_name FROM agm_product_descriptions  WHERE agm_product_descriptions.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)  AND agm_product_descriptions.lang_code = 'ar' 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • fn_load_products_extra_data() /var/www/agmarq.com/app/functions/fn.products.php:2454
  • fn_load_extra_data_by_entity_ids() /var/www/agmarq.com/app/functions/fn.products.php:2649
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.common.php:8814
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00030 Re-run Backtrace
35
SELECT agm_products_categories.product_id, GROUP_CONCAT(IF(agm_products_categories.link_type = "M", CONCAT(agm_products_categories.category_id, "M"), agm_products_categories.category_id)) AS category_ids, product_position_source.position AS position FROM agm_products_categories  INNER JOIN agm_categories ON agm_categories.category_id = agm_products_categories.category_id AND agm_categories.storefront_id IN (0, 4) AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A', 'H')  LEFT JOIN agm_products_categories AS product_position_source ON agm_products_categories.product_id = product_position_source.product_id AND product_position_source.category_id = 1086 WHERE agm_products_categories.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)   GROUP BY agm_products_categories.product_id

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • fn_load_products_extra_data() /var/www/agmarq.com/app/functions/fn.products.php:2454
  • fn_load_extra_data_by_entity_ids() /var/www/agmarq.com/app/functions/fn.products.php:2649
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.common.php:8814
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00063 Re-run Backtrace
36
SELECT agm_seo_names.object_id AS product_id, agm_seo_names.name AS seo_name, agm_seo_names.path AS seo_path FROM agm_seo_names  WHERE agm_seo_names.object_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)  AND agm_seo_names.type = "p" AND agm_seo_names.dispatch = "" AND agm_seo_names.lang_code = 'ar'  

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • fn_load_products_extra_data() /var/www/agmarq.com/app/functions/fn.products.php:2454
  • fn_load_extra_data_by_entity_ids() /var/www/agmarq.com/app/functions/fn.products.php:2649
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.common.php:8814
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00054 Re-run Backtrace
37
SELECT agm_product_review_prepared_data.product_id AS product_id, agm_product_review_prepared_data.average_rating AS average_rating, agm_product_review_prepared_data.reviews_count AS reviews_count FROM agm_product_review_prepared_data  WHERE agm_product_review_prepared_data.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)  AND agm_product_review_prepared_data.storefront_id = 0 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • fn_load_products_extra_data() /var/www/agmarq.com/app/functions/fn.products.php:2454
  • fn_load_extra_data_by_entity_ids() /var/www/agmarq.com/app/functions/fn.products.php:2649
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.common.php:8814
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00022 Re-run Backtrace
38
SELECT product_id, amount FROM agm_warehouses_sum_products_amount WHERE 1 AND product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products() /var/www/agmarq.com/app/controllers/frontend/categories.php:117
  • fn_load_products_extra_data() /var/www/agmarq.com/app/functions/fn.products.php:2454
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:2673
  • fn_warehouses_load_products_extra_data_post() /var/www/agmarq.com/app/functions/fn.control.php:123
  • db_get_hash_single_array() /var/www/agmarq.com/app/addons/warehouses/func.php:1969
  • Tygh\Database\Connection::getSingleHash() /var/www/agmarq.com/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:571
0.00015 Re-run Backtrace
39
SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.image_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'product' AND agm_images_links.type = 'M' AND agm_images_links.object_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) ORDER BY agm_images_links.position, agm_images_links.pair_id;SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.detailed_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'product' AND agm_images_links.type = 'M' AND agm_images_links.object_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) ORDER BY agm_images_links.position, agm_images_links.pair_id

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_get_image_pairs() /var/www/agmarq.com/app/functions/fn.products.php:629
  • db_multi_query() /var/www/agmarq.com/app/functions/fn.images.php:349
  • Tygh\Database\Connection::multiQuery() /var/www/agmarq.com/app/functions/fn.database.php:168
0.00068 Re-run Backtrace
40
SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.image_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'product' AND agm_images_links.type = 'A' AND agm_images_links.object_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) ORDER BY agm_images_links.position, agm_images_links.pair_id;SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.detailed_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'product' AND agm_images_links.type = 'A' AND agm_images_links.object_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) ORDER BY agm_images_links.position, agm_images_links.pair_id

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_get_image_pairs() /var/www/agmarq.com/app/functions/fn.products.php:633
  • db_multi_query() /var/www/agmarq.com/app/functions/fn.images.php:349
  • Tygh\Database\Connection::multiQuery() /var/www/agmarq.com/app/functions/fn.database.php:168
0.00061 Re-run Backtrace
41
SELECT a.*, b.option_name, b.internal_option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM agm_product_options as a  LEFT JOIN agm_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'ar'  WHERE a.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) AND a.status = 'A' ORDER BY a.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_get_product_options() /var/www/agmarq.com/app/functions/fn.products.php:642
  • db_get_hash_multi_array() /var/www/agmarq.com/app/functions/fn.options.php:242
  • Tygh\Database\Connection::getMultiHash() /var/www/agmarq.com/app/functions/fn.database.php:98
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:525
0.00031 Re-run Backtrace
42
SELECT c.product_id AS cur_product_id, a.*, b.option_name, b.internal_option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM agm_product_options as a LEFT JOIN agm_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'ar' LEFT JOIN agm_product_global_option_links as c ON c.option_id = a.option_id WHERE c.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) AND a.product_id = 0 AND a.status = 'A' ORDER BY a.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_get_product_options() /var/www/agmarq.com/app/functions/fn.products.php:642
  • db_get_hash_multi_array() /var/www/agmarq.com/app/functions/fn.options.php:252
  • Tygh\Database\Connection::getMultiHash() /var/www/agmarq.com/app/functions/fn.database.php:98
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:525
0.00033 Re-run Backtrace
43
SELECT agm_languages.* FROM agm_languages  WHERE 1    

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:662
  • Tygh\Addons\Loader::Tygh\Addons\{closure}() /var/www/agmarq.com/app/functions/fn.control.php:123
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/Addons/Loader.php:144
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams()
  • Tygh\Addons\ProductVariations\ServiceProvider::getProductRepository() /var/www/agmarq.com/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:307
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:166
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Addons\ProductVariations\ServiceProvider::Tygh\Addons\ProductVariations\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:69
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Languages\Languages::getAll() /var/www/agmarq.com/app/Tygh/Providers/CommonProvider.php:40
  • db_get_hash_array() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:134
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00022 Re-run Backtrace
44
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('1') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:662
  • Tygh\Addons\Loader::Tygh\Addons\{closure}() /var/www/agmarq.com/app/functions/fn.control.php:123
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/Addons/Loader.php:144
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams()
  • Tygh\Addons\ProductVariations\ServiceProvider::getProductRepository() /var/www/agmarq.com/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:307
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:166
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Addons\ProductVariations\ServiceProvider::Tygh\Addons\ProductVariations\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:69
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Languages\Languages::getAll() /var/www/agmarq.com/app/Tygh/Providers/CommonProvider.php:40
  • Tygh\Languages\Languages::afterFind() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:135
  • Tygh\Languages\Languages::attachStorefrontIds() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1681
  • array_walk() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1745
  • Tygh\Languages\Languages::Tygh\Languages\{closure}()
  • Tygh\Storefront\Repository::find() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1742
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:373
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00028 Re-run Backtrace
45
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('2') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:662
  • Tygh\Addons\Loader::Tygh\Addons\{closure}() /var/www/agmarq.com/app/functions/fn.control.php:123
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/Addons/Loader.php:144
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams()
  • Tygh\Addons\ProductVariations\ServiceProvider::getProductRepository() /var/www/agmarq.com/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:307
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:166
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Addons\ProductVariations\ServiceProvider::Tygh\Addons\ProductVariations\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:69
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Languages\Languages::getAll() /var/www/agmarq.com/app/Tygh/Providers/CommonProvider.php:40
  • Tygh\Languages\Languages::afterFind() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:135
  • Tygh\Languages\Languages::attachStorefrontIds() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1681
  • array_walk() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1745
  • Tygh\Languages\Languages::Tygh\Languages\{closure}()
  • Tygh\Storefront\Repository::find() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1742
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:373
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00085 Re-run Backtrace
46
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('3') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:662
  • Tygh\Addons\Loader::Tygh\Addons\{closure}() /var/www/agmarq.com/app/functions/fn.control.php:123
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/Addons/Loader.php:144
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams()
  • Tygh\Addons\ProductVariations\ServiceProvider::getProductRepository() /var/www/agmarq.com/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:307
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:166
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Addons\ProductVariations\ServiceProvider::Tygh\Addons\ProductVariations\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:69
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Languages\Languages::getAll() /var/www/agmarq.com/app/Tygh/Providers/CommonProvider.php:40
  • Tygh\Languages\Languages::afterFind() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:135
  • Tygh\Languages\Languages::attachStorefrontIds() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1681
  • array_walk() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1745
  • Tygh\Languages\Languages::Tygh\Languages\{closure}()
  • Tygh\Storefront\Repository::find() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1742
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:373
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00143 Re-run Backtrace
47
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('4') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:662
  • Tygh\Addons\Loader::Tygh\Addons\{closure}() /var/www/agmarq.com/app/functions/fn.control.php:123
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/Addons/Loader.php:144
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams()
  • Tygh\Addons\ProductVariations\ServiceProvider::getProductRepository() /var/www/agmarq.com/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:307
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:166
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Addons\ProductVariations\ServiceProvider::Tygh\Addons\ProductVariations\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:69
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Languages\Languages::getAll() /var/www/agmarq.com/app/Tygh/Providers/CommonProvider.php:40
  • Tygh\Languages\Languages::afterFind() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:135
  • Tygh\Languages\Languages::attachStorefrontIds() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1681
  • array_walk() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1745
  • Tygh\Languages\Languages::Tygh\Languages\{closure}()
  • Tygh\Storefront\Repository::find() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1742
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:373
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00036 Re-run Backtrace
48
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('5') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:662
  • Tygh\Addons\Loader::Tygh\Addons\{closure}() /var/www/agmarq.com/app/functions/fn.control.php:123
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/Addons/Loader.php:144
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams()
  • Tygh\Addons\ProductVariations\ServiceProvider::getProductRepository() /var/www/agmarq.com/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:307
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:166
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Addons\ProductVariations\ServiceProvider::Tygh\Addons\ProductVariations\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:69
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Languages\Languages::getAll() /var/www/agmarq.com/app/Tygh/Providers/CommonProvider.php:40
  • Tygh\Languages\Languages::afterFind() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:135
  • Tygh\Languages\Languages::attachStorefrontIds() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1681
  • array_walk() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1745
  • Tygh\Languages\Languages::Tygh\Languages\{closure}()
  • Tygh\Storefront\Repository::find() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1742
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:373
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00045 Re-run Backtrace
49
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('6') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:662
  • Tygh\Addons\Loader::Tygh\Addons\{closure}() /var/www/agmarq.com/app/functions/fn.control.php:123
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/Addons/Loader.php:144
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams()
  • Tygh\Addons\ProductVariations\ServiceProvider::getProductRepository() /var/www/agmarq.com/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:307
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:166
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Addons\ProductVariations\ServiceProvider::Tygh\Addons\ProductVariations\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/product_variations/src/ServiceProvider.php:69
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Languages\Languages::getAll() /var/www/agmarq.com/app/Tygh/Providers/CommonProvider.php:40
  • Tygh\Languages\Languages::afterFind() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:135
  • Tygh\Languages\Languages::attachStorefrontIds() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1681
  • array_walk() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1745
  • Tygh\Languages\Languages::Tygh\Languages\{closure}()
  • Tygh\Storefront\Repository::find() /var/www/agmarq.com/app/Tygh/Languages/Languages.php:1742
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/Tygh/Storefront/Repository.php:373
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00025 Re-run Backtrace
50
SELECT f.feature_id, f.purpose, p.product_id, p.parent_product_id, g.id, g.code FROM agm_product_variation_group_features AS f INNER JOIN agm_product_variation_groups AS g ON f.group_id = g.id INNER JOIN agm_product_variation_group_products AS p ON f.group_id = p.group_id WHERE p.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:662
  • Tygh\Addons\Loader::Tygh\Addons\{closure}() /var/www/agmarq.com/app/functions/fn.control.php:123
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/Addons/Loader.php:144
  • Tygh\Addons\ProductVariations\HookHandlers\ProductsHookHandler::onGatherAdditionalProductsDataParams()
  • Tygh\Addons\ProductVariations\Product\Repository::loadProductsGroupInfo() /var/www/agmarq.com/app/addons/product_variations/src/HookHandlers/ProductsHookHandler.php:310
  • Tygh\Addons\ProductVariations\Product\Group\Repository::findGroupInfoByProductIds() /var/www/agmarq.com/app/addons/product_variations/src/Product/Repository.php:453
  • Tygh\Addons\ProductVariations\Tools\Query::select() /var/www/agmarq.com/app/addons/product_variations/src/Product/Group/Repository.php:355
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/addons/product_variations/src/Tools/Query.php:310
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00024 Re-run Backtrace
51
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00033 Re-run Backtrace
52
SELECT product_id FROM agm_products WHERE product_type = 'D'

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.promotions.php:298
  • fn_vendor_debt_payout_promotion_apply_pre() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_vendor_debt_payout_get_payout_product() /var/www/agmarq.com/app/addons/vendor_debt_payout/func.php:804
  • db_get_field() /var/www/agmarq.com/app/addons/vendor_debt_payout/func.php:245
  • Tygh\Database\Connection::getField() /var/www/agmarq.com/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:447
0.00121 Re-run Backtrace
53
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00045 Re-run Backtrace
54
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00030 Re-run Backtrace
55
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00020 Re-run Backtrace
56
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 3   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00045 Re-run Backtrace
57
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00037 Re-run Backtrace
58
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00022 Re-run Backtrace
59
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 3   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00019 Re-run Backtrace
60
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00021 Re-run Backtrace
61
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00023 Re-run Backtrace
62
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00023 Re-run Backtrace
63
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_promotion_apply() /var/www/agmarq.com/app/functions/fn.products.php:799
  • fn_get_promotions() /var/www/agmarq.com/app/functions/fn.promotions.php:277
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.promotions.php:193
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00021 Re-run Backtrace
64
SELECT a.code, b.state FROM agm_states as a LEFT JOIN agm_state_descriptions as b ON b.state_id = a.state_id AND b.lang_code = 'ar' WHERE  a.country_code = 'US' ORDER BY b.state

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:882
  • fn_warehouses_gather_additional_products_data_post() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_warehouses_get_destination_id_by_product_params() /var/www/agmarq.com/app/addons/warehouses/func.php:1300
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/addons/warehouses/func.php:1687
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\LocationProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/Tygh/Providers/LocationProvider.php:40
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\LocationProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • Tygh\Location\Location::__construct() /var/www/agmarq.com/app/Tygh/Providers/LocationProvider.php:68
  • Tygh\Location\Location::setState() /var/www/agmarq.com/app/Tygh/Location/Location.php:69
  • Tygh\Location\Location::isIsoCode() /var/www/agmarq.com/app/Tygh/Location/Location.php:143
  • Tygh\Location\Location::getCountryStates() /var/www/agmarq.com/app/Tygh/Location/Location.php:243
  • fn_get_country_states() /var/www/agmarq.com/app/Tygh/Location/Location.php:262
  • db_get_hash_single_array() /var/www/agmarq.com/app/functions/fn.locations.php:290
  • Tygh\Database\Connection::getSingleHash() /var/www/agmarq.com/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:571
0.00077 Re-run Backtrace
65
SELECT state_id FROM agm_states WHERE code = 'MA' AND country_code = 'US'

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:882
  • fn_warehouses_gather_additional_products_data_post() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_warehouses_get_destination_id_by_product_params() /var/www/agmarq.com/app/addons/warehouses/func.php:1300
  • Tygh\Location\Manager::getDestinationId() /var/www/agmarq.com/app/addons/warehouses/func.php:1688
  • fn_get_available_destination() /var/www/agmarq.com/app/Tygh/Location/Manager.php:409
  • fn_get_state_id() /var/www/agmarq.com/app/functions/fn.locations.php:493
  • db_get_field() /var/www/agmarq.com/app/functions/fn.locations.php:612
  • Tygh\Database\Connection::getField() /var/www/agmarq.com/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:447
0.00067 Re-run Backtrace
66
SELECT a.code, b.state FROM agm_states as a LEFT JOIN agm_state_descriptions as b ON b.state_id = a.state_id AND b.lang_code = 'ar' WHERE  a.country_code = 'US' AND a.status = 'A' ORDER BY b.state

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:882
  • fn_warehouses_gather_additional_products_data_post() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_warehouses_get_destination_id_by_product_params() /var/www/agmarq.com/app/addons/warehouses/func.php:1300
  • Tygh\Location\Manager::getDestinationId() /var/www/agmarq.com/app/addons/warehouses/func.php:1688
  • fn_get_available_destination() /var/www/agmarq.com/app/Tygh/Location/Manager.php:409
  • fn_get_country_states() /var/www/agmarq.com/app/functions/fn.locations.php:496
  • db_get_hash_single_array() /var/www/agmarq.com/app/functions/fn.locations.php:290
  • Tygh\Database\Connection::getSingleHash() /var/www/agmarq.com/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:571
0.00046 Re-run Backtrace
67
SELECT a.* FROM agm_destination_elements as a LEFT JOIN agm_destinations as b ON b.destination_id = a.destination_id WHERE b.status = 'A' 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:882
  • fn_warehouses_gather_additional_products_data_post() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_warehouses_get_destination_id_by_product_params() /var/www/agmarq.com/app/addons/warehouses/func.php:1300
  • Tygh\Location\Manager::getDestinationId() /var/www/agmarq.com/app/addons/warehouses/func.php:1688
  • fn_get_available_destination() /var/www/agmarq.com/app/Tygh/Location/Manager.php:409
  • db_get_array() /var/www/agmarq.com/app/functions/fn.locations.php:508
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00079 Re-run Backtrace
68
SELECT product_id, amount FROM agm_warehouses_destination_products_amount WHERE product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) AND destination_id = 7 AND storefront_id = 0

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_gather_additional_products_data() /var/www/agmarq.com/app/controllers/frontend/categories.php:124
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.products.php:882
  • fn_warehouses_gather_additional_products_data_post() /var/www/agmarq.com/app/functions/fn.control.php:123
  • Tygh\Addons\Warehouses\Manager::fetchProductsWarehousesAmountsByDestination() /var/www/agmarq.com/app/addons/warehouses/func.php:1301
  • Tygh\Database\Connection::getSingleHash() /var/www/agmarq.com/app/addons/warehouses/Tygh/Addons/Warehouses/Manager.php:192
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:571
0.00011 Re-run Backtrace
69
SELECT default_view, selected_views FROM agm_categories WHERE category_id = 1086

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_run_controller() /var/www/agmarq.com/app/functions/fn.control.php:458
  • include() /var/www/agmarq.com/app/functions/fn.control.php:722
  • fn_get_products_layout() /var/www/agmarq.com/app/controllers/frontend/categories.php:139
  • db_get_row() /var/www/agmarq.com/app/functions/fn.products.php:2847
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00026 Re-run Backtrace
70
SELECT privilege FROM agm_usergroup_privileges WHERE usergroup_id IN (0, 1)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_check_permissions() /var/www/agmarq.com/app/functions/fn.control.php:517
  • fn_check_admin_permissions() /var/www/agmarq.com/app/functions/fn.common.php:2544
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.common.php:2726
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00016 Re-run Backtrace
71
SELECT name, path FROM agm_seo_names WHERE `object_id` = 1086 AND `type` = 'c' AND `dispatch` = '' AND `lang_code` = 'en' 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.control.php:623
  • fn_seo_dispatch_before_display() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_url() /var/www/agmarq.com/app/addons/seo/func.php:3073
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.common.php:3946
  • fn_seo_url_post() /var/www/agmarq.com/app/functions/fn.control.php:123
  • fn_seo_get_name() /var/www/agmarq.com/app/addons/seo/func.php:1587
  • db_get_row() /var/www/agmarq.com/app/addons/seo/func.php:1317
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00023 Re-run Backtrace
72
SELECT c.* FROM agm_bm_containers as c  WHERE 1  AND c.location_id = 121 AND c.company_id = 0

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::__construct() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:50
  • Tygh\BlockManager\Container::getListByArea() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:127
  • Tygh\BlockManager\Container::getList() /var/www/agmarq.com/app/Tygh/BlockManager/Container.php:111
  • db_get_hash_array() /var/www/agmarq.com/app/Tygh/BlockManager/Container.php:72
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00061 Re-run Backtrace
73
SELECT layout_id FROM agm_bm_locations WHERE location_id = 121

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::__construct() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:50
  • Tygh\BlockManager\Container::getListByArea() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:127
  • Tygh\BlockManager\Container::getList() /var/www/agmarq.com/app/Tygh/BlockManager/Container.php:112
  • db_get_field() /var/www/agmarq.com/app/Tygh/BlockManager/Container.php:60
  • Tygh\Database\Connection::getField() /var/www/agmarq.com/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:447
0.00016 Re-run Backtrace
74
SELECT c.*, IF (c.location_id != 121, 0, 1) as `default` FROM agm_bm_containers as c  INNER JOIN agm_bm_locations as l ON c.location_id = l.location_id AND l.is_default = 1 AND l.layout_id = 7 WHERE 1  AND c.position IN ('TOP_PANEL', 'HEADER', 'FOOTER') AND c.company_id = 0

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::__construct() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:50
  • Tygh\BlockManager\Container::getListByArea() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:127
  • Tygh\BlockManager\Container::getList() /var/www/agmarq.com/app/Tygh/BlockManager/Container.php:112
  • db_get_hash_array() /var/www/agmarq.com/app/Tygh/BlockManager/Container.php:72
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00040 Re-run Backtrace
75
SELECT * FROM agm_bm_containers as c LEFT JOIN agm_bm_grids as g ON g.container_id = c.container_id WHERE 1  AND g.container_id IN (469, 470, 483, 472) ORDER BY g.order, g.parent_id, g.grid_id ASC

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::__construct() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:50
  • Tygh\BlockManager\Grid::getList() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:133
  • db_get_hash_multi_array() /var/www/agmarq.com/app/Tygh/BlockManager/Grid.php:63
  • Tygh\Database\Connection::getMultiHash() /var/www/agmarq.com/app/functions/fn.database.php:98
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:525
0.00060 Re-run Backtrace
76
SELECT agm_bm_snapping.grid_id as grid_id,agm_bm_snapping.block_id as block_id,IFNULL(dynamic_object_content.content, default_content.content) as content,IFNULL(dynamic_object_content.object_id, default_content.object_id) AS object_id,IFNULL(dynamic_object_content.object_type, default_content.object_type) AS object_type,agm_bm_block_statuses.object_ids as object_ids,agm_bm_snapping.*,agm_bm_blocks.*,agm_bm_blocks_descriptions.* FROM agm_bm_snapping LEFT JOIN agm_bm_blocks ON agm_bm_blocks.block_id = agm_bm_snapping.block_id LEFT JOIN agm_bm_block_statuses ON agm_bm_snapping.snapping_id = agm_bm_block_statuses.snapping_id AND agm_bm_block_statuses.object_type LIKE 'categories' LEFT JOIN agm_bm_blocks_descriptions ON agm_bm_blocks.block_id = agm_bm_blocks_descriptions.block_id  LEFT JOIN agm_bm_blocks_content AS default_content ON agm_bm_blocks.block_id = default_content.block_id AND agm_bm_blocks_descriptions.lang_code = default_content.lang_code AND default_content.snapping_id = 0 AND default_content.object_id = 0 AND default_content.object_type like '' LEFT JOIN agm_bm_blocks_content AS dynamic_object_content ON agm_bm_blocks.block_id = dynamic_object_content.block_id AND agm_bm_blocks_descriptions.lang_code = dynamic_object_content.lang_code AND dynamic_object_content.object_id = 1086 AND dynamic_object_content.object_type like 'categories' WHERE agm_bm_snapping.grid_id IN (552, 553, 554, 555, 558, 559, 556, 557, 560, 563, 566, 571, 564, 565, 567, 568, 569, 570, 572, 573, 588, 589, 590)  AND agm_bm_blocks_descriptions.lang_code='ar'  ORDER BY agm_bm_snapping.order, agm_bm_snapping.block_id 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::__construct() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:50
  • Tygh\BlockManager\Block::getList() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:137
  • db_get_hash_multi_array() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:252
  • Tygh\Database\Connection::getMultiHash() /var/www/agmarq.com/app/functions/fn.database.php:98
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:525
0.00109 Re-run Backtrace
77
SELECT * FROM agm_hybrid_auth_providers WHERE 1  AND status = 'A' ORDER BY position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:820
  • fn_hybrid_auth_get_providers_list_content()
  • fn_hybrid_auth_get_providers_list() /var/www/agmarq.com/app/addons/hybrid_auth/func.php:243
  • Tygh\Registry::getOrSetCache() /var/www/agmarq.com/app/addons/hybrid_auth/func.php:222
  • {closure}() /var/www/agmarq.com/app/Tygh/Registry.php:800
  • db_get_hash_array() /var/www/agmarq.com/app/addons/hybrid_auth/func.php:196
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00035 Re-run Backtrace
78
SELECT a.* FROM agm_destination_elements as a LEFT JOIN agm_destinations as b ON b.destination_id = a.destination_id WHERE b.status = 'A' 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::registerBlockCacheIfNeeded() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:592
  • Tygh\BlockManager\RenderManager::execCallableHandlers() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:930
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:1029
  • fn_warehouses_blocks_get_customer_destination_id()
  • Tygh\Location\Manager::getDestinationId() /var/www/agmarq.com/app/addons/warehouses/schemas/block_manager/blocks.functions.php:29
  • fn_get_available_destination() /var/www/agmarq.com/app/Tygh/Location/Manager.php:409
  • db_get_array() /var/www/agmarq.com/app/functions/fn.locations.php:508
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00079 Re-run Backtrace
79
SELECT a.* FROM agm_destination_elements as a LEFT JOIN agm_destinations as b ON b.destination_id = a.destination_id WHERE b.status = 'A' 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.filters.php:1293
  • fn_warehouses_get_filters_products_count_pre() /var/www/agmarq.com/app/functions/fn.control.php:123
  • Tygh\Location\Manager::getDestinationId() /var/www/agmarq.com/app/addons/warehouses/func.php:1944
  • fn_get_available_destination() /var/www/agmarq.com/app/Tygh/Location/Manager.php:409
  • db_get_array() /var/www/agmarq.com/app/functions/fn.locations.php:508
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00054 Re-run Backtrace
80
SELECT feature_id, feature_type FROM agm_product_features WHERE feature_id IN (18, 549, 548)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_product_filters_get_current_filters() /var/www/agmarq.com/app/functions/fn.filters.php:1324
  • fn_product_filters_get_feature_type_map() /var/www/agmarq.com/app/functions/fn.filters.php:1703
  • db_get_array() /var/www/agmarq.com/app/functions/fn.filters.php:1087
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00020 Re-run Backtrace
81
SELECT a.category_id
                 FROM agm_categories as a
                 LEFT JOIN agm_categories as b
                 ON b.category_id IN (1086)
                 WHERE a.id_path LIKE CONCAT(b.id_path, '/%')

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_product_filters_get_current_filters() /var/www/agmarq.com/app/functions/fn.filters.php:1324
  • fn_product_filters_get_products_conditions() /var/www/agmarq.com/app/functions/fn.filters.php:1718
  • fn_get_products() /var/www/agmarq.com/app/functions/fn.filters.php:1123
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.products.php:1919
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.05111 Re-run Backtrace
82
CREATE TEMPORARY TABLE _product_filters_products_1 (PRIMARY KEY product_id (product_id)) ENGINE = MEMORY IGNORE SELECT products.product_id FROM agm_products AS products  LEFT JOIN agm_companies AS companies ON companies.company_id = products.company_id  INNER JOIN agm_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN agm_categories ON agm_categories.category_id = products_categories.category_id  AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A', 'H') AND agm_categories.storefront_id IN (0, 4)  LEFT JOIN agm_supplier_links ON agm_supplier_links.object_id = products.product_id AND agm_supplier_links.object_type = 'P'  LEFT JOIN agm_warehouses_sum_products_amount as war_sum_amount ON war_sum_amount.product_id = products.product_id WHERE 1=1  AND agm_categories.category_id IN (1086, 1089, 1087, 1088, 1092, 1090, 1091, 1094, 1093, 1096, 1095, 1098, 1097, 1101, 1099, 1100, 1103, 1102, 1105, 1104, 1107, 1106, 1109, 1108, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 14180, 14182, 14184, 14186, 14188, 14190, 14192, 14193, 14195, 14201, 14197, 14199, 14204, 14206, 14208, 14211, 14210, 14214, 14215, 14217, 14219, 14227, 14223, 14221, 14225, 14231, 14229, 14233, 14235, 14238, 14240, 14243, 14242, 14245, 14247, 14251, 14249, 14253, 14255, 14257, 14259, 14261, 14263, 14267, 14265, 14269, 14271, 14274, 14276, 14278, 14281, 14280, 14283, 14287, 14289, 14285, 14291, 14293, 14295, 14297, 14299, 14301, 14303, 14305, 14307, 14309, 14311, 14315, 14313, 14319, 14317, 14321, 14323, 14327, 14325, 14329, 14335, 14331, 14333, 14337, 14339, 14341, 14351, 14343, 14347, 14345, 14349, 14353, 14355, 14357, 14359, 14361, 14367, 14363, 14365, 14369, 14377, 14371, 14375, 14373, 14379, 14381, 14384, 14386, 14388, 14390, 14392, 14394, 14396, 14398, 14400, 14402, 14404, 14406, 14410, 14408, 14415, 14411, 14413, 14417, 14419, 14421, 14423, 14425, 14427, 14429, 14431, 14433, 14435, 14437, 14441, 14440, 14443, 14445, 14447, 14449, 14451, 14457, 14453, 14455, 14459, 14461, 14463, 14465, 14469, 14467, 14471, 14473, 14475, 14478, 14480, 14484, 14482, 14486, 14488, 14490, 14492, 14494, 14496, 14498, 14500, 14501, 14503, 14505, 14507, 14511, 14509, 14515, 14517, 14513, 14519, 14521, 14525, 14523, 14527, 14529, 14531, 14533, 14535, 14537, 14539, 14541, 14545, 14543, 14551, 14547, 14549, 14553, 14555, 14558, 14560, 14562, 14564, 14566, 14569, 14568, 14572, 14576, 14574, 14578, 14581, 14580, 14584, 14586, 14590, 14588, 14592, 14595, 14594, 14597, 14600, 14602, 14604, 14608, 14606, 14612, 14610, 14616, 14614, 14617, 14619, 14621, 14625, 14623, 14627, 14629, 14631, 14633, 14637, 14635, 14639, 14643, 14641, 14645, 14647, 14650, 14652, 14655, 14653, 14657, 14663, 14659, 14661, 14665, 14667, 14669, 14671, 14675, 14673, 14679, 14677, 14681, 14683, 14685, 14687, 14689, 14691, 14693, 14695, 14697, 14701, 14699, 14703, 14709, 14705, 14707, 14712, 14711, 14714, 14716, 14718, 14720, 14722, 14724, 14726, 14728, 14730, 14732, 14734, 14736, 14740, 14738, 14742, 14744, 14746, 14748, 14750, 14752, 14755, 14754, 14757, 14759, 14761, 14764, 14769, 14766, 14768, 14771, 14773, 14775, 14777, 14781, 14779, 14785, 14783, 14787, 14789, 14793, 14791, 14795, 14805, 14797, 14801, 14799, 14803, 14809, 14807, 14811, 14813, 14815, 14817, 14821, 14819, 14823, 14827, 14825, 14831, 14829, 14833, 14835, 14837, 14839, 14843, 14841, 14845, 14847, 14849, 14852, 14854, 14855, 14858, 14862, 14860, 14866, 14864, 14871, 14868, 14870, 14875, 14873, 14877, 14881, 14879, 14883, 14887, 14886, 14889, 14891, 14893, 14895, 14899, 14897, 14902, 14906, 14904, 14908, 14910, 14912, 14914, 14916, 14918, 14921, 14920, 14923, 14925, 14927, 14929, 14932, 14934, 14937, 14936, 14939, 14941, 14943, 14945, 14947, 14949, 14953, 14951, 14955, 14959, 14957, 14962, 14964, 14967, 14966, 14970, 14972, 14974, 14976, 14977, 14982, 14979, 14985, 14984, 14989, 14987, 14991, 14995, 14993, 14997, 15001, 14999, 15003, 15005, 15007, 15009, 15011, 15013, 15019, 15015, 15017, 15022, 15024, 15026, 15028, 15030, 15032, 15034, 15036, 15038, 15040, 15043, 15042, 15045, 15047, 15049, 15051, 15053, 15055, 15059, 15057, 15061, 15063, 15065, 15067, 15069, 15075, 15071, 15073, 15079, 15077, 15081, 15091, 15083, 15087, 15085, 15089, 15093, 15095, 15098, 15101, 15100, 15105, 15104, 15109, 15107, 15113, 15111, 15115, 15117, 15119, 15123, 15121, 15127, 15125, 15130, 15132, 15134, 15136, 15138, 15139, 15141, 15145, 15143, 15147, 15153, 15149, 15151, 15155, 15157, 15159, 15161, 15163, 15165, 15167, 15170, 15172, 15174, 15176, 15178, 15180, 15182, 15184, 15185, 15187, 15190, 15192, 15194, 15196, 15198, 15200, 15201, 15203, 15207, 15205, 15209, 15211, 15215, 15213, 15223, 15217, 15219, 15221, 15225, 15227, 15229, 15231, 15233, 15235, 15237, 15239, 15243, 15241, 15245, 15247, 15249, 15251, 15253, 15255, 15257, 15259, 15262, 15261, 15264, 15266, 15271, 15269, 15273, 15275, 15277, 15279, 15281, 15286, 15283, 15284, 15288, 15292, 15290, 15296, 15294, 15300, 15298, 15302, 15304, 15307, 15309, 15311, 15313, 15317, 15315, 15321, 15319, 15323, 15325, 15327, 15329, 15333, 15331, 15337, 15335, 15339, 15341, 15343, 15345, 15347, 15351, 15349, 15354, 15353, 15358, 15356, 15360, 15364, 15362, 15366, 15368, 15369, 15373, 15371, 15379, 15375, 15378, 15381, 15383, 15385, 15387, 15395, 15389, 15391, 15393, 15399, 15397, 15402, 15406, 15404, 15408, 15410, 15412, 15414, 15416, 15418, 15422, 15420, 15424, 15426, 15429, 15428, 15431, 15437, 15433, 15435, 15439, 15447, 15441, 15443, 15446, 15449, 15451, 15453, 15455, 15457, 15459, 15463, 15461, 15465, 15467, 15469, 15473, 15471, 15475, 15477, 15479, 15481, 15483, 15485, 15491, 15487, 15490, 15494, 15496, 15498, 15500, 15502, 15504, 15510, 15506, 15508, 15514, 15512, 15518, 15516, 15522, 15520, 15524, 15526, 15527, 15530, 15532, 15534, 15536, 15538, 15542, 15540, 15544, 15550, 15546, 15548, 15554, 15552, 15556, 15558, 15560, 15562, 15564, 15566, 15569, 15572, 15571, 15574, 15576, 15578, 15588, 15580, 15584, 15582, 15586, 15592, 15591, 15594, 15597, 15599, 15601, 15604, 15603, 15606, 15612, 15610, 15608, 15614, 15620, 15616, 15618, 15626, 15622, 15624, 15630, 15628, 15634, 15632, 15636, 15642, 15638, 15640, 15644, 15648, 15646, 15650, 15652, 15656, 15654, 15658, 15660, 15664, 15662, 15668, 15666, 15672, 15670, 15676, 15674, 15678, 15680, 15682, 15686, 15684, 15688, 15690, 15692, 15694, 15697, 15699, 15701, 15703, 15705, 15707, 15708, 15710, 15712, 15715, 15718, 15717, 15721, 15722, 15725, 15727, 15729, 15731, 15733, 15734, 15736, 15738, 15742, 15740, 15744, 15746, 15750, 15748, 15754, 15752, 15756, 15758, 15760, 15764, 15762, 15766, 15768, 15770, 15772, 15775, 15777, 15779, 15781, 15783, 15785, 15786, 15788, 15793, 15790, 15795, 15799, 15797, 15801) AND companies.status IN ('A') 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 products.product_type != 'D' ORDER BY NULL

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_product_filters_get_current_filters() /var/www/agmarq.com/app/functions/fn.filters.php:1324
  • fn_product_filters_get_products_conditions() /var/www/agmarq.com/app/functions/fn.filters.php:1718
  • fn_product_filters_create_temporary_products_table() /var/www/agmarq.com/app/functions/fn.filters.php:1129
  • db_query() /var/www/agmarq.com/app/functions/fn.filters.php:1181
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/functions/fn.database.php:138
0.00497 Re-run Backtrace
83
SELECT agm_product_features_values.feature_id, agm_product_features_values.variant_id FROM agm_product_features_values INNER JOIN _product_filters_products_1 AS products ON products.product_id = agm_product_features_values.product_id   WHERE agm_product_features_values.feature_id IN (18, 548, 549) AND agm_product_features_values.lang_code = 'ar'   GROUP BY agm_product_features_values.variant_id ORDER BY NULL

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_product_filters_get_current_filters() /var/www/agmarq.com/app/functions/fn.filters.php:1324
  • db_get_hash_single_array() /var/www/agmarq.com/app/functions/fn.filters.php:1733
  • Tygh\Database\Connection::getSingleHash() /var/www/agmarq.com/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:571
0.00062 Re-run Backtrace
84
SELECT a.category_id
                 FROM agm_categories as a
                 LEFT JOIN agm_categories as b
                 ON b.category_id IN (1086)
                 WHERE a.id_path LIKE CONCAT(b.id_path, '/%')

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_product_filters_get_current_filters() /var/www/agmarq.com/app/functions/fn.filters.php:1324
  • fn_product_filters_get_products_conditions() /var/www/agmarq.com/app/functions/fn.filters.php:1883
  • fn_get_products() /var/www/agmarq.com/app/functions/fn.filters.php:1123
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.products.php:1919
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.02648 Re-run Backtrace
85
SELECT * FROM  agm_csc_filter_by_categories WHERE 1  AND agm_csc_filter_by_categories.company_id=0

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_product_filters_get_current_filters() /var/www/agmarq.com/app/functions/fn.filters.php:1324
  • fn_get_product_filter_fields() /var/www/agmarq.com/app/functions/fn.filters.php:1885
  • fn_set_hook() /var/www/agmarq.com/app/functions/fn.filters.php:979
  • fn_csc_filter_by_categories_get_product_filter_fields() /var/www/agmarq.com/app/functions/fn.control.php:123
  • csc_filter_by_categories::_zxev() /var/www/agmarq.com/app/addons/csc_filter_by_categories/func.php:36
  • eval() /var/www/agmarq.com/app/addons/csc_filter_by_categories/lic.php(1) : eval()'d code(5) : eval()'d code:1
  • fn_cfbc_get_setting_value() /var/www/agmarq.com/app/addons/csc_filter_by_categories/lic.php(1) : eval()'d code(5) : eval()'d code(1) : eval()'d code:2
  • Tygh\CscFilterByCategories::_get_option_values() /var/www/agmarq.com/app/addons/csc_filter_by_categories/func.php:28
  • csc_filter_by_categories::_format_options() /var/www/agmarq.com/app/addons/csc_filter_by_categories/Tygh/CscFilterByCategories.php:66
  • db_get_hash_single_array() /var/www/agmarq.com/app/addons/csc_filter_by_categories/lic.php(1) : eval()'d code(5) : eval()'d code:1
  • Tygh\Database\Connection::getSingleHash() /var/www/agmarq.com/app/functions/fn.database.php:111
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:571
0.00044 Re-run Backtrace
86
SELECT agm_products_categories.category_id as variant_id, IF(ccd2.category IS NOT NULL, CONCAT(ccd2.category, ' > ', ccd.category), ccd.category) as variant FROM agm_products_categories   LEFT JOIN agm_products as products ON products.product_id = agm_products_categories.product_id INNER JOIN agm_category_descriptions as ccd ON agm_products_categories.category_id= ccd.category_id
				AND ccd.lang_code='ar' INNER JOIN agm_categories as cc ON ccd.category_id=cc.category_id 
				LEFT JOIN agm_category_descriptions as ccd2 ON cc.parent_id= ccd2.category_id AND ccd2.lang_code='ar'  LEFT JOIN agm_companies AS companies ON companies.company_id = products.company_id  INNER JOIN agm_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN agm_categories ON agm_categories.category_id = products_categories.category_id  AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A', 'H') AND agm_categories.storefront_id IN (0, 4)  LEFT JOIN agm_supplier_links ON agm_supplier_links.object_id = products.product_id AND agm_supplier_links.object_type = 'P'  LEFT JOIN agm_warehouses_sum_products_amount as war_sum_amount ON war_sum_amount.product_id = products.product_id WHERE 1=1  AND cc.status='A' AND cc.company_id=0 AND agm_products_categories.link_type='M'  AND agm_categories.category_id IN (1086, 1089, 1087, 1088, 1092, 1090, 1091, 1094, 1093, 1096, 1095, 1098, 1097, 1101, 1099, 1100, 1103, 1102, 1105, 1104, 1107, 1106, 1109, 1108, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 14180, 14182, 14184, 14186, 14188, 14190, 14192, 14193, 14195, 14201, 14197, 14199, 14204, 14206, 14208, 14211, 14210, 14214, 14215, 14217, 14219, 14227, 14223, 14221, 14225, 14231, 14229, 14233, 14235, 14238, 14240, 14243, 14242, 14245, 14247, 14251, 14249, 14253, 14255, 14257, 14259, 14261, 14263, 14267, 14265, 14269, 14271, 14274, 14276, 14278, 14281, 14280, 14283, 14287, 14289, 14285, 14291, 14293, 14295, 14297, 14299, 14301, 14303, 14305, 14307, 14309, 14311, 14315, 14313, 14319, 14317, 14321, 14323, 14327, 14325, 14329, 14335, 14331, 14333, 14337, 14339, 14341, 14351, 14343, 14347, 14345, 14349, 14353, 14355, 14357, 14359, 14361, 14367, 14363, 14365, 14369, 14377, 14371, 14375, 14373, 14379, 14381, 14384, 14386, 14388, 14390, 14392, 14394, 14396, 14398, 14400, 14402, 14404, 14406, 14410, 14408, 14415, 14411, 14413, 14417, 14419, 14421, 14423, 14425, 14427, 14429, 14431, 14433, 14435, 14437, 14441, 14440, 14443, 14445, 14447, 14449, 14451, 14457, 14453, 14455, 14459, 14461, 14463, 14465, 14469, 14467, 14471, 14473, 14475, 14478, 14480, 14484, 14482, 14486, 14488, 14490, 14492, 14494, 14496, 14498, 14500, 14501, 14503, 14505, 14507, 14511, 14509, 14515, 14517, 14513, 14519, 14521, 14525, 14523, 14527, 14529, 14531, 14533, 14535, 14537, 14539, 14541, 14545, 14543, 14551, 14547, 14549, 14553, 14555, 14558, 14560, 14562, 14564, 14566, 14569, 14568, 14572, 14576, 14574, 14578, 14581, 14580, 14584, 14586, 14590, 14588, 14592, 14595, 14594, 14597, 14600, 14602, 14604, 14608, 14606, 14612, 14610, 14616, 14614, 14617, 14619, 14621, 14625, 14623, 14627, 14629, 14631, 14633, 14637, 14635, 14639, 14643, 14641, 14645, 14647, 14650, 14652, 14655, 14653, 14657, 14663, 14659, 14661, 14665, 14667, 14669, 14671, 14675, 14673, 14679, 14677, 14681, 14683, 14685, 14687, 14689, 14691, 14693, 14695, 14697, 14701, 14699, 14703, 14709, 14705, 14707, 14712, 14711, 14714, 14716, 14718, 14720, 14722, 14724, 14726, 14728, 14730, 14732, 14734, 14736, 14740, 14738, 14742, 14744, 14746, 14748, 14750, 14752, 14755, 14754, 14757, 14759, 14761, 14764, 14769, 14766, 14768, 14771, 14773, 14775, 14777, 14781, 14779, 14785, 14783, 14787, 14789, 14793, 14791, 14795, 14805, 14797, 14801, 14799, 14803, 14809, 14807, 14811, 14813, 14815, 14817, 14821, 14819, 14823, 14827, 14825, 14831, 14829, 14833, 14835, 14837, 14839, 14843, 14841, 14845, 14847, 14849, 14852, 14854, 14855, 14858, 14862, 14860, 14866, 14864, 14871, 14868, 14870, 14875, 14873, 14877, 14881, 14879, 14883, 14887, 14886, 14889, 14891, 14893, 14895, 14899, 14897, 14902, 14906, 14904, 14908, 14910, 14912, 14914, 14916, 14918, 14921, 14920, 14923, 14925, 14927, 14929, 14932, 14934, 14937, 14936, 14939, 14941, 14943, 14945, 14947, 14949, 14953, 14951, 14955, 14959, 14957, 14962, 14964, 14967, 14966, 14970, 14972, 14974, 14976, 14977, 14982, 14979, 14985, 14984, 14989, 14987, 14991, 14995, 14993, 14997, 15001, 14999, 15003, 15005, 15007, 15009, 15011, 15013, 15019, 15015, 15017, 15022, 15024, 15026, 15028, 15030, 15032, 15034, 15036, 15038, 15040, 15043, 15042, 15045, 15047, 15049, 15051, 15053, 15055, 15059, 15057, 15061, 15063, 15065, 15067, 15069, 15075, 15071, 15073, 15079, 15077, 15081, 15091, 15083, 15087, 15085, 15089, 15093, 15095, 15098, 15101, 15100, 15105, 15104, 15109, 15107, 15113, 15111, 15115, 15117, 15119, 15123, 15121, 15127, 15125, 15130, 15132, 15134, 15136, 15138, 15139, 15141, 15145, 15143, 15147, 15153, 15149, 15151, 15155, 15157, 15159, 15161, 15163, 15165, 15167, 15170, 15172, 15174, 15176, 15178, 15180, 15182, 15184, 15185, 15187, 15190, 15192, 15194, 15196, 15198, 15200, 15201, 15203, 15207, 15205, 15209, 15211, 15215, 15213, 15223, 15217, 15219, 15221, 15225, 15227, 15229, 15231, 15233, 15235, 15237, 15239, 15243, 15241, 15245, 15247, 15249, 15251, 15253, 15255, 15257, 15259, 15262, 15261, 15264, 15266, 15271, 15269, 15273, 15275, 15277, 15279, 15281, 15286, 15283, 15284, 15288, 15292, 15290, 15296, 15294, 15300, 15298, 15302, 15304, 15307, 15309, 15311, 15313, 15317, 15315, 15321, 15319, 15323, 15325, 15327, 15329, 15333, 15331, 15337, 15335, 15339, 15341, 15343, 15345, 15347, 15351, 15349, 15354, 15353, 15358, 15356, 15360, 15364, 15362, 15366, 15368, 15369, 15373, 15371, 15379, 15375, 15378, 15381, 15383, 15385, 15387, 15395, 15389, 15391, 15393, 15399, 15397, 15402, 15406, 15404, 15408, 15410, 15412, 15414, 15416, 15418, 15422, 15420, 15424, 15426, 15429, 15428, 15431, 15437, 15433, 15435, 15439, 15447, 15441, 15443, 15446, 15449, 15451, 15453, 15455, 15457, 15459, 15463, 15461, 15465, 15467, 15469, 15473, 15471, 15475, 15477, 15479, 15481, 15483, 15485, 15491, 15487, 15490, 15494, 15496, 15498, 15500, 15502, 15504, 15510, 15506, 15508, 15514, 15512, 15518, 15516, 15522, 15520, 15524, 15526, 15527, 15530, 15532, 15534, 15536, 15538, 15542, 15540, 15544, 15550, 15546, 15548, 15554, 15552, 15556, 15558, 15560, 15562, 15564, 15566, 15569, 15572, 15571, 15574, 15576, 15578, 15588, 15580, 15584, 15582, 15586, 15592, 15591, 15594, 15597, 15599, 15601, 15604, 15603, 15606, 15612, 15610, 15608, 15614, 15620, 15616, 15618, 15626, 15622, 15624, 15630, 15628, 15634, 15632, 15636, 15642, 15638, 15640, 15644, 15648, 15646, 15650, 15652, 15656, 15654, 15658, 15660, 15664, 15662, 15668, 15666, 15672, 15670, 15676, 15674, 15678, 15680, 15682, 15686, 15684, 15688, 15690, 15692, 15694, 15697, 15699, 15701, 15703, 15705, 15707, 15708, 15710, 15712, 15715, 15718, 15717, 15721, 15722, 15725, 15727, 15729, 15731, 15733, 15734, 15736, 15738, 15742, 15740, 15744, 15746, 15750, 15748, 15754, 15752, 15756, 15758, 15760, 15764, 15762, 15766, 15768, 15770, 15772, 15775, 15777, 15779, 15781, 15783, 15785, 15786, 15788, 15793, 15790, 15795, 15799, 15797, 15801) AND companies.status IN ('A') 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 products.product_type != 'D' GROUP BY agm_products_categories.category_id ORDER BY IF(ccd2.category IS NOT NULL, CONCAT(ccd2.category, ' > ', ccd.category), ccd.category) ASC

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_product_filters_get_current_filters() /var/www/agmarq.com/app/functions/fn.filters.php:1324
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.filters.php:1973
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00602 Re-run Backtrace
87
SELECT products.company_id as variant_id, company_descr.i18n_company as variant FROM agm_products  as products  LEFT JOIN agm_company_descriptions as company_descr ON company_descr.company_id = products.company_id AND company_descr.lang_code = 'ar'  LEFT JOIN agm_companies AS companies ON companies.company_id = products.company_id  INNER JOIN agm_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN agm_categories ON agm_categories.category_id = products_categories.category_id  AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A', 'H') AND agm_categories.storefront_id IN (0, 4)  LEFT JOIN agm_supplier_links ON agm_supplier_links.object_id = products.product_id AND agm_supplier_links.object_type = 'P'  LEFT JOIN agm_warehouses_sum_products_amount as war_sum_amount ON war_sum_amount.product_id = products.product_id WHERE 1=1   AND agm_categories.category_id IN (1086, 1089, 1087, 1088, 1092, 1090, 1091, 1094, 1093, 1096, 1095, 1098, 1097, 1101, 1099, 1100, 1103, 1102, 1105, 1104, 1107, 1106, 1109, 1108, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 14180, 14182, 14184, 14186, 14188, 14190, 14192, 14193, 14195, 14201, 14197, 14199, 14204, 14206, 14208, 14211, 14210, 14214, 14215, 14217, 14219, 14227, 14223, 14221, 14225, 14231, 14229, 14233, 14235, 14238, 14240, 14243, 14242, 14245, 14247, 14251, 14249, 14253, 14255, 14257, 14259, 14261, 14263, 14267, 14265, 14269, 14271, 14274, 14276, 14278, 14281, 14280, 14283, 14287, 14289, 14285, 14291, 14293, 14295, 14297, 14299, 14301, 14303, 14305, 14307, 14309, 14311, 14315, 14313, 14319, 14317, 14321, 14323, 14327, 14325, 14329, 14335, 14331, 14333, 14337, 14339, 14341, 14351, 14343, 14347, 14345, 14349, 14353, 14355, 14357, 14359, 14361, 14367, 14363, 14365, 14369, 14377, 14371, 14375, 14373, 14379, 14381, 14384, 14386, 14388, 14390, 14392, 14394, 14396, 14398, 14400, 14402, 14404, 14406, 14410, 14408, 14415, 14411, 14413, 14417, 14419, 14421, 14423, 14425, 14427, 14429, 14431, 14433, 14435, 14437, 14441, 14440, 14443, 14445, 14447, 14449, 14451, 14457, 14453, 14455, 14459, 14461, 14463, 14465, 14469, 14467, 14471, 14473, 14475, 14478, 14480, 14484, 14482, 14486, 14488, 14490, 14492, 14494, 14496, 14498, 14500, 14501, 14503, 14505, 14507, 14511, 14509, 14515, 14517, 14513, 14519, 14521, 14525, 14523, 14527, 14529, 14531, 14533, 14535, 14537, 14539, 14541, 14545, 14543, 14551, 14547, 14549, 14553, 14555, 14558, 14560, 14562, 14564, 14566, 14569, 14568, 14572, 14576, 14574, 14578, 14581, 14580, 14584, 14586, 14590, 14588, 14592, 14595, 14594, 14597, 14600, 14602, 14604, 14608, 14606, 14612, 14610, 14616, 14614, 14617, 14619, 14621, 14625, 14623, 14627, 14629, 14631, 14633, 14637, 14635, 14639, 14643, 14641, 14645, 14647, 14650, 14652, 14655, 14653, 14657, 14663, 14659, 14661, 14665, 14667, 14669, 14671, 14675, 14673, 14679, 14677, 14681, 14683, 14685, 14687, 14689, 14691, 14693, 14695, 14697, 14701, 14699, 14703, 14709, 14705, 14707, 14712, 14711, 14714, 14716, 14718, 14720, 14722, 14724, 14726, 14728, 14730, 14732, 14734, 14736, 14740, 14738, 14742, 14744, 14746, 14748, 14750, 14752, 14755, 14754, 14757, 14759, 14761, 14764, 14769, 14766, 14768, 14771, 14773, 14775, 14777, 14781, 14779, 14785, 14783, 14787, 14789, 14793, 14791, 14795, 14805, 14797, 14801, 14799, 14803, 14809, 14807, 14811, 14813, 14815, 14817, 14821, 14819, 14823, 14827, 14825, 14831, 14829, 14833, 14835, 14837, 14839, 14843, 14841, 14845, 14847, 14849, 14852, 14854, 14855, 14858, 14862, 14860, 14866, 14864, 14871, 14868, 14870, 14875, 14873, 14877, 14881, 14879, 14883, 14887, 14886, 14889, 14891, 14893, 14895, 14899, 14897, 14902, 14906, 14904, 14908, 14910, 14912, 14914, 14916, 14918, 14921, 14920, 14923, 14925, 14927, 14929, 14932, 14934, 14937, 14936, 14939, 14941, 14943, 14945, 14947, 14949, 14953, 14951, 14955, 14959, 14957, 14962, 14964, 14967, 14966, 14970, 14972, 14974, 14976, 14977, 14982, 14979, 14985, 14984, 14989, 14987, 14991, 14995, 14993, 14997, 15001, 14999, 15003, 15005, 15007, 15009, 15011, 15013, 15019, 15015, 15017, 15022, 15024, 15026, 15028, 15030, 15032, 15034, 15036, 15038, 15040, 15043, 15042, 15045, 15047, 15049, 15051, 15053, 15055, 15059, 15057, 15061, 15063, 15065, 15067, 15069, 15075, 15071, 15073, 15079, 15077, 15081, 15091, 15083, 15087, 15085, 15089, 15093, 15095, 15098, 15101, 15100, 15105, 15104, 15109, 15107, 15113, 15111, 15115, 15117, 15119, 15123, 15121, 15127, 15125, 15130, 15132, 15134, 15136, 15138, 15139, 15141, 15145, 15143, 15147, 15153, 15149, 15151, 15155, 15157, 15159, 15161, 15163, 15165, 15167, 15170, 15172, 15174, 15176, 15178, 15180, 15182, 15184, 15185, 15187, 15190, 15192, 15194, 15196, 15198, 15200, 15201, 15203, 15207, 15205, 15209, 15211, 15215, 15213, 15223, 15217, 15219, 15221, 15225, 15227, 15229, 15231, 15233, 15235, 15237, 15239, 15243, 15241, 15245, 15247, 15249, 15251, 15253, 15255, 15257, 15259, 15262, 15261, 15264, 15266, 15271, 15269, 15273, 15275, 15277, 15279, 15281, 15286, 15283, 15284, 15288, 15292, 15290, 15296, 15294, 15300, 15298, 15302, 15304, 15307, 15309, 15311, 15313, 15317, 15315, 15321, 15319, 15323, 15325, 15327, 15329, 15333, 15331, 15337, 15335, 15339, 15341, 15343, 15345, 15347, 15351, 15349, 15354, 15353, 15358, 15356, 15360, 15364, 15362, 15366, 15368, 15369, 15373, 15371, 15379, 15375, 15378, 15381, 15383, 15385, 15387, 15395, 15389, 15391, 15393, 15399, 15397, 15402, 15406, 15404, 15408, 15410, 15412, 15414, 15416, 15418, 15422, 15420, 15424, 15426, 15429, 15428, 15431, 15437, 15433, 15435, 15439, 15447, 15441, 15443, 15446, 15449, 15451, 15453, 15455, 15457, 15459, 15463, 15461, 15465, 15467, 15469, 15473, 15471, 15475, 15477, 15479, 15481, 15483, 15485, 15491, 15487, 15490, 15494, 15496, 15498, 15500, 15502, 15504, 15510, 15506, 15508, 15514, 15512, 15518, 15516, 15522, 15520, 15524, 15526, 15527, 15530, 15532, 15534, 15536, 15538, 15542, 15540, 15544, 15550, 15546, 15548, 15554, 15552, 15556, 15558, 15560, 15562, 15564, 15566, 15569, 15572, 15571, 15574, 15576, 15578, 15588, 15580, 15584, 15582, 15586, 15592, 15591, 15594, 15597, 15599, 15601, 15604, 15603, 15606, 15612, 15610, 15608, 15614, 15620, 15616, 15618, 15626, 15622, 15624, 15630, 15628, 15634, 15632, 15636, 15642, 15638, 15640, 15644, 15648, 15646, 15650, 15652, 15656, 15654, 15658, 15660, 15664, 15662, 15668, 15666, 15672, 15670, 15676, 15674, 15678, 15680, 15682, 15686, 15684, 15688, 15690, 15692, 15694, 15697, 15699, 15701, 15703, 15705, 15707, 15708, 15710, 15712, 15715, 15718, 15717, 15721, 15722, 15725, 15727, 15729, 15731, 15733, 15734, 15736, 15738, 15742, 15740, 15744, 15746, 15750, 15748, 15754, 15752, 15756, 15758, 15760, 15764, 15762, 15766, 15768, 15770, 15772, 15775, 15777, 15779, 15781, 15783, 15785, 15786, 15788, 15793, 15790, 15795, 15799, 15797, 15801) AND companies.status IN ('A') 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 products.product_type != 'D' GROUP BY products.company_id ORDER BY company_descr.i18n_company ASC

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_product_filters_get_current_filters() /var/www/agmarq.com/app/functions/fn.filters.php:1324
  • db_get_hash_array() /var/www/agmarq.com/app/functions/fn.filters.php:1973
  • Tygh\Database\Connection::getHash() /var/www/agmarq.com/app/functions/fn.database.php:48
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:370
0.00438 Re-run Backtrace
88
SELECT MIN(agm_product_prices.price) as min, MAX(agm_product_prices.price) as max FROM agm_product_prices   LEFT JOIN agm_products as products ON products.product_id = agm_product_prices.product_id
                    LEFT JOIN agm_product_prices as prices_2 ON agm_product_prices.product_id = prices_2.product_id AND agm_product_prices.price > prices_2.price AND prices_2.lower_limit = 1 AND prices_2.usergroup_id IN (0, 0, 1) INNER JOIN _product_filters_products_1 ON products.product_id = _product_filters_products_1.product_id  WHERE products.status IN ('A') 
                    AND agm_product_prices.lower_limit = 1 AND agm_product_prices.usergroup_id IN (0, 0, 1) AND prices_2.price IS NULL 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_product_filters_get_current_filters() /var/www/agmarq.com/app/functions/fn.filters.php:1324
  • db_get_row() /var/www/agmarq.com/app/functions/fn.filters.php:1957
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00052 Re-run Backtrace
89
DROP TEMPORARY TABLE _product_filters_products_1

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::getValue() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:666
  • Tygh\BlockManager\Block::getItems() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:810
  • call_user_func() /var/www/agmarq.com/app/Tygh/BlockManager/Block.php:974
  • fn_searchanise_get_filters_products_count()
  • fn_product_filters_get_filters_products_count() /var/www/agmarq.com/app/addons/searchanise/func.php:1361
  • fn_product_filters_get_current_filters() /var/www/agmarq.com/app/functions/fn.filters.php:1324
  • fn_product_filters_drop_temporary_products_tables() /var/www/agmarq.com/app/functions/fn.filters.php:2039
  • db_query() /var/www/agmarq.com/app/functions/fn.filters.php:1214
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/functions/fn.database.php:138
0.00020 Re-run Backtrace
90
SELECT a.* FROM agm_destination_elements as a LEFT JOIN agm_destinations as b ON b.destination_id = a.destination_id WHERE b.status = 'A' 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::registerBlockCacheIfNeeded() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:592
  • Tygh\BlockManager\RenderManager::execCallableHandlers() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:930
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:1029
  • fn_warehouses_blocks_get_customer_destination_id()
  • Tygh\Location\Manager::getDestinationId() /var/www/agmarq.com/app/addons/warehouses/schemas/block_manager/blocks.functions.php:29
  • fn_get_available_destination() /var/www/agmarq.com/app/Tygh/Location/Manager.php:409
  • db_get_array() /var/www/agmarq.com/app/functions/fn.locations.php:508
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00061 Re-run Backtrace
91
SELECT a.* FROM agm_destination_elements as a LEFT JOIN agm_destinations as b ON b.destination_id = a.destination_id WHERE b.status = 'A' 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::registerBlockCacheIfNeeded() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:592
  • Tygh\BlockManager\RenderManager::execCallableHandlers() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:930
  • call_user_func_array() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:1029
  • fn_warehouses_blocks_get_customer_destination_id()
  • Tygh\Location\Manager::getDestinationId() /var/www/agmarq.com/app/addons/warehouses/schemas/block_manager/blocks.functions.php:29
  • fn_get_available_destination() /var/www/agmarq.com/app/Tygh/Location/Manager.php:409
  • db_get_array() /var/www/agmarq.com/app/functions/fn.locations.php:508
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00051 Re-run Backtrace
92
SELECT id_path FROM agm_categories WHERE category_id IN (15247, 15373, 15385)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • fn_get_category_ids_with_parent() /var/www/agmarq.com/app/functions/fn.features.php:875
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.categories.php:2105
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00040 Re-run Backtrace
93
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 368  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) OR FIND_IN_SET(1119, f.categories_path) OR FIND_IN_SET(15373, f.categories_path) OR FIND_IN_SET(15385, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00048 Re-run Backtrace
94
SELECT id_path FROM agm_categories WHERE category_id IN (15149)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • fn_get_category_ids_with_parent() /var/www/agmarq.com/app/functions/fn.features.php:875
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.categories.php:2105
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00033 Re-run Backtrace
95
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 356  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1109, f.categories_path) OR FIND_IN_SET(1110, f.categories_path) OR FIND_IN_SET(15149, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00047 Re-run Backtrace
96
SELECT id_path FROM agm_categories WHERE category_id IN (15247, 15373)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • fn_get_category_ids_with_parent() /var/www/agmarq.com/app/functions/fn.features.php:875
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.categories.php:2105
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00045 Re-run Backtrace
97
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 365  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) OR FIND_IN_SET(1119, f.categories_path) OR FIND_IN_SET(15373, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00051 Re-run Backtrace
98
SELECT id_path FROM agm_categories WHERE category_id IN (1119, 15247)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • fn_get_category_ids_with_parent() /var/www/agmarq.com/app/functions/fn.features.php:875
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.categories.php:2105
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00039 Re-run Backtrace
99
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 364  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1119, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00051 Re-run Backtrace
100
SELECT id_path FROM agm_categories WHERE category_id IN (15588)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • fn_get_category_ids_with_parent() /var/www/agmarq.com/app/functions/fn.features.php:875
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.categories.php:2105
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00038 Re-run Backtrace
101
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 301  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1122, f.categories_path) OR FIND_IN_SET(1126, f.categories_path) OR FIND_IN_SET(15588, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00060 Re-run Backtrace
102
SELECT id_path FROM agm_categories WHERE category_id IN (15247)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • fn_get_category_ids_with_parent() /var/www/agmarq.com/app/functions/fn.features.php:875
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.categories.php:2105
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00035 Re-run Backtrace
103
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 353  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00054 Re-run Backtrace
104
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 352  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00079 Re-run Backtrace
105
SELECT id_path FROM agm_categories WHERE category_id IN (14190)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • fn_get_category_ids_with_parent() /var/www/agmarq.com/app/functions/fn.features.php:875
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.categories.php:2105
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00034 Re-run Backtrace
106
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 299  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1087, f.categories_path) OR FIND_IN_SET(1088, f.categories_path) OR FIND_IN_SET(14190, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00049 Re-run Backtrace
107
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 355  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00083 Re-run Backtrace
108
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 367  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00079 Re-run Backtrace
109
SELECT id_path FROM agm_categories WHERE category_id IN (15373)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • fn_get_category_ids_with_parent() /var/www/agmarq.com/app/functions/fn.features.php:875
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.categories.php:2105
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00035 Re-run Backtrace
110
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 369  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1119, f.categories_path) OR FIND_IN_SET(15373, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00057 Re-run Backtrace
111
SELECT id_path FROM agm_categories WHERE category_id IN (15247, 15385)

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • fn_get_category_ids_with_parent() /var/www/agmarq.com/app/functions/fn.features.php:875
  • db_get_fields() /var/www/agmarq.com/app/functions/fn.categories.php:2105
  • Tygh\Database\Connection::getColumn() /var/www/agmarq.com/app/functions/fn.database.php:85
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:479
0.00038 Re-run Backtrace
112
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 363  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) OR FIND_IN_SET(1119, f.categories_path) OR FIND_IN_SET(15385, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:131
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6de7de8_49094804() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/1b26d317c3f6ab9d20610503d86b652b70744d4d_2.tygh.products_multicolumns.tpl.php:38
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5a323c1_37175058() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/b250c6d6f195a2b8111c49f4e9965fc01ffe837c_2.tygh.grid_list.tpl.php:277
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:383
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273e5025c83_52571062() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_product_features_list() /var/www/agmarq.com/var/cache/templates/bright_theme/e9f50cbcbab6e815b0d466ba3d35034d998c392e_2.tygh.product_data.tpl.php:1299
  • db_get_array() /var/www/agmarq.com/app/functions/fn.features.php:955
  • Tygh\Database\Connection::getArray() /var/www/agmarq.com/app/functions/fn.database.php:35
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:332
0.00052 Re-run Backtrace
113
SELECT object_id, thread_id, type, object_type FROM agm_discussion  WHERE 1  AND object_id = 1086 AND object_type = 'C'   

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_block_hook() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:148
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/functions/smarty_plugins/block.hook.php:136
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6ec9302_58385486() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/8d8a354bee7a1af918221a0367b3cb4331796bf8_2.tygh.view.post.tpl.php:39
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6ef0776_26584716() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_discussion() /var/www/agmarq.com/var/cache/templates/bright_theme/eb582a18793aab56fea41445b3c6977479b1e063_2.tygh.block_view.tpl.php:122
  • db_get_row() /var/www/agmarq.com/app/addons/discussion/func.php:248
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00026 Re-run Backtrace
114
SELECT thread_id, type, object_type, object_id FROM agm_discussion WHERE thread_id = 4600 

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_block_hook() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:148
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/functions/smarty_plugins/block.hook.php:136
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6ec9302_58385486() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/8d8a354bee7a1af918221a0367b3cb4331796bf8_2.tygh.view.post.tpl.php:39
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6ef0776_26584716() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_discussion() /var/www/agmarq.com/var/cache/templates/bright_theme/eb582a18793aab56fea41445b3c6977479b1e063_2.tygh.block_view.tpl.php:122
  • fn_get_discussion_posts() /var/www/agmarq.com/app/addons/discussion/func.php:298
  • db_get_row() /var/www/agmarq.com/app/addons/discussion/func.php:353
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00018 Re-run Backtrace
115
SELECT AVG (dr.rating_value) FROM agm_discussion_rating AS dr LEFT JOIN agm_discussion_posts AS dp ON dp.post_id = dr.post_id LEFT JOIN agm_discussion AS d ON d.thread_id = dp.thread_id WHERE d.object_id = 1086 AND d.object_type = 'C' AND type IN ( 'B', 'R' )  AND dp.status = 'A' AND dr.rating_value > 0

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/functions/fn.control.php:632
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273c19ccc37_66020938() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_function_render_location() /var/www/agmarq.com/var/cache/templates/bright_theme/17f54f12005acbf063cc11c61dcc210a758d2cb0_2.tygh.index.tpl.php:161
  • Tygh\BlockManager\RenderManager::render() /var/www/agmarq.com/app/functions/smarty_plugins/function.render_location.php:52
  • Tygh\BlockManager\RenderManager::_renderContainer() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:164
  • Tygh\BlockManager\RenderManager::renderGrids() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:200
  • Tygh\BlockManager\RenderManager::renderGrid() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:230
  • Tygh\BlockManager\RenderManager::renderBlocks() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:373
  • Tygh\BlockManager\RenderManager::renderBlock() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:415
  • Tygh\BlockManager\RenderManager::renderBlockContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:493
  • Tygh\BlockManager\RenderManager::_renderMainContent() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:639
  • Tygh\SmartyEngine\Core::fetch() /var/www/agmarq.com/app/Tygh/BlockManager/RenderManager.php:786
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/Tygh/SmartyEngine/Core.php:81
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6dd1dd4_71110985() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • smarty_block_hook() /var/www/agmarq.com/var/cache/templates/bright_theme/fc79fb7b24bed3bfe878b59512bf447d0c523d6f_2.tygh.view.tpl.php:148
  • Smarty_Internal_TemplateBase::fetch() /var/www/agmarq.com/app/functions/smarty_plugins/block.hook.php:136
  • Smarty_Internal_TemplateBase::_execute() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6ec9302_58385486() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • Smarty_Internal_Template::_subTemplateRender() /var/www/agmarq.com/var/cache/templates/bright_theme/8d8a354bee7a1af918221a0367b3cb4331796bf8_2.tygh.view.post.tpl.php:39
  • Smarty_Internal_Template::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:385
  • Smarty_Template_Compiled::render() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:216
  • Smarty_Template_Resource_Base::getRenderedTemplateCode() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114
  • content_67f273f6ef0776_26584716() /var/www/agmarq.com/app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123
  • fn_get_discussion() /var/www/agmarq.com/var/cache/templates/bright_theme/eb582a18793aab56fea41445b3c6977479b1e063_2.tygh.block_view.tpl.php:122
  • fn_discussion_get_average_object_rating() /var/www/agmarq.com/app/addons/discussion/func.php:300
  • db_get_field() /var/www/agmarq.com/app/addons/discussion/func.php:976
  • Tygh\Database\Connection::getField() /var/www/agmarq.com/app/functions/fn.database.php:73
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:447
0.00030 Re-run Backtrace
116
SELECT data FROM agm_storage_data WHERE data_key = 'restrictions'

    Backtrace

  • fn_dispatch() /var/www/agmarq.com/index.php:19
  • Tygh\Application::offsetGet() /var/www/agmarq.com/app/functions/fn.control.php:648
  • Pimple\Container::offsetGet() /var/www/agmarq.com/app/Tygh/Application.php:135
  • Tygh\Providers\CommonProvider::Tygh\Providers\{closure}() /var/www/agmarq.com/app/lib/vendor/pimple/pimple/src/Pimple/Container.php:122
  • fn_get_storage_data() /var/www/agmarq.com/app/Tygh/Providers/CommonProvider.php:77
  • db_get_row() /var/www/agmarq.com/app/functions/fn.control.php:1067
  • Tygh\Database\Connection::getRow() /var/www/agmarq.com/app/functions/fn.database.php:60
  • Tygh\Database\Connection::query() /var/www/agmarq.com/app/Tygh/Database/Connection.php:413
0.00040 Re-run Backtrace

Warning Some queries are being executed multiple times

Queries max count: 10
Query Count Min time Max time Average time
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 14   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 
10 0.00020 0.00045 0.00027
SELECT a.* FROM agm_destination_elements as a LEFT JOIN agm_destinations as b ON b.destination_id = a.destination_id WHERE b.status = 'A' 
5 0.00051 0.00079 0.00065
SELECT a.category_id
                 FROM agm_categories as a
                 LEFT JOIN agm_categories as b
                 ON b.category_id IN (1086)
                 WHERE a.id_path LIKE CONCAT(b.id_path, '/%')
3 0.02648 0.05111 0.04075
SELECT * FROM agm_hybrid_auth_providers WHERE 1  AND status = 'A' ORDER BY position
2 0.00017 0.00035 0.00026
SELECT agm_promotions.*, agm_promotion_descriptions.name, agm_promotion_descriptions.detailed_description, agm_promotion_descriptions.short_description FROM agm_promotions  LEFT JOIN agm_promotion_descriptions ON agm_promotion_descriptions.promotion_id = agm_promotions.promotion_id AND agm_promotion_descriptions.lang_code = 'ar' LEFT JOIN agm_storefronts_promotions AS storefronts_promotions ON storefronts_promotions.promotion_id = agm_promotions.promotion_id WHERE 1  AND IF(from_date, from_date <= 1744055887, 1) AND IF(to_date, to_date >= 1744055887, 1) AND status IN ('A', 'H') AND agm_promotions.zone = 'catalog' AND (storefronts_promotions.storefront_id = 4 OR storefronts_promotions.storefront_id IS NULL) AND agm_promotions.company_id = 3   ORDER BY agm_promotions.stop_other_rules desc, agm_promotions.priority asc 
2 0.00019 0.00045 0.00032
SELECT data FROM agm_storage_data WHERE data_key = 'store_mode'
1 0.00036 0.00036 0.00036
SELECT storefronts.* FROM agm_storefronts AS storefronts  WHERE 1 = 1 AND (storefronts.url = 'agmarq.com' OR storefronts.url = 'www.agmarq.com' OR storefronts.url LIKE 'www_.agmarq.com' OR storefronts.url LIKE 'agmarq.com/%' OR storefronts.url LIKE 'www.agmarq.com/%' OR storefronts.url LIKE 'www_.agmarq.com/%') GROUP BY storefronts.storefront_id   ORDER BY storefronts.url = 'agmarq.com' DESC, storefronts.url = 'www.agmarq.com' DESC, storefronts.url LIKE 'www_.agmarq.com' DESC, storefronts.url LIKE 'agmarq.com/%' DESC, storefronts.url LIKE 'www.agmarq.com/%' DESC, storefronts.url LIKE 'www_.agmarq.com/%' desc 
1 0.00016 0.00016 0.00016
SET time_zone = '+05:00'
1 0.00030 0.00030 0.00030
SELECT data FROM agm_storage_data WHERE data_key = 'ms_time_check_ms_smart_description'
1 0.00039 0.00039 0.00039
SELECT type FROM agm_seo_names WHERE name = 'business-and-audit-services-ar' 
1 0.00036 0.00036 0.00036
SELECT * FROM agm_seo_names WHERE name = 'business-and-audit-services-ar'  AND lang_code = 'ar'
1 0.00027 0.00027 0.00027
SELECT agm_languages.lang_code, agm_languages.name FROM agm_languages  WHERE 1 AND agm_languages.status = 'A'   
1 0.00016 0.00016 0.00016
SELECT storefronts.* FROM agm_storefronts AS storefronts  WHERE 1 = 1 AND storefronts.storefront_id IN (4) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00018 0.00018 0.00018
SELECT name, path FROM agm_seo_names WHERE `object_id` = 1086 AND `type` = 'c' AND `dispatch` = '' AND `lang_code` = 'ar' 
1 0.00032 0.00032 0.00032
SELECT agm_bm_layouts.* FROM agm_bm_layouts  WHERE 1  AND is_default = 1 AND theme_name = 'bright_theme' AND storefront_id = 4
1 0.00014 0.00014 0.00014
SELECT data FROM agm_storage_data WHERE data_key = 'cart_products_next_check'
1 0.00074 0.00074 0.00074
SELECT data FROM agm_storage_data WHERE data_key = 'dev_mode'
1 0.00019 0.00019 0.00019
SELECT * FROM agm_languages WHERE status = 'A'
1 0.00016 0.00016 0.00016
SELECT * FROM agm_se_settings
1 0.00009 0.00009 0.00009
SELECT * FROM agm_bm_layouts WHERE 1  AND storefront_id = 4 AND layout_id = 7
1 0.00017 0.00017 0.00017
SELECT * FROM agm_bm_locations as l LEFT JOIN agm_bm_locations_descriptions as d ON d.location_id = l.location_id AND d.lang_code = 'ar' WHERE l.layout_id = 7  AND l.dispatch IN ('categories.view') AND (FIND_IN_SET(1086, l.object_ids) OR l.object_ids = '')  ORDER BY l.object_ids desc  LIMIT 1
1 0.00040 0.00040 0.00040
SELECT data FROM agm_storage_data WHERE data_key = 'cache_id'
1 0.00020 0.00020 0.00020
SELECT usergroup_ids FROM agm_categories WHERE category_id = 1086
1 0.00016 0.00016 0.00016
SELECT category_id FROM agm_categories WHERE category_id = 1086  AND (usergroup_ids = '' OR FIND_IN_SET(0, usergroup_ids) OR FIND_IN_SET(1, usergroup_ids)) AND status IN ('A', 'H') AND agm_categories.storefront_id IN (0, 4)
1 0.00015 0.00015 0.00015
SELECT category_id FROM agm_categories WHERE category_type = 'D'
1 0.04580 0.04580 0.04580
SELECT id_path FROM agm_categories WHERE category_id = 1086
1 0.00034 0.00034 0.00034
SELECT agm_categories.category_id,agm_categories.parent_id,agm_categories.id_path,agm_category_descriptions.category,agm_categories.position,agm_categories.status,agm_categories.company_id,agm_categories.storefront_id,agm_seo_names.name as seo_name,agm_seo_names.path as seo_path FROM agm_categories LEFT JOIN agm_category_descriptions ON agm_categories.category_id = agm_category_descriptions.category_id AND agm_category_descriptions.lang_code = 'ar'  LEFT JOIN agm_seo_names ON agm_seo_names.object_id = agm_categories.category_id  AND agm_seo_names.type = 'c'  AND agm_seo_names.dispatch = '' AND agm_seo_names.lang_code = 'ar'  WHERE 1=1  AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A') AND agm_categories.parent_id IN (1086) AND agm_categories.id_path LIKE '1086/%' AND agm_categories.category_id != 264 AND agm_categories.parent_id != 264 AND agm_categories.storefront_id IN (0, 4)   ORDER BY agm_categories.is_trash asc, agm_categories.position asc, agm_category_descriptions.category asc 
1 0.00077 0.00077 0.00077
SELECT category_id, parent_id FROM agm_categories WHERE parent_id IN(1087, 1127, 1122, 1133, 1137, 1113, 1090, 1131, 1109, 1099)  AND category_id != 264
1 0.00038 0.00038 0.00038
SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.image_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'category' AND agm_images_links.type = 'M' AND agm_images_links.object_id IN (1087, 1127, 1122, 1133, 1137, 1113, 1090, 1131, 1109, 1099) ORDER BY agm_images_links.position, agm_images_links.pair_id;SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.detailed_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'category' AND agm_images_links.type = 'M' AND agm_images_links.object_id IN (1087, 1127, 1122, 1133, 1137, 1113, 1090, 1131, 1109, 1099) ORDER BY agm_images_links.position, agm_images_links.pair_id
1 0.00039 0.00039 0.00039
SELECT *, agm_seo_names.name as seo_name, agm_seo_names.path as seo_path FROM agm_categories LEFT JOIN agm_category_descriptions ON agm_category_descriptions.category_id = agm_categories.category_id AND agm_category_descriptions.lang_code = 'ar'  LEFT JOIN agm_seo_names ON agm_seo_names.object_id = 1086  AND agm_seo_names.type = 'c'  AND agm_seo_names.dispatch = '' AND agm_seo_names.lang_code = 'ar'  WHERE agm_categories.category_id = 1086 AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids))
1 0.00039 0.00039 0.00039
SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.image_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'category' AND agm_images_links.type = 'M' AND agm_images_links.object_id = '1086' ORDER BY agm_images_links.position, agm_images_links.pair_id;SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.detailed_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'category' AND agm_images_links.type = 'M' AND agm_images_links.object_id = '1086' ORDER BY agm_images_links.position, agm_images_links.pair_id
1 0.00036 0.00036 0.00036
SELECT company_id FROM agm_storefronts_companies WHERE storefront_id = 4
1 0.00023 0.00023 0.00023
SELECT SQL_CALC_FOUND_ROWS products.product_id, descr1.product as product, companies.company as company_name, agm_supplier_links.supplier_id, products.product_type, products.parent_product_id FROM agm_products as products  LEFT JOIN agm_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'ar'  LEFT JOIN agm_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN agm_companies AS companies ON companies.company_id = products.company_id  INNER JOIN agm_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN agm_categories ON agm_categories.category_id = products_categories.category_id  AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A', 'H') AND agm_categories.storefront_id IN (0, 4)  LEFT JOIN agm_supplier_links ON agm_supplier_links.object_id = products.product_id AND agm_supplier_links.object_type = 'P'  LEFT JOIN agm_warehouses_sum_products_amount as war_sum_amount ON war_sum_amount.product_id = products.product_id WHERE 1  AND agm_categories.category_id IN (1086, 1089, 1087, 1088, 1092, 1090, 1091, 1094, 1093, 1096, 1095, 1098, 1097, 1101, 1099, 1100, 1103, 1102, 1105, 1104, 1107, 1106, 1109, 1108, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 14180, 14182, 14184, 14186, 14188, 14190, 14192, 14193, 14195, 14201, 14197, 14199, 14204, 14206, 14208, 14211, 14210, 14214, 14215, 14217, 14219, 14227, 14223, 14221, 14225, 14231, 14229, 14233, 14235, 14238, 14240, 14243, 14242, 14245, 14247, 14251, 14249, 14253, 14255, 14257, 14259, 14261, 14263, 14267, 14265, 14269, 14271, 14274, 14276, 14278, 14281, 14280, 14283, 14287, 14289, 14285, 14291, 14293, 14295, 14297, 14299, 14301, 14303, 14305, 14307, 14309, 14311, 14315, 14313, 14319, 14317, 14321, 14323, 14327, 14325, 14329, 14335, 14331, 14333, 14337, 14339, 14341, 14351, 14343, 14347, 14345, 14349, 14353, 14355, 14357, 14359, 14361, 14367, 14363, 14365, 14369, 14377, 14371, 14375, 14373, 14379, 14381, 14384, 14386, 14388, 14390, 14392, 14394, 14396, 14398, 14400, 14402, 14404, 14406, 14410, 14408, 14415, 14411, 14413, 14417, 14419, 14421, 14423, 14425, 14427, 14429, 14431, 14433, 14435, 14437, 14441, 14440, 14443, 14445, 14447, 14449, 14451, 14457, 14453, 14455, 14459, 14461, 14463, 14465, 14469, 14467, 14471, 14473, 14475, 14478, 14480, 14484, 14482, 14486, 14488, 14490, 14492, 14494, 14496, 14498, 14500, 14501, 14503, 14505, 14507, 14511, 14509, 14515, 14517, 14513, 14519, 14521, 14525, 14523, 14527, 14529, 14531, 14533, 14535, 14537, 14539, 14541, 14545, 14543, 14551, 14547, 14549, 14553, 14555, 14558, 14560, 14562, 14564, 14566, 14569, 14568, 14572, 14576, 14574, 14578, 14581, 14580, 14584, 14586, 14590, 14588, 14592, 14595, 14594, 14597, 14600, 14602, 14604, 14608, 14606, 14612, 14610, 14616, 14614, 14617, 14619, 14621, 14625, 14623, 14627, 14629, 14631, 14633, 14637, 14635, 14639, 14643, 14641, 14645, 14647, 14650, 14652, 14655, 14653, 14657, 14663, 14659, 14661, 14665, 14667, 14669, 14671, 14675, 14673, 14679, 14677, 14681, 14683, 14685, 14687, 14689, 14691, 14693, 14695, 14697, 14701, 14699, 14703, 14709, 14705, 14707, 14712, 14711, 14714, 14716, 14718, 14720, 14722, 14724, 14726, 14728, 14730, 14732, 14734, 14736, 14740, 14738, 14742, 14744, 14746, 14748, 14750, 14752, 14755, 14754, 14757, 14759, 14761, 14764, 14769, 14766, 14768, 14771, 14773, 14775, 14777, 14781, 14779, 14785, 14783, 14787, 14789, 14793, 14791, 14795, 14805, 14797, 14801, 14799, 14803, 14809, 14807, 14811, 14813, 14815, 14817, 14821, 14819, 14823, 14827, 14825, 14831, 14829, 14833, 14835, 14837, 14839, 14843, 14841, 14845, 14847, 14849, 14852, 14854, 14855, 14858, 14862, 14860, 14866, 14864, 14871, 14868, 14870, 14875, 14873, 14877, 14881, 14879, 14883, 14887, 14886, 14889, 14891, 14893, 14895, 14899, 14897, 14902, 14906, 14904, 14908, 14910, 14912, 14914, 14916, 14918, 14921, 14920, 14923, 14925, 14927, 14929, 14932, 14934, 14937, 14936, 14939, 14941, 14943, 14945, 14947, 14949, 14953, 14951, 14955, 14959, 14957, 14962, 14964, 14967, 14966, 14970, 14972, 14974, 14976, 14977, 14982, 14979, 14985, 14984, 14989, 14987, 14991, 14995, 14993, 14997, 15001, 14999, 15003, 15005, 15007, 15009, 15011, 15013, 15019, 15015, 15017, 15022, 15024, 15026, 15028, 15030, 15032, 15034, 15036, 15038, 15040, 15043, 15042, 15045, 15047, 15049, 15051, 15053, 15055, 15059, 15057, 15061, 15063, 15065, 15067, 15069, 15075, 15071, 15073, 15079, 15077, 15081, 15091, 15083, 15087, 15085, 15089, 15093, 15095, 15098, 15101, 15100, 15105, 15104, 15109, 15107, 15113, 15111, 15115, 15117, 15119, 15123, 15121, 15127, 15125, 15130, 15132, 15134, 15136, 15138, 15139, 15141, 15145, 15143, 15147, 15153, 15149, 15151, 15155, 15157, 15159, 15161, 15163, 15165, 15167, 15170, 15172, 15174, 15176, 15178, 15180, 15182, 15184, 15185, 15187, 15190, 15192, 15194, 15196, 15198, 15200, 15201, 15203, 15207, 15205, 15209, 15211, 15215, 15213, 15223, 15217, 15219, 15221, 15225, 15227, 15229, 15231, 15233, 15235, 15237, 15239, 15243, 15241, 15245, 15247, 15249, 15251, 15253, 15255, 15257, 15259, 15262, 15261, 15264, 15266, 15271, 15269, 15273, 15275, 15277, 15279, 15281, 15286, 15283, 15284, 15288, 15292, 15290, 15296, 15294, 15300, 15298, 15302, 15304, 15307, 15309, 15311, 15313, 15317, 15315, 15321, 15319, 15323, 15325, 15327, 15329, 15333, 15331, 15337, 15335, 15339, 15341, 15343, 15345, 15347, 15351, 15349, 15354, 15353, 15358, 15356, 15360, 15364, 15362, 15366, 15368, 15369, 15373, 15371, 15379, 15375, 15378, 15381, 15383, 15385, 15387, 15395, 15389, 15391, 15393, 15399, 15397, 15402, 15406, 15404, 15408, 15410, 15412, 15414, 15416, 15418, 15422, 15420, 15424, 15426, 15429, 15428, 15431, 15437, 15433, 15435, 15439, 15447, 15441, 15443, 15446, 15449, 15451, 15453, 15455, 15457, 15459, 15463, 15461, 15465, 15467, 15469, 15473, 15471, 15475, 15477, 15479, 15481, 15483, 15485, 15491, 15487, 15490, 15494, 15496, 15498, 15500, 15502, 15504, 15510, 15506, 15508, 15514, 15512, 15518, 15516, 15522, 15520, 15524, 15526, 15527, 15530, 15532, 15534, 15536, 15538, 15542, 15540, 15544, 15550, 15546, 15548, 15554, 15552, 15556, 15558, 15560, 15562, 15564, 15566, 15569, 15572, 15571, 15574, 15576, 15578, 15588, 15580, 15584, 15582, 15586, 15592, 15591, 15594, 15597, 15599, 15601, 15604, 15603, 15606, 15612, 15610, 15608, 15614, 15620, 15616, 15618, 15626, 15622, 15624, 15630, 15628, 15634, 15632, 15636, 15642, 15638, 15640, 15644, 15648, 15646, 15650, 15652, 15656, 15654, 15658, 15660, 15664, 15662, 15668, 15666, 15672, 15670, 15676, 15674, 15678, 15680, 15682, 15686, 15684, 15688, 15690, 15692, 15694, 15697, 15699, 15701, 15703, 15705, 15707, 15708, 15710, 15712, 15715, 15718, 15717, 15721, 15722, 15725, 15727, 15729, 15731, 15733, 15734, 15736, 15738, 15742, 15740, 15744, 15746, 15750, 15748, 15754, 15752, 15756, 15758, 15760, 15764, 15762, 15766, 15768, 15770, 15772, 15775, 15777, 15779, 15781, 15783, 15785, 15786, 15788, 15793, 15790, 15795, 15799, 15797, 15801) AND companies.status IN ('A') 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.product_type != 'D' GROUP BY products.product_id   ORDER BY product asc, products.product_id ASC  LIMIT 0, 12
1 0.00604 0.00604 0.00604
SELECT FOUND_ROWS()
1 0.00020 0.00020 0.00020
SELECT agm_products.*, agm_products.ebay_status, agm_products.ebay_template_id FROM agm_products  WHERE agm_products.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)  
1 0.00038 0.00038 0.00038
SELECT agm_product_prices.product_id, MIN(IF(agm_product_prices.percentage_discount = 0,agm_product_prices.price,agm_product_prices.price - (agm_product_prices.price * agm_product_prices.percentage_discount)/100)) AS price FROM agm_product_prices  WHERE agm_product_prices.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)  AND agm_product_prices.lower_limit = 1 AND agm_product_prices.usergroup_id IN (0, 1)  GROUP BY agm_product_prices.product_id
1 0.00041 0.00041 0.00041
SELECT agm_product_descriptions.product_id, agm_product_descriptions.short_description, IF(agm_product_descriptions.short_description = '' OR agm_product_descriptions.short_description IS NULL, agm_product_descriptions.full_description, '') AS full_description, agm_product_descriptions.unit_name FROM agm_product_descriptions  WHERE agm_product_descriptions.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)  AND agm_product_descriptions.lang_code = 'ar' 
1 0.00030 0.00030 0.00030
SELECT agm_products_categories.product_id, GROUP_CONCAT(IF(agm_products_categories.link_type = "M", CONCAT(agm_products_categories.category_id, "M"), agm_products_categories.category_id)) AS category_ids, product_position_source.position AS position FROM agm_products_categories  INNER JOIN agm_categories ON agm_categories.category_id = agm_products_categories.category_id AND agm_categories.storefront_id IN (0, 4) AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A', 'H')  LEFT JOIN agm_products_categories AS product_position_source ON agm_products_categories.product_id = product_position_source.product_id AND product_position_source.category_id = 1086 WHERE agm_products_categories.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)   GROUP BY agm_products_categories.product_id
1 0.00063 0.00063 0.00063
SELECT agm_seo_names.object_id AS product_id, agm_seo_names.name AS seo_name, agm_seo_names.path AS seo_path FROM agm_seo_names  WHERE agm_seo_names.object_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)  AND agm_seo_names.type = "p" AND agm_seo_names.dispatch = "" AND agm_seo_names.lang_code = 'ar'  
1 0.00054 0.00054 0.00054
SELECT agm_product_review_prepared_data.product_id AS product_id, agm_product_review_prepared_data.average_rating AS average_rating, agm_product_review_prepared_data.reviews_count AS reviews_count FROM agm_product_review_prepared_data  WHERE agm_product_review_prepared_data.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)  AND agm_product_review_prepared_data.storefront_id = 0 
1 0.00022 0.00022 0.00022
SELECT product_id, amount FROM agm_warehouses_sum_products_amount WHERE 1 AND product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)
1 0.00015 0.00015 0.00015
SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.image_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'product' AND agm_images_links.type = 'M' AND agm_images_links.object_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) ORDER BY agm_images_links.position, agm_images_links.pair_id;SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.detailed_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'product' AND agm_images_links.type = 'M' AND agm_images_links.object_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) ORDER BY agm_images_links.position, agm_images_links.pair_id
1 0.00068 0.00068 0.00068
SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.image_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'product' AND agm_images_links.type = 'A' AND agm_images_links.object_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) ORDER BY agm_images_links.position, agm_images_links.pair_id;SELECT agm_images.*, agm_images_links.*, agm_common_descriptions.description AS alt, agm_images.image_id AS images_image_id FROM agm_images_links LEFT JOIN agm_images ON agm_images_links.detailed_id = agm_images.image_id LEFT JOIN agm_common_descriptions ON agm_common_descriptions.object_id = agm_images.image_id AND agm_common_descriptions.object_holder = 'images' AND agm_common_descriptions.lang_code = 'ar' WHERE agm_images_links.object_type = 'product' AND agm_images_links.type = 'A' AND agm_images_links.object_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) ORDER BY agm_images_links.position, agm_images_links.pair_id
1 0.00061 0.00061 0.00061
SELECT a.*, b.option_name, b.internal_option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM agm_product_options as a  LEFT JOIN agm_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'ar'  WHERE a.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) AND a.status = 'A' ORDER BY a.position
1 0.00031 0.00031 0.00031
SELECT c.product_id AS cur_product_id, a.*, b.option_name, b.internal_option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM agm_product_options as a LEFT JOIN agm_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'ar' LEFT JOIN agm_product_global_option_links as c ON c.option_id = a.option_id WHERE c.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) AND a.product_id = 0 AND a.status = 'A' ORDER BY a.position
1 0.00033 0.00033 0.00033
SELECT agm_languages.* FROM agm_languages  WHERE 1    
1 0.00022 0.00022 0.00022
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('1') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00028 0.00028 0.00028
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('2') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00085 0.00085 0.00085
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('3') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00143 0.00143 0.00143
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('4') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00036 0.00036 0.00036
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('5') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00045 0.00045 0.00045
SELECT storefronts.* FROM agm_storefronts AS storefronts LEFT JOIN agm_storefronts_languages AS languages ON storefronts.storefront_id = languages.storefront_id WHERE 1 = 1 AND (languages.language_id IN ('6') ) GROUP BY storefronts.storefront_id   ORDER BY storefronts.is_default desc 
1 0.00025 0.00025 0.00025
SELECT f.feature_id, f.purpose, p.product_id, p.parent_product_id, g.id, g.code FROM agm_product_variation_group_features AS f INNER JOIN agm_product_variation_groups AS g ON f.group_id = g.id INNER JOIN agm_product_variation_group_products AS p ON f.group_id = p.group_id WHERE p.product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363)
1 0.00024 0.00024 0.00024
SELECT product_id FROM agm_products WHERE product_type = 'D'
1 0.00121 0.00121 0.00121
SELECT a.code, b.state FROM agm_states as a LEFT JOIN agm_state_descriptions as b ON b.state_id = a.state_id AND b.lang_code = 'ar' WHERE  a.country_code = 'US' ORDER BY b.state
1 0.00077 0.00077 0.00077
SELECT state_id FROM agm_states WHERE code = 'MA' AND country_code = 'US'
1 0.00067 0.00067 0.00067
SELECT a.code, b.state FROM agm_states as a LEFT JOIN agm_state_descriptions as b ON b.state_id = a.state_id AND b.lang_code = 'ar' WHERE  a.country_code = 'US' AND a.status = 'A' ORDER BY b.state
1 0.00046 0.00046 0.00046
SELECT product_id, amount FROM agm_warehouses_destination_products_amount WHERE product_id IN (368, 356, 365, 364, 301, 353, 352, 299, 355, 367, 369, 363) AND destination_id = 7 AND storefront_id = 0
1 0.00011 0.00011 0.00011
SELECT default_view, selected_views FROM agm_categories WHERE category_id = 1086
1 0.00026 0.00026 0.00026
SELECT privilege FROM agm_usergroup_privileges WHERE usergroup_id IN (0, 1)
1 0.00016 0.00016 0.00016
SELECT name, path FROM agm_seo_names WHERE `object_id` = 1086 AND `type` = 'c' AND `dispatch` = '' AND `lang_code` = 'en' 
1 0.00023 0.00023 0.00023
SELECT c.* FROM agm_bm_containers as c  WHERE 1  AND c.location_id = 121 AND c.company_id = 0
1 0.00061 0.00061 0.00061
SELECT layout_id FROM agm_bm_locations WHERE location_id = 121
1 0.00016 0.00016 0.00016
SELECT c.*, IF (c.location_id != 121, 0, 1) as `default` FROM agm_bm_containers as c  INNER JOIN agm_bm_locations as l ON c.location_id = l.location_id AND l.is_default = 1 AND l.layout_id = 7 WHERE 1  AND c.position IN ('TOP_PANEL', 'HEADER', 'FOOTER') AND c.company_id = 0
1 0.00040 0.00040 0.00040
SELECT * FROM agm_bm_containers as c LEFT JOIN agm_bm_grids as g ON g.container_id = c.container_id WHERE 1  AND g.container_id IN (469, 470, 483, 472) ORDER BY g.order, g.parent_id, g.grid_id ASC
1 0.00060 0.00060 0.00060
SELECT agm_bm_snapping.grid_id as grid_id,agm_bm_snapping.block_id as block_id,IFNULL(dynamic_object_content.content, default_content.content) as content,IFNULL(dynamic_object_content.object_id, default_content.object_id) AS object_id,IFNULL(dynamic_object_content.object_type, default_content.object_type) AS object_type,agm_bm_block_statuses.object_ids as object_ids,agm_bm_snapping.*,agm_bm_blocks.*,agm_bm_blocks_descriptions.* FROM agm_bm_snapping LEFT JOIN agm_bm_blocks ON agm_bm_blocks.block_id = agm_bm_snapping.block_id LEFT JOIN agm_bm_block_statuses ON agm_bm_snapping.snapping_id = agm_bm_block_statuses.snapping_id AND agm_bm_block_statuses.object_type LIKE 'categories' LEFT JOIN agm_bm_blocks_descriptions ON agm_bm_blocks.block_id = agm_bm_blocks_descriptions.block_id  LEFT JOIN agm_bm_blocks_content AS default_content ON agm_bm_blocks.block_id = default_content.block_id AND agm_bm_blocks_descriptions.lang_code = default_content.lang_code AND default_content.snapping_id = 0 AND default_content.object_id = 0 AND default_content.object_type like '' LEFT JOIN agm_bm_blocks_content AS dynamic_object_content ON agm_bm_blocks.block_id = dynamic_object_content.block_id AND agm_bm_blocks_descriptions.lang_code = dynamic_object_content.lang_code AND dynamic_object_content.object_id = 1086 AND dynamic_object_content.object_type like 'categories' WHERE agm_bm_snapping.grid_id IN (552, 553, 554, 555, 558, 559, 556, 557, 560, 563, 566, 571, 564, 565, 567, 568, 569, 570, 572, 573, 588, 589, 590)  AND agm_bm_blocks_descriptions.lang_code='ar'  ORDER BY agm_bm_snapping.order, agm_bm_snapping.block_id 
1 0.00109 0.00109 0.00109
SELECT feature_id, feature_type FROM agm_product_features WHERE feature_id IN (18, 549, 548)
1 0.00020 0.00020 0.00020
CREATE TEMPORARY TABLE _product_filters_products_1 (PRIMARY KEY product_id (product_id)) ENGINE = MEMORY IGNORE SELECT products.product_id FROM agm_products AS products  LEFT JOIN agm_companies AS companies ON companies.company_id = products.company_id  INNER JOIN agm_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN agm_categories ON agm_categories.category_id = products_categories.category_id  AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A', 'H') AND agm_categories.storefront_id IN (0, 4)  LEFT JOIN agm_supplier_links ON agm_supplier_links.object_id = products.product_id AND agm_supplier_links.object_type = 'P'  LEFT JOIN agm_warehouses_sum_products_amount as war_sum_amount ON war_sum_amount.product_id = products.product_id WHERE 1=1  AND agm_categories.category_id IN (1086, 1089, 1087, 1088, 1092, 1090, 1091, 1094, 1093, 1096, 1095, 1098, 1097, 1101, 1099, 1100, 1103, 1102, 1105, 1104, 1107, 1106, 1109, 1108, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 14180, 14182, 14184, 14186, 14188, 14190, 14192, 14193, 14195, 14201, 14197, 14199, 14204, 14206, 14208, 14211, 14210, 14214, 14215, 14217, 14219, 14227, 14223, 14221, 14225, 14231, 14229, 14233, 14235, 14238, 14240, 14243, 14242, 14245, 14247, 14251, 14249, 14253, 14255, 14257, 14259, 14261, 14263, 14267, 14265, 14269, 14271, 14274, 14276, 14278, 14281, 14280, 14283, 14287, 14289, 14285, 14291, 14293, 14295, 14297, 14299, 14301, 14303, 14305, 14307, 14309, 14311, 14315, 14313, 14319, 14317, 14321, 14323, 14327, 14325, 14329, 14335, 14331, 14333, 14337, 14339, 14341, 14351, 14343, 14347, 14345, 14349, 14353, 14355, 14357, 14359, 14361, 14367, 14363, 14365, 14369, 14377, 14371, 14375, 14373, 14379, 14381, 14384, 14386, 14388, 14390, 14392, 14394, 14396, 14398, 14400, 14402, 14404, 14406, 14410, 14408, 14415, 14411, 14413, 14417, 14419, 14421, 14423, 14425, 14427, 14429, 14431, 14433, 14435, 14437, 14441, 14440, 14443, 14445, 14447, 14449, 14451, 14457, 14453, 14455, 14459, 14461, 14463, 14465, 14469, 14467, 14471, 14473, 14475, 14478, 14480, 14484, 14482, 14486, 14488, 14490, 14492, 14494, 14496, 14498, 14500, 14501, 14503, 14505, 14507, 14511, 14509, 14515, 14517, 14513, 14519, 14521, 14525, 14523, 14527, 14529, 14531, 14533, 14535, 14537, 14539, 14541, 14545, 14543, 14551, 14547, 14549, 14553, 14555, 14558, 14560, 14562, 14564, 14566, 14569, 14568, 14572, 14576, 14574, 14578, 14581, 14580, 14584, 14586, 14590, 14588, 14592, 14595, 14594, 14597, 14600, 14602, 14604, 14608, 14606, 14612, 14610, 14616, 14614, 14617, 14619, 14621, 14625, 14623, 14627, 14629, 14631, 14633, 14637, 14635, 14639, 14643, 14641, 14645, 14647, 14650, 14652, 14655, 14653, 14657, 14663, 14659, 14661, 14665, 14667, 14669, 14671, 14675, 14673, 14679, 14677, 14681, 14683, 14685, 14687, 14689, 14691, 14693, 14695, 14697, 14701, 14699, 14703, 14709, 14705, 14707, 14712, 14711, 14714, 14716, 14718, 14720, 14722, 14724, 14726, 14728, 14730, 14732, 14734, 14736, 14740, 14738, 14742, 14744, 14746, 14748, 14750, 14752, 14755, 14754, 14757, 14759, 14761, 14764, 14769, 14766, 14768, 14771, 14773, 14775, 14777, 14781, 14779, 14785, 14783, 14787, 14789, 14793, 14791, 14795, 14805, 14797, 14801, 14799, 14803, 14809, 14807, 14811, 14813, 14815, 14817, 14821, 14819, 14823, 14827, 14825, 14831, 14829, 14833, 14835, 14837, 14839, 14843, 14841, 14845, 14847, 14849, 14852, 14854, 14855, 14858, 14862, 14860, 14866, 14864, 14871, 14868, 14870, 14875, 14873, 14877, 14881, 14879, 14883, 14887, 14886, 14889, 14891, 14893, 14895, 14899, 14897, 14902, 14906, 14904, 14908, 14910, 14912, 14914, 14916, 14918, 14921, 14920, 14923, 14925, 14927, 14929, 14932, 14934, 14937, 14936, 14939, 14941, 14943, 14945, 14947, 14949, 14953, 14951, 14955, 14959, 14957, 14962, 14964, 14967, 14966, 14970, 14972, 14974, 14976, 14977, 14982, 14979, 14985, 14984, 14989, 14987, 14991, 14995, 14993, 14997, 15001, 14999, 15003, 15005, 15007, 15009, 15011, 15013, 15019, 15015, 15017, 15022, 15024, 15026, 15028, 15030, 15032, 15034, 15036, 15038, 15040, 15043, 15042, 15045, 15047, 15049, 15051, 15053, 15055, 15059, 15057, 15061, 15063, 15065, 15067, 15069, 15075, 15071, 15073, 15079, 15077, 15081, 15091, 15083, 15087, 15085, 15089, 15093, 15095, 15098, 15101, 15100, 15105, 15104, 15109, 15107, 15113, 15111, 15115, 15117, 15119, 15123, 15121, 15127, 15125, 15130, 15132, 15134, 15136, 15138, 15139, 15141, 15145, 15143, 15147, 15153, 15149, 15151, 15155, 15157, 15159, 15161, 15163, 15165, 15167, 15170, 15172, 15174, 15176, 15178, 15180, 15182, 15184, 15185, 15187, 15190, 15192, 15194, 15196, 15198, 15200, 15201, 15203, 15207, 15205, 15209, 15211, 15215, 15213, 15223, 15217, 15219, 15221, 15225, 15227, 15229, 15231, 15233, 15235, 15237, 15239, 15243, 15241, 15245, 15247, 15249, 15251, 15253, 15255, 15257, 15259, 15262, 15261, 15264, 15266, 15271, 15269, 15273, 15275, 15277, 15279, 15281, 15286, 15283, 15284, 15288, 15292, 15290, 15296, 15294, 15300, 15298, 15302, 15304, 15307, 15309, 15311, 15313, 15317, 15315, 15321, 15319, 15323, 15325, 15327, 15329, 15333, 15331, 15337, 15335, 15339, 15341, 15343, 15345, 15347, 15351, 15349, 15354, 15353, 15358, 15356, 15360, 15364, 15362, 15366, 15368, 15369, 15373, 15371, 15379, 15375, 15378, 15381, 15383, 15385, 15387, 15395, 15389, 15391, 15393, 15399, 15397, 15402, 15406, 15404, 15408, 15410, 15412, 15414, 15416, 15418, 15422, 15420, 15424, 15426, 15429, 15428, 15431, 15437, 15433, 15435, 15439, 15447, 15441, 15443, 15446, 15449, 15451, 15453, 15455, 15457, 15459, 15463, 15461, 15465, 15467, 15469, 15473, 15471, 15475, 15477, 15479, 15481, 15483, 15485, 15491, 15487, 15490, 15494, 15496, 15498, 15500, 15502, 15504, 15510, 15506, 15508, 15514, 15512, 15518, 15516, 15522, 15520, 15524, 15526, 15527, 15530, 15532, 15534, 15536, 15538, 15542, 15540, 15544, 15550, 15546, 15548, 15554, 15552, 15556, 15558, 15560, 15562, 15564, 15566, 15569, 15572, 15571, 15574, 15576, 15578, 15588, 15580, 15584, 15582, 15586, 15592, 15591, 15594, 15597, 15599, 15601, 15604, 15603, 15606, 15612, 15610, 15608, 15614, 15620, 15616, 15618, 15626, 15622, 15624, 15630, 15628, 15634, 15632, 15636, 15642, 15638, 15640, 15644, 15648, 15646, 15650, 15652, 15656, 15654, 15658, 15660, 15664, 15662, 15668, 15666, 15672, 15670, 15676, 15674, 15678, 15680, 15682, 15686, 15684, 15688, 15690, 15692, 15694, 15697, 15699, 15701, 15703, 15705, 15707, 15708, 15710, 15712, 15715, 15718, 15717, 15721, 15722, 15725, 15727, 15729, 15731, 15733, 15734, 15736, 15738, 15742, 15740, 15744, 15746, 15750, 15748, 15754, 15752, 15756, 15758, 15760, 15764, 15762, 15766, 15768, 15770, 15772, 15775, 15777, 15779, 15781, 15783, 15785, 15786, 15788, 15793, 15790, 15795, 15799, 15797, 15801) AND companies.status IN ('A') 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 products.product_type != 'D' ORDER BY NULL
1 0.00497 0.00497 0.00497
SELECT agm_product_features_values.feature_id, agm_product_features_values.variant_id FROM agm_product_features_values INNER JOIN _product_filters_products_1 AS products ON products.product_id = agm_product_features_values.product_id   WHERE agm_product_features_values.feature_id IN (18, 548, 549) AND agm_product_features_values.lang_code = 'ar'   GROUP BY agm_product_features_values.variant_id ORDER BY NULL
1 0.00062 0.00062 0.00062
SELECT * FROM  agm_csc_filter_by_categories WHERE 1  AND agm_csc_filter_by_categories.company_id=0
1 0.00044 0.00044 0.00044
SELECT agm_products_categories.category_id as variant_id, IF(ccd2.category IS NOT NULL, CONCAT(ccd2.category, ' > ', ccd.category), ccd.category) as variant FROM agm_products_categories   LEFT JOIN agm_products as products ON products.product_id = agm_products_categories.product_id INNER JOIN agm_category_descriptions as ccd ON agm_products_categories.category_id= ccd.category_id
				AND ccd.lang_code='ar' INNER JOIN agm_categories as cc ON ccd.category_id=cc.category_id 
				LEFT JOIN agm_category_descriptions as ccd2 ON cc.parent_id= ccd2.category_id AND ccd2.lang_code='ar'  LEFT JOIN agm_companies AS companies ON companies.company_id = products.company_id  INNER JOIN agm_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN agm_categories ON agm_categories.category_id = products_categories.category_id  AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A', 'H') AND agm_categories.storefront_id IN (0, 4)  LEFT JOIN agm_supplier_links ON agm_supplier_links.object_id = products.product_id AND agm_supplier_links.object_type = 'P'  LEFT JOIN agm_warehouses_sum_products_amount as war_sum_amount ON war_sum_amount.product_id = products.product_id WHERE 1=1  AND cc.status='A' AND cc.company_id=0 AND agm_products_categories.link_type='M'  AND agm_categories.category_id IN (1086, 1089, 1087, 1088, 1092, 1090, 1091, 1094, 1093, 1096, 1095, 1098, 1097, 1101, 1099, 1100, 1103, 1102, 1105, 1104, 1107, 1106, 1109, 1108, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 14180, 14182, 14184, 14186, 14188, 14190, 14192, 14193, 14195, 14201, 14197, 14199, 14204, 14206, 14208, 14211, 14210, 14214, 14215, 14217, 14219, 14227, 14223, 14221, 14225, 14231, 14229, 14233, 14235, 14238, 14240, 14243, 14242, 14245, 14247, 14251, 14249, 14253, 14255, 14257, 14259, 14261, 14263, 14267, 14265, 14269, 14271, 14274, 14276, 14278, 14281, 14280, 14283, 14287, 14289, 14285, 14291, 14293, 14295, 14297, 14299, 14301, 14303, 14305, 14307, 14309, 14311, 14315, 14313, 14319, 14317, 14321, 14323, 14327, 14325, 14329, 14335, 14331, 14333, 14337, 14339, 14341, 14351, 14343, 14347, 14345, 14349, 14353, 14355, 14357, 14359, 14361, 14367, 14363, 14365, 14369, 14377, 14371, 14375, 14373, 14379, 14381, 14384, 14386, 14388, 14390, 14392, 14394, 14396, 14398, 14400, 14402, 14404, 14406, 14410, 14408, 14415, 14411, 14413, 14417, 14419, 14421, 14423, 14425, 14427, 14429, 14431, 14433, 14435, 14437, 14441, 14440, 14443, 14445, 14447, 14449, 14451, 14457, 14453, 14455, 14459, 14461, 14463, 14465, 14469, 14467, 14471, 14473, 14475, 14478, 14480, 14484, 14482, 14486, 14488, 14490, 14492, 14494, 14496, 14498, 14500, 14501, 14503, 14505, 14507, 14511, 14509, 14515, 14517, 14513, 14519, 14521, 14525, 14523, 14527, 14529, 14531, 14533, 14535, 14537, 14539, 14541, 14545, 14543, 14551, 14547, 14549, 14553, 14555, 14558, 14560, 14562, 14564, 14566, 14569, 14568, 14572, 14576, 14574, 14578, 14581, 14580, 14584, 14586, 14590, 14588, 14592, 14595, 14594, 14597, 14600, 14602, 14604, 14608, 14606, 14612, 14610, 14616, 14614, 14617, 14619, 14621, 14625, 14623, 14627, 14629, 14631, 14633, 14637, 14635, 14639, 14643, 14641, 14645, 14647, 14650, 14652, 14655, 14653, 14657, 14663, 14659, 14661, 14665, 14667, 14669, 14671, 14675, 14673, 14679, 14677, 14681, 14683, 14685, 14687, 14689, 14691, 14693, 14695, 14697, 14701, 14699, 14703, 14709, 14705, 14707, 14712, 14711, 14714, 14716, 14718, 14720, 14722, 14724, 14726, 14728, 14730, 14732, 14734, 14736, 14740, 14738, 14742, 14744, 14746, 14748, 14750, 14752, 14755, 14754, 14757, 14759, 14761, 14764, 14769, 14766, 14768, 14771, 14773, 14775, 14777, 14781, 14779, 14785, 14783, 14787, 14789, 14793, 14791, 14795, 14805, 14797, 14801, 14799, 14803, 14809, 14807, 14811, 14813, 14815, 14817, 14821, 14819, 14823, 14827, 14825, 14831, 14829, 14833, 14835, 14837, 14839, 14843, 14841, 14845, 14847, 14849, 14852, 14854, 14855, 14858, 14862, 14860, 14866, 14864, 14871, 14868, 14870, 14875, 14873, 14877, 14881, 14879, 14883, 14887, 14886, 14889, 14891, 14893, 14895, 14899, 14897, 14902, 14906, 14904, 14908, 14910, 14912, 14914, 14916, 14918, 14921, 14920, 14923, 14925, 14927, 14929, 14932, 14934, 14937, 14936, 14939, 14941, 14943, 14945, 14947, 14949, 14953, 14951, 14955, 14959, 14957, 14962, 14964, 14967, 14966, 14970, 14972, 14974, 14976, 14977, 14982, 14979, 14985, 14984, 14989, 14987, 14991, 14995, 14993, 14997, 15001, 14999, 15003, 15005, 15007, 15009, 15011, 15013, 15019, 15015, 15017, 15022, 15024, 15026, 15028, 15030, 15032, 15034, 15036, 15038, 15040, 15043, 15042, 15045, 15047, 15049, 15051, 15053, 15055, 15059, 15057, 15061, 15063, 15065, 15067, 15069, 15075, 15071, 15073, 15079, 15077, 15081, 15091, 15083, 15087, 15085, 15089, 15093, 15095, 15098, 15101, 15100, 15105, 15104, 15109, 15107, 15113, 15111, 15115, 15117, 15119, 15123, 15121, 15127, 15125, 15130, 15132, 15134, 15136, 15138, 15139, 15141, 15145, 15143, 15147, 15153, 15149, 15151, 15155, 15157, 15159, 15161, 15163, 15165, 15167, 15170, 15172, 15174, 15176, 15178, 15180, 15182, 15184, 15185, 15187, 15190, 15192, 15194, 15196, 15198, 15200, 15201, 15203, 15207, 15205, 15209, 15211, 15215, 15213, 15223, 15217, 15219, 15221, 15225, 15227, 15229, 15231, 15233, 15235, 15237, 15239, 15243, 15241, 15245, 15247, 15249, 15251, 15253, 15255, 15257, 15259, 15262, 15261, 15264, 15266, 15271, 15269, 15273, 15275, 15277, 15279, 15281, 15286, 15283, 15284, 15288, 15292, 15290, 15296, 15294, 15300, 15298, 15302, 15304, 15307, 15309, 15311, 15313, 15317, 15315, 15321, 15319, 15323, 15325, 15327, 15329, 15333, 15331, 15337, 15335, 15339, 15341, 15343, 15345, 15347, 15351, 15349, 15354, 15353, 15358, 15356, 15360, 15364, 15362, 15366, 15368, 15369, 15373, 15371, 15379, 15375, 15378, 15381, 15383, 15385, 15387, 15395, 15389, 15391, 15393, 15399, 15397, 15402, 15406, 15404, 15408, 15410, 15412, 15414, 15416, 15418, 15422, 15420, 15424, 15426, 15429, 15428, 15431, 15437, 15433, 15435, 15439, 15447, 15441, 15443, 15446, 15449, 15451, 15453, 15455, 15457, 15459, 15463, 15461, 15465, 15467, 15469, 15473, 15471, 15475, 15477, 15479, 15481, 15483, 15485, 15491, 15487, 15490, 15494, 15496, 15498, 15500, 15502, 15504, 15510, 15506, 15508, 15514, 15512, 15518, 15516, 15522, 15520, 15524, 15526, 15527, 15530, 15532, 15534, 15536, 15538, 15542, 15540, 15544, 15550, 15546, 15548, 15554, 15552, 15556, 15558, 15560, 15562, 15564, 15566, 15569, 15572, 15571, 15574, 15576, 15578, 15588, 15580, 15584, 15582, 15586, 15592, 15591, 15594, 15597, 15599, 15601, 15604, 15603, 15606, 15612, 15610, 15608, 15614, 15620, 15616, 15618, 15626, 15622, 15624, 15630, 15628, 15634, 15632, 15636, 15642, 15638, 15640, 15644, 15648, 15646, 15650, 15652, 15656, 15654, 15658, 15660, 15664, 15662, 15668, 15666, 15672, 15670, 15676, 15674, 15678, 15680, 15682, 15686, 15684, 15688, 15690, 15692, 15694, 15697, 15699, 15701, 15703, 15705, 15707, 15708, 15710, 15712, 15715, 15718, 15717, 15721, 15722, 15725, 15727, 15729, 15731, 15733, 15734, 15736, 15738, 15742, 15740, 15744, 15746, 15750, 15748, 15754, 15752, 15756, 15758, 15760, 15764, 15762, 15766, 15768, 15770, 15772, 15775, 15777, 15779, 15781, 15783, 15785, 15786, 15788, 15793, 15790, 15795, 15799, 15797, 15801) AND companies.status IN ('A') 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 products.product_type != 'D' GROUP BY agm_products_categories.category_id ORDER BY IF(ccd2.category IS NOT NULL, CONCAT(ccd2.category, ' > ', ccd.category), ccd.category) ASC
1 0.00602 0.00602 0.00602
SELECT products.company_id as variant_id, company_descr.i18n_company as variant FROM agm_products  as products  LEFT JOIN agm_company_descriptions as company_descr ON company_descr.company_id = products.company_id AND company_descr.lang_code = 'ar'  LEFT JOIN agm_companies AS companies ON companies.company_id = products.company_id  INNER JOIN agm_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN agm_categories ON agm_categories.category_id = products_categories.category_id  AND (agm_categories.usergroup_ids = '' OR FIND_IN_SET(0, agm_categories.usergroup_ids) OR FIND_IN_SET(1, agm_categories.usergroup_ids)) AND agm_categories.status IN ('A', 'H') AND agm_categories.storefront_id IN (0, 4)  LEFT JOIN agm_supplier_links ON agm_supplier_links.object_id = products.product_id AND agm_supplier_links.object_type = 'P'  LEFT JOIN agm_warehouses_sum_products_amount as war_sum_amount ON war_sum_amount.product_id = products.product_id WHERE 1=1   AND agm_categories.category_id IN (1086, 1089, 1087, 1088, 1092, 1090, 1091, 1094, 1093, 1096, 1095, 1098, 1097, 1101, 1099, 1100, 1103, 1102, 1105, 1104, 1107, 1106, 1109, 1108, 1110, 1111, 1112, 1113, 1114, 1115, 1116, 1117, 1118, 1119, 1120, 1121, 1122, 1123, 1124, 1125, 1126, 1127, 1128, 1129, 1130, 1131, 1132, 1133, 1134, 1135, 1136, 1137, 1138, 1139, 14180, 14182, 14184, 14186, 14188, 14190, 14192, 14193, 14195, 14201, 14197, 14199, 14204, 14206, 14208, 14211, 14210, 14214, 14215, 14217, 14219, 14227, 14223, 14221, 14225, 14231, 14229, 14233, 14235, 14238, 14240, 14243, 14242, 14245, 14247, 14251, 14249, 14253, 14255, 14257, 14259, 14261, 14263, 14267, 14265, 14269, 14271, 14274, 14276, 14278, 14281, 14280, 14283, 14287, 14289, 14285, 14291, 14293, 14295, 14297, 14299, 14301, 14303, 14305, 14307, 14309, 14311, 14315, 14313, 14319, 14317, 14321, 14323, 14327, 14325, 14329, 14335, 14331, 14333, 14337, 14339, 14341, 14351, 14343, 14347, 14345, 14349, 14353, 14355, 14357, 14359, 14361, 14367, 14363, 14365, 14369, 14377, 14371, 14375, 14373, 14379, 14381, 14384, 14386, 14388, 14390, 14392, 14394, 14396, 14398, 14400, 14402, 14404, 14406, 14410, 14408, 14415, 14411, 14413, 14417, 14419, 14421, 14423, 14425, 14427, 14429, 14431, 14433, 14435, 14437, 14441, 14440, 14443, 14445, 14447, 14449, 14451, 14457, 14453, 14455, 14459, 14461, 14463, 14465, 14469, 14467, 14471, 14473, 14475, 14478, 14480, 14484, 14482, 14486, 14488, 14490, 14492, 14494, 14496, 14498, 14500, 14501, 14503, 14505, 14507, 14511, 14509, 14515, 14517, 14513, 14519, 14521, 14525, 14523, 14527, 14529, 14531, 14533, 14535, 14537, 14539, 14541, 14545, 14543, 14551, 14547, 14549, 14553, 14555, 14558, 14560, 14562, 14564, 14566, 14569, 14568, 14572, 14576, 14574, 14578, 14581, 14580, 14584, 14586, 14590, 14588, 14592, 14595, 14594, 14597, 14600, 14602, 14604, 14608, 14606, 14612, 14610, 14616, 14614, 14617, 14619, 14621, 14625, 14623, 14627, 14629, 14631, 14633, 14637, 14635, 14639, 14643, 14641, 14645, 14647, 14650, 14652, 14655, 14653, 14657, 14663, 14659, 14661, 14665, 14667, 14669, 14671, 14675, 14673, 14679, 14677, 14681, 14683, 14685, 14687, 14689, 14691, 14693, 14695, 14697, 14701, 14699, 14703, 14709, 14705, 14707, 14712, 14711, 14714, 14716, 14718, 14720, 14722, 14724, 14726, 14728, 14730, 14732, 14734, 14736, 14740, 14738, 14742, 14744, 14746, 14748, 14750, 14752, 14755, 14754, 14757, 14759, 14761, 14764, 14769, 14766, 14768, 14771, 14773, 14775, 14777, 14781, 14779, 14785, 14783, 14787, 14789, 14793, 14791, 14795, 14805, 14797, 14801, 14799, 14803, 14809, 14807, 14811, 14813, 14815, 14817, 14821, 14819, 14823, 14827, 14825, 14831, 14829, 14833, 14835, 14837, 14839, 14843, 14841, 14845, 14847, 14849, 14852, 14854, 14855, 14858, 14862, 14860, 14866, 14864, 14871, 14868, 14870, 14875, 14873, 14877, 14881, 14879, 14883, 14887, 14886, 14889, 14891, 14893, 14895, 14899, 14897, 14902, 14906, 14904, 14908, 14910, 14912, 14914, 14916, 14918, 14921, 14920, 14923, 14925, 14927, 14929, 14932, 14934, 14937, 14936, 14939, 14941, 14943, 14945, 14947, 14949, 14953, 14951, 14955, 14959, 14957, 14962, 14964, 14967, 14966, 14970, 14972, 14974, 14976, 14977, 14982, 14979, 14985, 14984, 14989, 14987, 14991, 14995, 14993, 14997, 15001, 14999, 15003, 15005, 15007, 15009, 15011, 15013, 15019, 15015, 15017, 15022, 15024, 15026, 15028, 15030, 15032, 15034, 15036, 15038, 15040, 15043, 15042, 15045, 15047, 15049, 15051, 15053, 15055, 15059, 15057, 15061, 15063, 15065, 15067, 15069, 15075, 15071, 15073, 15079, 15077, 15081, 15091, 15083, 15087, 15085, 15089, 15093, 15095, 15098, 15101, 15100, 15105, 15104, 15109, 15107, 15113, 15111, 15115, 15117, 15119, 15123, 15121, 15127, 15125, 15130, 15132, 15134, 15136, 15138, 15139, 15141, 15145, 15143, 15147, 15153, 15149, 15151, 15155, 15157, 15159, 15161, 15163, 15165, 15167, 15170, 15172, 15174, 15176, 15178, 15180, 15182, 15184, 15185, 15187, 15190, 15192, 15194, 15196, 15198, 15200, 15201, 15203, 15207, 15205, 15209, 15211, 15215, 15213, 15223, 15217, 15219, 15221, 15225, 15227, 15229, 15231, 15233, 15235, 15237, 15239, 15243, 15241, 15245, 15247, 15249, 15251, 15253, 15255, 15257, 15259, 15262, 15261, 15264, 15266, 15271, 15269, 15273, 15275, 15277, 15279, 15281, 15286, 15283, 15284, 15288, 15292, 15290, 15296, 15294, 15300, 15298, 15302, 15304, 15307, 15309, 15311, 15313, 15317, 15315, 15321, 15319, 15323, 15325, 15327, 15329, 15333, 15331, 15337, 15335, 15339, 15341, 15343, 15345, 15347, 15351, 15349, 15354, 15353, 15358, 15356, 15360, 15364, 15362, 15366, 15368, 15369, 15373, 15371, 15379, 15375, 15378, 15381, 15383, 15385, 15387, 15395, 15389, 15391, 15393, 15399, 15397, 15402, 15406, 15404, 15408, 15410, 15412, 15414, 15416, 15418, 15422, 15420, 15424, 15426, 15429, 15428, 15431, 15437, 15433, 15435, 15439, 15447, 15441, 15443, 15446, 15449, 15451, 15453, 15455, 15457, 15459, 15463, 15461, 15465, 15467, 15469, 15473, 15471, 15475, 15477, 15479, 15481, 15483, 15485, 15491, 15487, 15490, 15494, 15496, 15498, 15500, 15502, 15504, 15510, 15506, 15508, 15514, 15512, 15518, 15516, 15522, 15520, 15524, 15526, 15527, 15530, 15532, 15534, 15536, 15538, 15542, 15540, 15544, 15550, 15546, 15548, 15554, 15552, 15556, 15558, 15560, 15562, 15564, 15566, 15569, 15572, 15571, 15574, 15576, 15578, 15588, 15580, 15584, 15582, 15586, 15592, 15591, 15594, 15597, 15599, 15601, 15604, 15603, 15606, 15612, 15610, 15608, 15614, 15620, 15616, 15618, 15626, 15622, 15624, 15630, 15628, 15634, 15632, 15636, 15642, 15638, 15640, 15644, 15648, 15646, 15650, 15652, 15656, 15654, 15658, 15660, 15664, 15662, 15668, 15666, 15672, 15670, 15676, 15674, 15678, 15680, 15682, 15686, 15684, 15688, 15690, 15692, 15694, 15697, 15699, 15701, 15703, 15705, 15707, 15708, 15710, 15712, 15715, 15718, 15717, 15721, 15722, 15725, 15727, 15729, 15731, 15733, 15734, 15736, 15738, 15742, 15740, 15744, 15746, 15750, 15748, 15754, 15752, 15756, 15758, 15760, 15764, 15762, 15766, 15768, 15770, 15772, 15775, 15777, 15779, 15781, 15783, 15785, 15786, 15788, 15793, 15790, 15795, 15799, 15797, 15801) AND companies.status IN ('A') 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 products.product_type != 'D' GROUP BY products.company_id ORDER BY company_descr.i18n_company ASC
1 0.00438 0.00438 0.00438
SELECT MIN(agm_product_prices.price) as min, MAX(agm_product_prices.price) as max FROM agm_product_prices   LEFT JOIN agm_products as products ON products.product_id = agm_product_prices.product_id
                    LEFT JOIN agm_product_prices as prices_2 ON agm_product_prices.product_id = prices_2.product_id AND agm_product_prices.price > prices_2.price AND prices_2.lower_limit = 1 AND prices_2.usergroup_id IN (0, 0, 1) INNER JOIN _product_filters_products_1 ON products.product_id = _product_filters_products_1.product_id  WHERE products.status IN ('A') 
                    AND agm_product_prices.lower_limit = 1 AND agm_product_prices.usergroup_id IN (0, 0, 1) AND prices_2.price IS NULL 
1 0.00052 0.00052 0.00052
DROP TEMPORARY TABLE _product_filters_products_1
1 0.00020 0.00020 0.00020
SELECT id_path FROM agm_categories WHERE category_id IN (15247, 15373, 15385)
1 0.00040 0.00040 0.00040
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 368  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) OR FIND_IN_SET(1119, f.categories_path) OR FIND_IN_SET(15373, f.categories_path) OR FIND_IN_SET(15385, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00048 0.00048 0.00048
SELECT id_path FROM agm_categories WHERE category_id IN (15149)
1 0.00033 0.00033 0.00033
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 356  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1109, f.categories_path) OR FIND_IN_SET(1110, f.categories_path) OR FIND_IN_SET(15149, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00047 0.00047 0.00047
SELECT id_path FROM agm_categories WHERE category_id IN (15247, 15373)
1 0.00045 0.00045 0.00045
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 365  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) OR FIND_IN_SET(1119, f.categories_path) OR FIND_IN_SET(15373, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00051 0.00051 0.00051
SELECT id_path FROM agm_categories WHERE category_id IN (1119, 15247)
1 0.00039 0.00039 0.00039
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 364  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1119, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00051 0.00051 0.00051
SELECT id_path FROM agm_categories WHERE category_id IN (15588)
1 0.00038 0.00038 0.00038
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 301  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1122, f.categories_path) OR FIND_IN_SET(1126, f.categories_path) OR FIND_IN_SET(15588, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00060 0.00060 0.00060
SELECT id_path FROM agm_categories WHERE category_id IN (15247)
1 0.00035 0.00035 0.00035
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 353  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00054 0.00054 0.00054
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 352  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00079 0.00079 0.00079
SELECT id_path FROM agm_categories WHERE category_id IN (14190)
1 0.00034 0.00034 0.00034
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 299  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1087, f.categories_path) OR FIND_IN_SET(1088, f.categories_path) OR FIND_IN_SET(14190, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00049 0.00049 0.00049
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 355  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00083 0.00083 0.00083
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 367  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00079 0.00079 0.00079
SELECT id_path FROM agm_categories WHERE category_id IN (15373)
1 0.00035 0.00035 0.00035
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 369  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1119, f.categories_path) OR FIND_IN_SET(15373, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00057 0.00057 0.00057
SELECT id_path FROM agm_categories WHERE category_id IN (15247, 15385)
1 0.00038 0.00038 0.00038
SELECT v.feature_id,
        v.value,
        v.value_int,
        v.variant_id,
        f.feature_type,
        fd.internal_name,
        fd.description,
        fd.prefix,
        fd.suffix,
        vd.variant,
        f.parent_id,
        f.position,
        gf.position as gposition,
        f.display_on_header,
        f.display_on_catalog,
        f.display_on_product,
        f.feature_code,
        f.purpose FROM agm_product_features as f LEFT JOIN agm_product_features_values as v ON v.feature_id = f.feature_id  LEFT JOIN agm_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'ar' LEFT JOIN agm_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN agm_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'ar' LEFT JOIN agm_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G'  WHERE f.status IN ('A') AND v.product_id = 363  AND f.display_on_catalog = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(1086, f.categories_path) OR FIND_IN_SET(1113, f.categories_path) OR FIND_IN_SET(1115, f.categories_path) OR FIND_IN_SET(15247, f.categories_path) OR FIND_IN_SET(1119, f.categories_path) OR FIND_IN_SET(15385, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM agm_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'ar' ORDER BY fd.internal_name, fv.position
1 0.00052 0.00052 0.00052
SELECT object_id, thread_id, type, object_type FROM agm_discussion  WHERE 1  AND object_id = 1086 AND object_type = 'C'   
1 0.00026 0.00026 0.00026
SELECT thread_id, type, object_type, object_id FROM agm_discussion WHERE thread_id = 4600 
1 0.00018 0.00018 0.00018
SELECT AVG (dr.rating_value) FROM agm_discussion_rating AS dr LEFT JOIN agm_discussion_posts AS dp ON dp.post_id = dr.post_id LEFT JOIN agm_discussion AS d ON d.thread_id = dp.thread_id WHERE d.object_id = 1086 AND d.object_type = 'C' AND type IN ( 'B', 'R' )  AND dp.status = 'A' AND dr.rating_value > 0
1 0.00030 0.00030 0.00030
SELECT data FROM agm_storage_data WHERE data_key = 'restrictions'
1 0.00040 0.00040 0.00040