File: /home/merlana/domains/merlana.lt/public_html/modules/content/inc/page_data.cls.php
Line: 116

Function: get_page()

Bad mysql query:
SELECT pages.*, pages_desc.*, IF(pages_desc.action_start <= '2024-11-21' AND pages_desc.action_end >= '2024-11-21', 1 , 0) as ActionsSQL, IF (pages_desc.new_start <= '2024-11-21' AND pages_desc.new_end >= '2024-11-21', 1, 0) as NewsSQL, (SELECT lists_desc.title FROM lists_desc WHERE lists_desc.lang = 'lt' AND lists_desc.s_id = pages.manufacturer_id LIMIT 1) AS manufacturer, (SELECT lists_desc.title FROM lists_desc WHERE lists_desc.lang = 'lt' AND lists_desc.s_id = pages.seller_id LIMIT 1) AS seller FROM pages LEFT JOIN pages_desc ON pages.s_id = pages_desc.s_id AND pages_desc.lang = 'en' WHERE pages_desc.address = 'santechnikos-gaminiai/prekiu-katalogas/uzdaromoji-armatura/kampiniai-ventiliai/Kamp-rutul-ventilis-1-2'x3-4'-(nikeliuotas)' ORDER BY no ASC LIMIT 1

Server returned:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'x3-4'-(nikeliuotas)' ORDER BY no ASC LIMIT 1' at line 12