error:
Array
(
    [datetime] => 2019-10-17 22:25:54 (-03)
    [level] => 8
    [type] => Notice
    [msg] => Undefined index: imagem
    [file] => /home/q-sonho/www/site/classes/galeria.php
    [line] => 52
)
error:
Array
(
    [datetime] => 2019-10-17 22:25:54 (-03)
    [level] => 8
    [type] => Notice
    [msg] => Undefined index: imagem
    [file] => /home/q-sonho/www/site/classes/galeria.php
    [line] => 53
)
error:
Array
(
    [datetime] => 2019-10-17 22:25:54 (-03)
    [level] => 8
    [type] => Notice
    [msg] => Undefined index: imagem
    [file] => /home/q-sonho/www/site/classes/galeria.php
    [line] => 54
)
error:
Array
(
    [datetime] => 2019-10-17 22:25:54 (-03)
    [level] => 8
    [type] => Notice
    [msg] => Undefined index: id_categoria
    [file] => /home/q-sonho/www/site/classes/galeria.php
    [line] => 55
)
error:
Array
(
    [datetime] => 2019-10-17 22:25:54 (-03)
    [level] => 256
    [type] => User Error
    [msg] => DB error. arg:SELECT * FROM site_categoria WHERE id = . MySql:(1064) 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 1
    [file] => /home/q-sonho/www/common/classes/banco.php
    [line] => 119
    [trace] => Array
        (
            [sql] => SELECT * FROM site_categoria WHERE id = 
            [msg] => DB error. arg:SELECT * FROM site_categoria WHERE id = . MySql:(1064) 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 1
        )

)