- Posts: 3
Joomdle 1.0 Installation
Exception - Call to a member function call_method() on null
- samikh
- Topic Author
- Offline
- New Member
-
Less
More
6 years 1 week ago #1
by samikh
Exception - Call to a member function call_method() on null was created by samikh
Hello ,
I have updated moodle and reinstalled Jmoodle.
Now, when trying to edit any user I am getting this error:
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.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7929
6 years 1 week ago #2
by Antonio Durán
Replied by Antonio Durán on topic Exception - Call to a member function call_method() on null
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
-
Less
More
- Posts: 3
6 years 1 week ago #3
by samikh
Replied by samikh on topic Exception - Call to a member function call_method() on null
Thank you for your reply .
It's there
It's there
Please Log in or Create an account to join the conversation.
- Antonio Durán
-
- Offline
- Moderator
-
Less
More
- Posts: 7929
6 years 1 week ago #4
by Antonio Durán
Replied by Antonio Durán on topic Exception - Call to a member function call_method() on null
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:
After:
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.
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 ();
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
-
Less
More
- Posts: 3
6 years 1 week ago #5
by samikh
Replied by samikh on topic Exception - Call to a member function call_method() on null
Awesome 
It worked . Thank you so much !
Keep up the good work:)
It worked . Thank you so much !
Keep up the good work:)
Please Log in or Create an account to join the conversation.