A PHP Error was encountered

Severity: Notice

Message: Undefined index: seccion_proyectos

Filename: controllers/Proyectos.php

Line Number: 89

Backtrace:

File: /home/pulserascandela/www/application/controllers/Proyectos.php
Line: 89
Function: _error_handler

File: /home/pulserascandela/www/index.php
Line: 316
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1

SELECT SUM(cantidad) as total FROM donaciones WHERE pagado=1 AND id_donacion=

Filename: models/CommonFunctions.php

Line Number: 194