We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
Get the following error in the log:
[Thu Oct 06 13:23:39.918071 2022] [php:error] [pid 29137] [client ::1:62828] PHP Fatal error: Uncaught TypeError: Database::connect(): Argument #2 ($trackChanges) must be of type bool, string given, called in /Users/cmadjar/Development/Github/Loris/modules/instrument_manager/php/instrument_manager.class.inc on line 602 and defined in /Users/cmadjar/Development/Github/Loris/php/libraries/Database.class.inc:145\nStack trace:\n#0 /Users/cmadjar/Development/Github/Loris/modules/instrument_manager/php/instrument_manager.class.inc(602): Database->connect('HBCD_UMN_sandbo...', 'lorisadmin', 'XXXX, 'localhost', false)\n#1 /Users/cmadjar/Development/Github/Loris/modules/instrument_manager/php/instrument_manager.class.inc(304): LORIS\\instrument_manager\\Instrument_Manager->isAdminUserConfigured()\n#2 /Users/cmadjar/Development/Github/Loris/php/libraries/NDB_Menu_Filter.class.inc(778): LORIS\\instrument_manager\\Instrument_Manager->toArray()\n#3 /Users/cmadjar/Development/Github/Loris/php/libraries/NDB_Menu_Filter.class.inc(648): NDB_Menu_Filter->toJSON()\n#4 /Users/cmadjar/Development/Github/Loris/php/libraries/NDB_Page.class.inc(753): NDB_Menu_Filter->display()\n#5 /Users/cmadjar/Development/Github/Loris/modules/instrument_manager/php/instrument_manager.class.inc(103): NDB_Page->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#6 /Users/cmadjar/Development/Github/Loris/php/libraries/NDB_Page.class.inc(730): LORIS\\instrument_manager\\Instrument_Manager->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#7 /Users/cmadjar/Development/Github/Loris/php/libraries/Module.class.inc(398): NDB_Page->process(Object(Laminas\\Diactoros\\ServerRequest), Object(LORIS\\instrument_manager\\Instrument_Manager))\n#8 /Users/cmadjar/Development/Github/Loris/src/Middleware/ResponseGenerator.php(50): Module->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#9 /Users/cmadjar/Development/Github/Loris/src/Middleware/AuthMiddleware.php(63): LORIS\\Middleware\\ResponseGenerator->process(Object(Laminas\\Diactoros\\ServerRequest), Object(LORIS\\instrument_manager\\Module))\n#10 /Users/cmadjar/Development/Github/Loris/src/Router/ModuleRouter.php(74): LORIS\\Middleware\\AuthMiddleware->process(Object(Laminas\\Diactoros\\ServerRequest), Object(LORIS\\instrument_manager\\Module))\n#11 /Users/cmadjar/Development/Github/Loris/src/Middleware/ExceptionHandlingMiddleware.php(54): LORIS\\Router\\ModuleRouter->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#12 /Users/cmadjar/Development/Github/Loris/src/Router/BaseRouter.php(126): LORIS\\Middleware\\ExceptionHandlingMiddleware->process(Object(Laminas\\Diactoros\\ServerRequest), Object(LORIS\\Router\\ModuleRouter))\n#13 /Users/cmadjar/Development/Github/Loris/src/Middleware/ResponseGenerator.php(50): LORIS\\Router\\BaseRouter->handle(Object(Laminas\\Diactoros\\ServerRequest))\n#14 /Users/cmadjar/Development/Github/Loris/src/Middleware/ContentLength.php(52): LORIS\\Middleware\\ResponseGenerator->process(Object(Laminas\\Diactoros\\ServerRequest), Object(LORIS\\Router\\BaseRouter))\n#15 /Users/cmadjar/Development/Github/Loris/htdocs/index.php(55): LORIS\\Middleware\\ContentLength->process(Object(Laminas\\Diactoros\\ServerRequest), Object(LORIS\\Router\\BaseRouter))\n#16 {main}\n thrown in /Users/cmadjar/Development/Github/Loris/php/libraries/Database.class.inc on line 145, referer: http://localhost:8080/instrument_manager/
The text was updated successfully, but these errors were encountered:
fa56a6a
No branches or pull requests
Describe the bug
Get the following error in the log:
The text was updated successfully, but these errors were encountered: