Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3 in /home/beautyshop17/public_html/includes/core.php:440
Stack trace:
#0 /home/beautyshop17/public_html/includes/core.php(440): mysqli_query(Object(mysqli), 'SELECT GROUP_CO...')
#1 /home/beautyshop17/public_html/includes/Bl/categorias.php(1140): get_sql('SELECT GROUP_CO...', 'array')
#2 /home/beautyshop17/public_html/includes/lib/cache.php(142): Bl\Categorias->Bl\{closure}()
#3 /home/beautyshop17/public_html/includes/Bl/categorias.php(1119): Cache->remember('search_tags_pro...', '+15 minutes', Object(Closure))
#4 /home/beautyshop17/public_html/includes/Bl/categorias.php(1083): Bl\Categorias->getProductsIdsByTagTerm('')
#5 /home/beautyshop17/public_html/includes/lib/cache.php(142): Bl\Categorias->Bl\{closure}()
#6 /home/beautyshop17/public_html/includes/Bl/categorias.php(1080): Cache->remember('search_products...', '+15 minutes', Object(Closure))
#7 /home/beautyshop17/public_html/includes/Bl/categorias.php(701): Bl\Categorias->getProductsIdsByTerm('')
#8 /home/beautyshop17/public_html/includes/Bl/categorias.php(910): Bl\Categorias::searchQuery(NULL)
#9 /home/beautyshop17/public_html/includes/lib/cache.php(142): Bl\Categorias::Bl\{closure}()
#10 /home/beautyshop17/public_html/includes/Bl/categorias.php(898): Cache->remember('get_marcas_from...', '+15 minutes', Object(Closure))
#11 /home/beautyshop17/public_html/includes/modules/category.mod.php(48): Bl\Categorias::get_marcas_from_search_term(NULL, NULL)
#12 /home/beautyshop17/public_html/includes/modules/pesquisa.mod.php(11): Category->__construct()
#13 /home/beautyshop17/public_html/includes/core.php(216): Pesquisa->__construct()
#14 /home/beautyshop17/public_html/includes/core.php(51): core->load_module()
#15 /home/beautyshop17/public_html/index.php(5): core->__construct()
#16 {main}
thrown in /home/beautyshop17/public_html/includes/core.php on line 440