MySQL error Unknown column 'benzinmotoros_funyirok_' in 'where clause'
Query:
SELECT (CASE WHEN pp.actionprice > 0 AND (pp.actionstart IS NULL OR pp.actionstart < NOW()) AND (pp.actionend IS NULL OR pp.actionend > NOW() OR pp.actionend = '0000-00-00 00:00:00') THEN pp.actionprice ELSE pp.price END) as price, MAX(price) as max_price , MIN(price) as min_price FROM productprices as pp WHERE pp.products_id IN (SELECT products_id FROM products_categories WHERE categories_id = benzinmotoros_funyirok_) AND pp.currencies_id = 1 #0 /home/agrokera/domains/agrokeraruhaz.hu/public_html/core/lib/webshop/module/categories/categories.php(418): core\DB->getRow('SELECT (CASE WH...') #1 /home/agrokera/domains/agrokeraruhaz.hu/public_html/project/webshop/controller/category.php(684): core\lib\webshop\module\categories\Categories::getMinMaxPrice('benzinmotoros_f...', '1') #2 /home/agrokera/domains/agrokeraruhaz.hu/public_html/project/webshop/controller/category.php(347): project\webshop\controller\Category::showNew('benzinmotoros_f...', NULL) #3 /home/agrokera/domains/agrokeraruhaz.hu/public_html/project/webshop/controller/kategoria.php(28): project\webshop\controller\Category::show('benzinmotoros_f...') #4 [internal function]: project\webshop\controller\Kategoria->access('benzinmotoros_f...') #5 /home/agrokera/domains/agrokeraruhaz.hu/public_html/core/hbfw.php(174): call_user_func_array(Array, Array) #6 /home/agrokera/domains/agrokeraruhaz.hu/public_html/project/webshop/www/index.php(13): require_once('/home/agrokera/...') #7 {main}