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

Fatal error after saving the assignment. #24

Closed
sushantgawali opened this issue Jan 12, 2015 · 3 comments
Closed

Fatal error after saving the assignment. #24

sushantgawali opened this issue Jan 12, 2015 · 3 comments
Labels
Issue type - bug Bugs in existing code that needs to be fixed.

Comments

@sushantgawali
Copy link
Contributor

I have updated local/o365 plugin code from master branch on demo server. After updating, I am not able to save the assignments. I am getting the following error :

Fatal error: Call to a member function create_event() on a non-object in C:\MoodleWindowsInstaller-latest-27\server\moodle\local\o365\classes\observers.php on line 322

Steps to reproduce :

  1. Go Add new assignment form.
  2. Add title and description.
  3. Click on save and display.

Demo server url : http://moodle-o365.cloudapp.net/

Admin user - admin, password - Pwd&0011
Teacher user - te1, password - Pwd&0011

@sushantgawali sushantgawali added the Issue type - bug Bugs in existing code that needs to be fixed. label Jan 12, 2015
@jamesmcq
Copy link
Contributor

Can you confirm this is using the most up-to-date version of the code? This bug did exist a little while back but has since been fixed.

@sushantgawali
Copy link
Contributor Author

I got this error may be because I haven't configured Azure AD on my local machine. I am not getting this error on server now. So can you check for this possibility that if Azure AD is not configured then it happens.

@jamesmcq
Copy link
Contributor

Thanks, I've pushed a fix to eliminate the error when o365 is not configured.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue type - bug Bugs in existing code that needs to be fixed.
Projects
None yet
Development

No branches or pull requests

2 participants