Fatal error: Uncaught Exception: Ocorreu um erro: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'v.id' in 'where clause'\nComando: SELECT *, (SELECT CONCAT(id, '.', extensao) FROM anexos WHERE registro_id = a.id AND tabela = 'categoria' AND tipo = 'ImagemInterna' ORDER BY RAND() LIMIT 1) AS imagem FROM categoria a WHERE id = ''+v.id+'' in /home/ameli012/public_html/base/conexao.php:82 Stack trace: #0 /home/ameli012/public_html/controllers/conteudo.php(73): Conexao->Query('SELECT *,\n\t\t\t(S...') #1 /home/ameli012/public_html/index.php(218): Conteudo::categorias(''+v.id+'') #2 {main} thrown in /home/ameli012/public_html/base/conexao.php on line 82