Unknown column 'cscart_categories.company_id' in 'WHERE' (1054)
SELECT p.*, IF(pd.page_sitemap = "", pd.page, pd.page_sitemap) AS page FROM cscart_pages AS p INNER JOIN cscart_page_descriptions AS pd ON p.page_id = pd.page_id AND pd.lang_code = 'pl' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = p.page_id AND cscart_ult_objects_sharing.share_company_id = 1 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE p.page_type = 'B' AND p.status = 'A' AND (p.use_avail_period = 'N' OR (p.avail_from_timestamp <= 1737528185 AND (p.avail_till_timestamp = 0 OR p.avail_till_timestamp > 1737528185))) AND cscart_categories.company_id = 1 ORDER BY p.id_path
app/Tygh/Database/Connection.php, line: 1713
File: | app/Tygh/Database/Connection.php |
Line: | 1490 |
Function: | throwError |
File: | app/Tygh/Database/Connection.php |
Line: | 700 |
Function: | execQuery |
File: | app/Tygh/Database/Connection.php |
Line: | 333 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 35 |
Function: | getArray |
File: | app/addons/ab__advanced_sitemap/controllers/frontend/sitemap.post.php |
Line: | 51 |
Function: | db_get_array |
File: | app/functions/fn.control.php |
Line: | 727 |
Function: | include |
File: | app/functions/fn.control.php |
Line: | 458 |
Function: | fn_run_controller |
File: | index.php |
Line: | 19 |
Function: | fn_dispatch |