Severity: Warning
Message: Missing argument 4 for Materiales_model::set_count_material(), called in /opt/rh/httpd24/root/var/www/html/MFE/application/controllers/Home.php on line 763 and defined
Filename: models/Materiales_model.php
Line Number: 28
Backtrace:
File: /opt/rh/httpd24/root/var/www/html/MFE/application/models/Materiales_model.php
Line: 28
Function: _error_handler
File: /opt/rh/httpd24/root/var/www/html/MFE/application/controllers/Home.php
Line: 763
Function: set_count_material
File: /opt/rh/httpd24/root/var/www/html/MFE/index.php
Line: 327
Function: require_once
Severity: Notice
Message: Undefined variable: id
Filename: models/Materiales_model.php
Line Number: 38
Backtrace:
File: /opt/rh/httpd24/root/var/www/html/MFE/application/models/Materiales_model.php
Line: 38
Function: _error_handler
File: /opt/rh/httpd24/root/var/www/html/MFE/application/controllers/Home.php
Line: 763
Function: set_count_material
File: /opt/rh/httpd24/root/var/www/html/MFE/index.php
Line: 327
Function: require_once
Severity: Notice
Message: Undefined index: id
Filename: models/Materiales_model.php
Line Number: 42
Backtrace:
File: /opt/rh/httpd24/root/var/www/html/MFE/application/models/Materiales_model.php
Line: 42
Function: _error_handler
File: /opt/rh/httpd24/root/var/www/html/MFE/application/controllers/Home.php
Line: 763
Function: set_count_material
File: /opt/rh/httpd24/root/var/www/html/MFE/index.php
Line: 327
Function: require_once
Error Number: 1048
Column 'id_material' cannot be null
INSERT INTO `historial_libro` (`id_material`, `fecha`, `descargas`) VALUES (NULL, '2024-03-28', 1)
Filename: models/Materiales_model.php
Line Number: 126