Array
(
    [0] => Array
        (
            [file] => /var/www/vhosts/dormitia.com/httpdocs/core/fn.database.php
            [line] => 284
            [function] => driver_db_query
            [args] => Array
                (
                    [0] => SELECT SQL_CALC_FOUND_ROWS products.*, products_categories.position, descr1.product as product, MIN(prices.price) as price, descr1.short_description, IF(descr1.short_description = '', descr1.full_description, '') as full_description, companies.company as company_name, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, cscart_seo_names.name as seo_name, xtra_products_extras.noreembolso, xtra_products_extras.noindex, xtra_products_extras.fabricaciondiaria, xtra_products_extras.ref_proveedor, xtra_products_extras.producto_alias_de, xtra_products_extras.precios_alias_de, xtra_products_extras.limite_unidades, xtra_products_extras.pagina_cms, xtra_products_extras.pagina_wpx, xtra_products_extras.sin_servicio, xtra_products_extras.disponible_hasta, xtra_products_extras.consultar_dispo, xtra_products_extras.outlet FROM cscart_products as products  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'ES'  LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN cscart_companies AS companies ON companies.company_id = products.company_id  INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id  AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H')   LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = products.product_id AND cscart_seo_names.type = 'p' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'ES' LEFT JOIN xtra_products_extras ON xtra_products_extras.product_id = products.product_id WHERE 1  AND cscart_categories.category_id IN (303) AND (companies.status = 'A' OR products.company_id = 0)  AND products.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) GROUP BY products.product_id ORDER BY prices.price asc LIMIT 0, 50
                )

        )

    [1] => Array
        (
            [function] => db_query
            [args] => Array
                (
                    [0] => SELECT SQL_CALC_FOUND_ROWS products.*, products_categories.position, descr1.product as product, MIN(prices.price) as price, descr1.short_description, IF(descr1.short_description = '', descr1.full_description, '') as full_description, companies.company as company_name, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, ?:seo_names.name as seo_name, xtra_products_extras.noreembolso, xtra_products_extras.noindex, xtra_products_extras.fabricaciondiaria, xtra_products_extras.ref_proveedor, xtra_products_extras.producto_alias_de, xtra_products_extras.precios_alias_de, xtra_products_extras.limite_unidades, xtra_products_extras.pagina_cms, xtra_products_extras.pagina_wpx, xtra_products_extras.sin_servicio, xtra_products_extras.disponible_hasta, xtra_products_extras.consultar_dispo, xtra_products_extras.outlet FROM ?:products as products  LEFT JOIN ?:product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'ES'  LEFT JOIN ?:product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN ?:companies AS companies ON companies.company_id = products.company_id  INNER JOIN ?:products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN ?:categories ON ?:categories.category_id = products_categories.category_id  AND (?:categories.usergroup_ids = '' OR FIND_IN_SET(0, ?:categories.usergroup_ids) OR FIND_IN_SET(1, ?:categories.usergroup_ids)) AND ?:categories.status IN ('A', 'H')   LEFT JOIN ?:seo_names ON ?:seo_names.object_id = products.product_id AND ?:seo_names.type = 'p' AND ?:seo_names.dispatch = '' AND ?:seo_names.lang_code = 'ES' LEFT JOIN xtra_products_extras ON xtra_products_extras.product_id = products.product_id WHERE 1  AND ?:categories.category_id IN (303) AND (companies.status = 'A' OR products.company_id = 0)  AND products.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) GROUP BY products.product_id ORDER BY prices.price asc LIMIT 0, 50
                )

        )

    [2] => Array
        (
            [file] => /var/www/vhosts/dormitia.com/httpdocs/core/fn.database.php
            [line] => 37
            [function] => call_user_func_array
            [args] => Array
                (
                    [0] => db_query
                    [1] => Array
                        (
                            [0] => SELECT SQL_CALC_FOUND_ROWS products.*, products_categories.position, descr1.product as product, MIN(prices.price) as price, descr1.short_description, IF(descr1.short_description = '', descr1.full_description, '') as full_description, companies.company as company_name, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, ?:seo_names.name as seo_name, xtra_products_extras.noreembolso, xtra_products_extras.noindex, xtra_products_extras.fabricaciondiaria, xtra_products_extras.ref_proveedor, xtra_products_extras.producto_alias_de, xtra_products_extras.precios_alias_de, xtra_products_extras.limite_unidades, xtra_products_extras.pagina_cms, xtra_products_extras.pagina_wpx, xtra_products_extras.sin_servicio, xtra_products_extras.disponible_hasta, xtra_products_extras.consultar_dispo, xtra_products_extras.outlet FROM ?:products as products  LEFT JOIN ?:product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'ES'  LEFT JOIN ?:product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN ?:companies AS companies ON companies.company_id = products.company_id  INNER JOIN ?:products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN ?:categories ON ?:categories.category_id = products_categories.category_id  AND (?:categories.usergroup_ids = '' OR FIND_IN_SET(0, ?:categories.usergroup_ids) OR FIND_IN_SET(1, ?:categories.usergroup_ids)) AND ?:categories.status IN ('A', 'H')   LEFT JOIN ?:seo_names ON ?:seo_names.object_id = products.product_id AND ?:seo_names.type = 'p' AND ?:seo_names.dispatch = '' AND ?:seo_names.lang_code = 'ES' LEFT JOIN xtra_products_extras ON xtra_products_extras.product_id = products.product_id WHERE 1  AND ?:categories.category_id IN (303) AND (companies.status = 'A' OR products.company_id = 0)  AND products.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) GROUP BY products.product_id ORDER BY prices.price asc LIMIT 0, 50
                        )

                )

        )

    [3] => Array
        (
            [file] => /var/www/vhosts/dormitia.com/httpdocs/core/fn.catalog.php
            [line] => 3713
            [function] => db_get_array
            [args] => Array
                (
                    [0] => SELECT SQL_CALC_FOUND_ROWS products.*, products_categories.position, descr1.product as product, MIN(prices.price) as price, descr1.short_description, IF(descr1.short_description = '', descr1.full_description, '') as full_description, companies.company as company_name, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, ?:seo_names.name as seo_name, xtra_products_extras.noreembolso, xtra_products_extras.noindex, xtra_products_extras.fabricaciondiaria, xtra_products_extras.ref_proveedor, xtra_products_extras.producto_alias_de, xtra_products_extras.precios_alias_de, xtra_products_extras.limite_unidades, xtra_products_extras.pagina_cms, xtra_products_extras.pagina_wpx, xtra_products_extras.sin_servicio, xtra_products_extras.disponible_hasta, xtra_products_extras.consultar_dispo, xtra_products_extras.outlet FROM ?:products as products  LEFT JOIN ?:product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'ES'  LEFT JOIN ?:product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN ?:companies AS companies ON companies.company_id = products.company_id  INNER JOIN ?:products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN ?:categories ON ?:categories.category_id = products_categories.category_id  AND (?:categories.usergroup_ids = '' OR FIND_IN_SET(0, ?:categories.usergroup_ids) OR FIND_IN_SET(1, ?:categories.usergroup_ids)) AND ?:categories.status IN ('A', 'H')   LEFT JOIN ?:seo_names ON ?:seo_names.object_id = products.product_id AND ?:seo_names.type = 'p' AND ?:seo_names.dispatch = '' AND ?:seo_names.lang_code = 'ES' LEFT JOIN xtra_products_extras ON xtra_products_extras.product_id = products.product_id WHERE 1  AND ?:categories.category_id IN (303) AND (companies.status = 'A' OR products.company_id = 0)  AND products.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) GROUP BY products.product_id ORDER BY prices.price asc LIMIT 0, 50
                )

        )

    [4] => Array
        (
            [file] => /var/www/vhosts/dormitia.com/httpdocs/controllers/customer/categories.php
            [line] => 80
            [function] => fn_get_products
            [args] => Array
                (
                    [0] => Array
                        (
                            [sl] => ES
                            [dispatch] => categories.view
                            [category_id] => 303
                            [cid] => 303
                            [extend] => Array
                                (
                                    [0] => categories
                                    [1] => description
                                )

                            [subcats] => Y
                        )

                    [1] => 50
                )

        )

    [5] => Array
        (
            [file] => /var/www/vhosts/dormitia.com/httpdocs/core/fn.control.php
            [line] => 584
            [args] => Array
                (
                    [0] => /var/www/vhosts/dormitia.com/httpdocs/controllers/customer/categories.php
                )

            [function] => include
        )

    [6] => Array
        (
            [file] => /var/www/vhosts/dormitia.com/httpdocs/core/fn.control.php
            [line] => 435
            [function] => fn_run_controller
            [args] => Array
                (
                    [0] => /var/www/vhosts/dormitia.com/httpdocs/controllers/customer/categories.php
                )

        )

    [7] => Array
        (
            [file] => /var/www/vhosts/dormitia.com/httpdocs/index.php
            [line] => 51
            [function] => fn_dispatch
            [args] => Array
                (
                )

        )

)

