[Koha] 500 errors in staff mode and forcing a database update