Joomdle 1.0 Installation

Exception - Call to a member function call_method() on null

  • samikh
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 week ago #1 by samikh
Hello ,
I have updated moodle and reinstalled Jmoodle.
Now, when trying to edit any user I am getting this error:
Code:
Exception - Call to a member function call_method() on null
Code:
line 136 of /auth/joomdle/locallib.php: Error thrown line ? of unknownfile: call to auth_joomdle_handler::user_updated() line 155 of /lib/classes/event/manager.php: call to call_user_func() line 75 of /lib/classes/event/manager.php: call to core\event\manager::process_buffers() line 834 of /lib/classes/event/base.php: call to core\event\manager::dispatch() line 282 of /user/editadvanced.php: call to core\event\base->trigger()

Please Log in or Create an account to join the conversation.

More
6 years 1 week ago #2 by Antonio Durán
It seems your Joomdle installation in Moodle may be missing auth.php file?

Please Log in or Create an account to join the conversation.

  • samikh
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 week ago #3 by samikh
Thank you for your reply .
It's there

Please Log in or Create an account to join the conversation.

More
6 years 1 week ago #4 by Antonio Durán
Oh, I remeber now.
That file has an error, that I fixed for next release.
In file /auth/joomdle/locallib.php, user_updated function, put this line:
Code:
$auth_joomdle = new auth_plugin_joomdle ();
After:
Code:
global $CFG, $DB;

You may also prefer to just disable the option to forward events to Joomla, in Joomdle config in Moodle, as that's causing the error and you are most probably not really using that.

Please Log in or Create an account to join the conversation.

  • samikh
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 1 week ago #5 by samikh
Awesome ;)

It worked . Thank you so much !
Keep up the good work:)

Please Log in or Create an account to join the conversation.