Database error: Disk full (/var/tmp/#sql_3f64_0); waiting for someone to free some space... (1021)
Invalid query: SELECT SQL_CALC_FOUND_ROWS products.*, products_categories.position, descr1.product as product, MIN(prices.price) as price, descr1.short_description, IF(descr1.short_description = '', descr1.full_description, '') as full_description, companies.company as company_name, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, cscart_seo_names.name as seo_name, xtra_products_extras.noreembolso, xtra_products_extras.noindex, xtra_products_extras.fabricaciondiaria, xtra_products_extras.ref_proveedor, xtra_products_extras.producto_alias_de, xtra_products_extras.precios_alias_de, xtra_products_extras.limite_unidades, xtra_products_extras.pagina_cms, xtra_products_extras.pagina_wpx, xtra_products_extras.sin_servicio, xtra_products_extras.disponible_hasta, xtra_products_extras.consultar_dispo, xtra_products_extras.outlet FROM cscart_products as products LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'ES' LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN cscart_companies AS companies ON companies.company_id = products.company_id INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = products.product_id AND cscart_seo_names.type = 'p' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'ES' LEFT JOIN xtra_products_extras ON xtra_products_extras.product_id = products.product_id WHERE 1 AND cscart_categories.category_id IN (303) AND (companies.status = 'A' OR products.company_id = 0) AND products.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) GROUP BY products.product_id ORDER BY prices.price asc LIMIT 0, 50


Backtrace:
File:/var/www/vhosts/dormitia.com/httpdocs/core/fn.database.php
Line:310
Function:db_error
File:/var/www/vhosts/dormitia.com/httpdocs/core/fn.database.php
Line:37
Function:db_query
File:/var/www/vhosts/dormitia.com/httpdocs/core/fn.catalog.php
Line:3713
Function:db_get_array
File:/var/www/vhosts/dormitia.com/httpdocs/controllers/customer/categories.php
Line:80
Function:fn_get_products
File:/var/www/vhosts/dormitia.com/httpdocs/core/fn.control.php
Line:584
Function:include
File:/var/www/vhosts/dormitia.com/httpdocs/core/fn.control.php
Line:435
Function:fn_run_controller
File:/var/www/vhosts/dormitia.com/httpdocs/index.php
Line:51
Function:fn_dispatch