ERRO: 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 'LIMIT 1' at line 1 SQL: SELECT COUNT(*) as total FROM cursos_depoimentos WHERE cod_curso= LIMIT 1
ERRO: 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 'AND cursos.status = 1 GROUP BY cursos_relacionados.cod_relacionado ORDER BY curs' at line 14 SQL: SELECT
cursos_relacionados.*,
cursos.`status`,
cursos.id_curso,
cursos.codigo,
cursos.tipo,
cursos.valor,
cursos.nome_pt,
cursos.cod_principal,
categorias_cursos.categoria_pt
FROM cursos_relacionados
JOIN cursos ON cursos.cod_curso = cursos_relacionados.cod_relacionado
LEFT JOIN categorias_cursos ON categorias_cursos.cod_categoria = cursos.cod_principal
WHERE cursos_relacionados.cod_curso = AND cursos.status = 1 GROUP BY cursos_relacionados.cod_relacionado ORDER BY cursos.ordem
#0 /var/www/html/cetrus/Site/app/framework/database/MysqlPDODriver.php(89): MysqlPDODriver->error('SELECT \n ...')
#1 /var/www/html/cetrus/Site/app/framework/Model.php(212): MysqlPDODriver->execute('SELECT \n ...')
#2 /var/www/html/cetrus/Site/app/actions/site/SiteCursosAction.php(912): Model->selectAll('\n cu...', ' WHERE cursos_r...', ' ORDER BY curso...', '', '\n JO...', ' GROUP BY curso...')
#3 /var/www/html/cetrus/Site/app/actions/site/SiteCursosAction.php(857): SiteCursosAction->relacionados(NULL)
#4 /var/www/html/cetrus/Site/site_cursos-int-novo.php(15): SiteCursosAction->exibeUri('assets')
#5 /var/www/html/cetrus/Site/index.php(321): include_once('/var/www/html/c...')
#6 {main}
ERRO: 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 'ORDER BY data DESC' at line 1 SQL: SELECT * FROM cursos_depoimentos WHERE cod_curso= ORDER BY data DESC
#0 /var/www/html/cetrus/Site/app/framework/database/MysqlPDODriver.php(89): MysqlPDODriver->error('SELECT * FROM c...')
#1 /var/www/html/cetrus/Site/app/framework/Model.php(212): MysqlPDODriver->execute('SELECT * FROM c...')
#2 /var/www/html/cetrus/Site/app/actions/site/SiteCursosAction.php(1014): Model->selectAll('*', ' WHERE cod_curs...', ' ORDER BY data ...', '')
#3 /var/www/html/cetrus/Site/site_cursos-int-novo.php(20): SiteCursosAction->listaDepoimentos(NULL)
#4 /var/www/html/cetrus/Site/index.php(321): include_once('/var/www/html/c...')
#5 {main}
ERRO: 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 'LIMIT 1' at line 1 SQL: SELECT tipo,modalidade,curso,tipo_curso FROM cursos WHERE cod_curso = LIMIT 1
ERRO: 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 'AND status=1 AND turma<>'DEFINIR' AND data_inicio>=CURDATE() ORDER BY unidades.c' at line 3 SQL: SELECT DISTINCT(cursos_datas.cod_unidade), unidades.unidade, unidades.urlrewrite, unidades.cod_unidade FROM cursos_datas
inner join unidades
on unidades.cod_unidade = cursos_datas.cod_unidade WHERE 1=1 AND cod_curso = AND status=1 AND turma<>'DEFINIR' AND data_inicio>=CURDATE() ORDER BY unidades.cod_unidade asc
#0 /var/www/html/cetrus/Site/app/framework/database/MysqlPDODriver.php(89): MysqlPDODriver->error('SELECT DISTINCT...')
#1 /var/www/html/cetrus/Site/app/framework/Model.php(212): MysqlPDODriver->execute('SELECT DISTINCT...')
#2 /var/www/html/cetrus/Site/app/actions/site/SiteUnidadesAction.php(43): Model->selectAll('DISTINCT(cursos...', ' WHERE 1=1 AND ...', ' ORDER BY unida...', '', '\n in...')
#3 /var/www/html/cetrus/Site/assets/includes/cursos/conteudo_modular.php(47): SiteUnidadesAction->lista(Array)
#4 /var/www/html/cetrus/Site/site_cursos-int-novo.php(103): include('/var/www/html/c...')
#5 /var/www/html/cetrus/Site/index.php(321): include_once('/var/www/html/c...')
#6 {main}
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/cetrus/Site/assets/includes/cursos/conteudo_modular.php on line 293
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/cetrus/Site/assets/includes/cursos/conteudo_modular.php on line 321
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/cetrus/Site/assets/includes/cursos/conteudo_modular.php on line 349