Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/Llibres.php
Line Number: 26
Backtrace:
File: /home/onadaedi/public_html/application/controllers/Llibres.php
Line: 26
Function: _error_handler
File: /home/onadaedi/public_html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/Llibres.php
Line Number: 27
Backtrace:
File: /home/onadaedi/public_html/application/controllers/Llibres.php
Line: 27
Function: _error_handler
File: /home/onadaedi/public_html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/Llibres.php
Line Number: 28
Backtrace:
File: /home/onadaedi/public_html/application/controllers/Llibres.php
Line: 28
Function: _error_handler
File: /home/onadaedi/public_html/index.php
Line: 315
Function: require_once
Severity: Notice
Message: Trying to access array offset on value of type null
Filename: controllers/Llibres.php
Line Number: 28
Backtrace:
File: /home/onadaedi/public_html/application/controllers/Llibres.php
Line: 28
Function: _error_handler
File: /home/onadaedi/public_html/index.php
Line: 315
Function: require_once
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 (id=0) AND id IN (SELECT id_libro FROM libros_dominios WHERE activo=1 AND do' at line 1
SELECT * FROM libros WHERE id<> AND (id=0) AND id IN (SELECT id_libro FROM libros_dominios WHERE activo=1 AND dominio='onadaedicions.com') ORDER BY fecha_publicacion DESC LIMIT 10
Filename: models/CommonFunctions.php
Line Number: 391