-
Notifications
You must be signed in to change notification settings - Fork 3
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
Exception thrown on creation of new assignment #19
Comments
Hello ... did you solve this problem? ... I have had the same problem |
Hi, I am also having the same problem. I have the most up to date Moodle installed. Did either of you have any luck in resolving? |
Me too. I suddenly encounter the same issue. I need help to resolve this problem. Anyone? please. |
It works! Thank you so much! |
Any feedback on the issue? We need to use the Annotate PDF Advanced, so disabling it does not fix the issue. |
@danawortman as Moodle 3.8 is no longer supported (not even for security fixes), I guess that in the mean time you have migrated to a supported version. Is this the case? @nsgreen749 what Moodle version are you using? |
@nsgreen749 if you can reproduce the error, can you please post reproducibility steps and details about:
|
i have same issue, moodle version 3.8 plugin version 2.4 for Moodle 3.7-3.9 (Build: 2021020501) (2021020501), this error Argument 1 passed to assign::calculate_properties() must be an instance of stdClass, null given, called in [dirroot]/mod/assign/locallib.php on line 1677 |
I'm using Moodle 3.10 (Build 20201211) |
@ndunand Thanks for the follow-up, but I've actually migrated to using my University's LMS, Canvas. There are many things I hate about it, but at least I don't have to manage the backend anymore! |
Any feedback on this? |
Is there any resolution for this issue? We want to use the annotate PDF so disabling isn't an option. Information regarding our issue below:
More information about this error
|
@ndunand please can you advise on the issue we are experiencing with the plugin? |
Hello, We are not experiencing any problems on our side (using the latest version of this plugin, i.e. This version of the plugin should work without any issue on all currently supported Moodle versions. Could you please confirm you are actually on the plugin's latest released version? |
Hi thanks so much for getting back. Yes I've just done a fresh install just to check, even though I was sure using the right version, and we are still getting the same error message. Version we are using: 2.4 for Moodle 3.7-3.9 (Build: 2021020501)2021020501 So I'm confident I'm using the correct version, but it just doenst work. On either our test install or live installation. The error message: (debug info in previous comment) |
Thanks @paulaflah , I've just tried to reinstall a blank Moodle 3.9, and then add only this one extra plugin. I didn't encounter any issue creating the assignment, even logging in as a student to submit a file, and then grading it as a teacher. I see you're using Moodle version 3.9, in particular release 2020061500 (which means 3.9.0), which is the original 3.9 release without subsequent bug fixes (minor updates to Moodle 3.9), whereas I'm testing on 3.9.8... Do you have any means of testing this issue on (at lease) Moodle 3.9.8 on your test environment? |
Hi again @ndunand thanks for looking into this. So, I've tested on Moodle 3.10.3 (Build: 20210325), Moodle 3.9.8+ (Build: 20210716) and Moodle 3.9.10+ (Build: 20210917) and all of these versions present the same error message. |
@ndunand it seems that the issue was arising from the GhostScript fileopath not being correct/present. it is now resolved I had a bit of a dig around and noticed that wasnt quite right. I wonder if this is the same issue @nsgreen749 had as well.. Sorry for bugging you so much. But your help is much appreciated. Thank you also for such a great plugin! We're excited we can now use this again. |
@paulaflah , thanks for reporting back here. I'm glad you could resolve the issue finally, I was really at a loss as to why the plugin would not operate properly. In any case, I'm closing this issue now, but feel free to reopen if needed. |
After installing this plugin, when creating a new assignment in any of my courses, the following error occurred:
Exception - Argument 1 passed to assign::calculate_properties() must be an instance of stdClass, null given, called in [dirroot]/mod/assign/locallib.php on line 1705
Admittedly, I am using the plugin with moodle 3.8, which you have not verified your build for, yet, but most plugins have continued to work and I assume you'll eventually want to get your plugin working on 3.8. I uninstalled this plugin and moodle is working fine again, so it is definitely your plugin's interaction with assignments.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: