Skip to content
New issue

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

Instrument Manager module not loading on v24.1.0 #8182

Closed
cmadjar opened this issue Oct 6, 2022 · 0 comments
Closed

Instrument Manager module not loading on v24.1.0 #8182

cmadjar opened this issue Oct 6, 2022 · 0 comments
Labels
Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label)

Comments

@cmadjar
Copy link
Collaborator

cmadjar commented Oct 6, 2022

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/
@cmadjar cmadjar added the Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label) label Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug PR or issue introducing/requiring bug fixes (not mutually exclusive with the Feature label)
Projects
None yet
Development

No branches or pull requests

1 participant