by Shailesh Todkari.
Hello
I have upgraded moodle 3.10 to 3.11 after upgradation LTI not working showing - Exception - Return value of lti_get_instance_type() must be an object or null, bool returned.
Debug info:
Error code: generalexceptionmessage
Error code: generalexceptionmessage
stack trace:
- line 521 of /mod/lti/locallib.php: TypeError thrown
- line 535 of /mod/lti/locallib.php: call to lti_get_instance_type()
- line 714 of /mod/lti/locallib.php: call to lti_get_launch_data()
- line 88 of /mod/lti/launch.php: call to lti_launch_tool()
Output buffer: <br /> <b>Notice</b>: Trying to get property 'name' of non-object in <b>/var/www/html/mod/lti/locallib.php</b> on line <b>2609</b><br /> <br /> <b>Notice</b>: Trying to get property 'id' of non-object in <b>/var/www/html/mod/lti/locallib.php</b> on line <b>2611</b><br /> <br /> <b>Notice</b>: Trying to get property 'toolproxyid' of non-object in <b>/var/www/html/mod/lti/locallib.php</b> on line <b>2613</b><br /> <br /> <b>Notice</b>: Trying to get property 'baseurl' of non-object in <b>/var/www/html/mod/lti/locallib.php</b> on line <b>2615</b><br /> <br /> <b>Notice</b>: Trying to get property 'ltiversion' of non-object in <b>/var/www/html/mod/lti/locallib.php</b> on line <b>2617</b><br /> <br /> <b>Notice</b>: Trying to get property 'clientid' of non-object in <b>/var/www/html/mod/lti/locallib.php</b> on line <b>2619</b><br /> <br /> <b>Notice</b>: Trying to get property 'description' of non-object in <b>/var/www/html/mod/lti/locallib.php</b> on line <b>2622</b><br /> <br /> <b>Notice</b>: Trying to get property 'parameter' of non-object in <b>/var/www/html/mod/lti/locallib.php</b> on line <b>2624</b><br /> <br /> <b>Notice</b>: Trying to get property 'icon' of non-object in <b>/var/www/html/mod/lti/locallib.php</b> on line <b>2626</b><br /> <br /> <b>Notice</b>: Trying to get property 'secureicon' of non-object in <b>/var/www/html/mod/lti/locallib.php</b> on line <b>2628</b><br />
Thanks in advance