Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/projectos.php
Line Number: 161
Error Number: 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 'AND pp.is_deleted=0 WHERE p.is_deleted=0' at line 1
SELECT * FROM padrinhos p INNER JOIN projectos_padrinhos pp ON pp.id_padrinho = p.id AND pp.id_projecto= AND pp.is_deleted=0 WHERE p.is_deleted=0
Filename: /var/www/html/controllers/projectos.php
Line Number: 179