Notice: Trying to get property 'rows' of non-object in /srv/vhost/gizalde.eus/home/html/gizalde-portal-voluntariado/programa-ficha.php on line 38

Notice: Trying to get property 'value' of non-object in /srv/vhost/gizalde.eus/home/html/gizalde-portal-voluntariado/programa-ficha.php on line 59

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 in /srv/vhost/gizalde.eus/home/html/boluntariotza-portala/admin/includes/sqlConnector.php:40 Stack trace: #0 /srv/vhost/gizalde.eus/home/html/boluntariotza-portala/admin/includes/sqlConnector.php(40): PDOStatement->execute() #1 /srv/vhost/gizalde.eus/home/html/boluntariotza-portala/admin/includes/sqlManager.php(429): SqlConnector->execute('SELECT userId, ...') #2 /srv/vhost/gizalde.eus/home/html/gizalde-portal-voluntariado/programa-ficha.php(59): SqlManager->get_single_ong_by_id(NULL) #3 {main} thrown in /srv/vhost/gizalde.eus/home/html/boluntariotza-portala/admin/includes/sqlConnector.php on line 40