Error at 2025-11-04 02:26:34:
Query: SELECT sp_projetos.*,
        COALESCE((SELECT sp_tipodeprojetos.nome FROM sp_tipodeprojetos WHERE sp_tipodeprojetos.id = sp_projetos.tipodeprojetoID LIMIT 1),'') AS tipodeprojeto,
        COALESCE((SELECT sp_projetos_fotos.foto FROM sp_projetos_fotos WHERE sp_projetos_fotos.projetoID = sp_projetos.id LIMIT 1),'') AS foto,
        COALESCE((SELECT sp_projetos_fotos.fotowebp FROM sp_projetos_fotos WHERE sp_projetos_fotos.projetoID = sp_projetos.id LIMIT 1),'') AS fotowebp
        FROM sp_projetos 
    
        ORDER BY rand()
        LIMIT -24,12
    
Error: 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 '-24,12' at line 8
Error at 2025-11-04 02:26:34:
Query: SELECT sp_projetos.*,
        COALESCE((SELECT sp_tipodeprojetos.nome FROM sp_tipodeprojetos WHERE sp_tipodeprojetos.id = sp_projetos.tipodeprojetoID LIMIT 1),'') AS tipodeprojeto,
        COALESCE((SELECT sp_projetos_fotos.foto FROM sp_projetos_fotos WHERE sp_projetos_fotos.projetoID = sp_projetos.id LIMIT 1),'') AS foto,
        COALESCE((SELECT sp_projetos_fotos.fotowebp FROM sp_projetos_fotos WHERE sp_projetos_fotos.projetoID = sp_projetos.id LIMIT 1),'') AS fotowebp
        FROM sp_projetos 
    
        ORDER BY rand()
        LIMIT -24,12
    
Error: 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 '-24,12' at line 8