Fatal error: Uncaught PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'library.prestamo' doesn't exist in /var/www/html/clases24_25/EjerciciosPHP/Crud3/MVC/app/models/Loan.php:35
Stack trace:
#0 /var/www/html/clases24_25/EjerciciosPHP/Crud3/MVC/app/models/Loan.php(35): PDOStatement->execute()
#1 /var/www/html/clases24_25/EjerciciosPHP/Crud3/MVC/app/controllers/LibraryController.php(26): App\Models\Loan::all()
#2 /var/www/html/clases24_25/EjerciciosPHP/Crud3/MVC/core/App.php(43): App\Controllers\LibraryController->index()
#3 /var/www/html/clases24_25/EjerciciosPHP/Crud3/MVC/start.php(7): Core\App->__construct()
#4 /var/www/html/clases24_25/EjerciciosPHP/Crud3/MVC/public/index.php(3): require('...')
#5 {main}
thrown in /var/www/html/clases24_25/EjerciciosPHP/Crud3/MVC/app/models/Loan.php on line 35