Hello! We have successfully used your plugin in the past to integrate a survey via LTI with the Open eClass LMS. I can see from backups that the LimeSurvey instance we used was version 4.6.2+210512, with LTIPlugin version 1.0.5, but unfortunately that server isn't currently online.
We have just setup a new LimeSurvey instance, version 5.6.9+230306 with LTIPlugin 1.1.0, and while initially everything went fine, when activating the survey via LTI the following error appears:
500: Internal Server Error
Illegal offset type in isset or empty
An internal error occurred while the Web server was processing your request.
The new server is running Apache with mod_php (we tried PHP 8.0, 8.1 and 8.2 with the same result).
It seems the exception is caught and full details don't appear in the logs (is there a way to enable full error logging in LimeSurvey?) but by adding a line to print $exception->getTraceAsString() in vendor/yiisoft/yii/framework/base/CErrorHandler.php I captured the following backtrace, in case it helps:
#0 [internal function]: LTIPlugin->newDirectRequest()
#1 /var/www/html/limesurvey/application/libraries/PluginManager/PluginManager.php(269): call_user_func()
#2 /var/www/html/limesurvey/application/controllers/PluginsController.php(47): LimeSurvey\PluginManager\PluginManager->dispatchEvent()
#3 [internal function]: PluginsController->actionUnsecure()
#4 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs()
#5 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/actions/CInlineAction.php(47): CAction->runWithParamsInternal()
#6 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams()
#7 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(286): CController->runAction()
#8 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters()
#9 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run()
#10 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController()
#11 /var/www/html/limesurvey/vendor/yiisoft/yii/framework/base/CApplication.php(185): CWebApplication->processRequest()
#12 /var/www/html/limesurvey/index.php(192): CApplication->run()
#13 {main}
I also tested it through an LTI activity in Moodle and got the same error.
We'll continue trying to debug the problem, but I'd be grateful for any ideas or a possible solution - thanks in advance!