Great that you could track down the problem. Mahara 20.10 does not support PHP 8. Rudimentary support for PHP 8.1 is in Mahara 22.10, but we've since made changes for better PHP 8.1 support in Mahara 23.04.
Cheers
Kristina
]]>Triggered by that, I also reset the PHP verion on the production server from 8.0 to 7.4. After this adjustment, the submission plugin works fine.
I will now continue working on this until the plugin is ready for Moodle v4.1. Then I will also install a newer version of Mahara and try again.
Thanks so far.
]]>The first thing I'd recommend is you upgrade to a newer version of Mahara as I'm pretty sure we've added a number of LTI patches since 20.10.
Does the plugin work for you on Mahara 20.10 with Moodle 3.9? Just trying to narrow down where the problem might lie.
Cheers
Kristina
]]>Below is the error message and the stack trace. Is there anyone who can point me towards the solution for this?
De foutmelding:
error/Error when connecting to Mahara web services. A nonrecoverable error occurred. This probably means you have encountered a bug in the system Check that URL and OAuth credentials are correct and that there is a valid SSL certificate if HTTPS is used. Also check that the correct functions are assigned to the OAuth access.
Stack trace:
Stack trace:
line 1309 of /mod/assign/locallib.php: moodle_exception thrown
line 784 of /mod/assign/locallib.php: call to assign->update_plugin_instance()
line 43 of /mod/assign/lib.php: call to assign->add_instance()
line 137 of /course/modlib.php: call to assign_add_instance()
line 170 of /course/modedit.php: call to add_moduleinfo()