Warning: Undefined array key "checkout" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 31

Warning: Undefined array key "url" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 172

Warning: Undefined array key "nome" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 172

Warning: Undefined array key "checkout" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 75

Warning: Undefined array key "id" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 187

Warning: Undefined array key "id" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 187

Warning: Undefined array key "id" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 187

Warning: Undefined array key "id" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 187

Warning: Undefined array key "id" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 187

Warning: Undefined array key "id" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 187

Warning: Undefined array key "id" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 187

Warning: Undefined array key "id" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 187

Warning: Undefined array key "id" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 187

Warning: Undefined array key "id" in /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php on line 190

Fatal error: Uncaught PDOException: Error while trying to execute query. 42000: SQLSTATE[42000]: Syntax error or access violation: 1064 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 a.ativo = 1 AND b.url = 'checkout' ORDER BY b.nome ASC, a.prioridade DESC...' at line 7 in /home/audaxcursos/www/app/Connection/Connection.php:121 Stack trace: #0 /home/audaxcursos/www/app/Connection/Connection.php(95): App\Connection\Connection->throwMySQLException(Object(PDOException)) #1 /home/audaxcursos/www/app/Connection/Connection.php(166): App\Connection\Connection->execute('SELECT \n ...') #2 /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php(84): App\Connection\Connection->select('\n a....', 'WHERE a.categor...', 'ORDER BY b.nome...') #3 /home/audaxcursos/www/app/Controllers/Site/Cursos/CursosController.php(33): App\Controllers\Site\Cursos\CursosController->getCursos(Array, 'checkout') #4 /home/audaxcursos/www/vendor/coffeecode/router/src/RouterTrait.php(114): App\Controllers\Site\Cursos\CursosController->categoria(Array) #5 /home/audaxcursos/www/vendor/coffeecode/router/src/Dispatch.php(197): CoffeeCode\Router\Dispatch->execute() #6 /home/audaxcursos/www/index.php(110): CoffeeCode\Router\Dispatch->dispatch() #7 {main} thrown in /home/audaxcursos/www/app/Connection/Connection.php on line 121