LDAP sync error after update to 3.9.2

LDAP sync error after update to 3.9.2

by Tran Minh Van -
Number of replies: 0

On Septemper 21th, I upgrade my Moodle site from 3.9.1 to 3.9.2, and after that LDAP sync schedule task has error like following: 

SELECT name,value FROM mdl_config_plugins WHERE plugin = ?
[array (
0 => 'tool_monitor',
)]
--------------------------------
Query took: 0.00011396408081055 seconds.
--------------------------------
Database transaction aborted automatically in /var/www/html/eNTU/admin/tool/task/cli/schedule_task.php
--------------------------------
ROLLBACK
--------------------------------
Query took: 0.0027971267700195 seconds.
--------------------------------
Default exception handler: Exception - Call to undefined method cachestore_dummy::find_by_prefix() Debug: Error code: generalexceptionmessage
* line 1815 of /cache/classes/loaders.php: Error thrown
* line 131 of /user/lib.php: call to cache_session->purge_current_user()
* line 959 of /auth/ldap/auth.php: call to user_create_user()
* line 50 of /auth/ldap/classes/task/sync_task.php: call to auth_plugin_ldap->sync_users()
* line 163 of /admin/tool/task/cli/schedule_task.php: call to auth_ldap\task\sync_task->execute()

!!! Ngoại lệ - Call to undefined method cachestore_dummy::find_by_prefix() !!!
Potential coding error - existing temptables found when disposing database. Must be dropped!
PHP Fatal error: Uncaught Error: Call to a member function real_escape_string() on null in
/var/www/html/eNTU/lib/dml/mysqli_native_moodle_database.php:1140
Stack trace:
#0 /var/www/html/eNTU/lib/dml/mysqli_native_moodle_database.php(1269): mysqli_native_moodle_database->emulate_bound_params()
#1 /var/www/html/eNTU/lib/dml/moodle_database.php(1624): mysqli_native_moodle_database->get_records_sql()
#2 /var/www/html/eNTU/lib/classes/lock/mysql_lock_factory.php(158): moodle_database->get_record_sql()
#3 /var/www/html/eNTU/lib/classes/lock/lock.php(102): core\lock\mysql_lock_factory->release_lock()
#4 /var/www/html/eNTU/lib/classes/lock/lock.php(116): core\lock\lock->release()
#5 [internal function]: core\lock\lock->__destruct()
#6 {main}
thrown in /var/www/html/eNTU/lib/dml/mysqli_native_moodle_database.php on line 1140

Fatal error: Uncaught Error: Call to a member function real_escape_string() on null in /var/www/html/eNTU/lib/dml/mysqli_native_moodle_database.php:1140
Stack trace:
#0 /var/www/html/eNTU/lib/dml/mysqli_native_moodle_database.php(1269): mysqli_native_moodle_database->emulate_bound_params()
#1 /var/www/html/eNTU/lib/dml/moodle_database.php(1624): mysqli_native_moodle_database->get_records_sql()
#2 /var/www/html/eNTU/lib/classes/lock/mysql_lock_factory.php(158): moodle_database->get_record_sql()
#3 /var/www/html/eNTU/lib/classes/lock/lock.php(102): core\lock\mysql_lock_factory->release_lock()
#4 /var/www/html/eNTU/lib/classes/lock/lock.php(116): core\lock\lock->release()
#5 [internal function]: core\lock\lock->__destruct()
#6 {main}
thrown in /var/www/html/eNTU/lib/dml/mysqli_native_moodle_database.php on line 1140


But when the new LDAP user individually login into Moodle site, it says an error 'Exception - Call to undefined method cachestore_dummy::find_by_prefix()' and after that the user can relogin normally.  

I already try to upgrade to the newest version Moodle 3.9.2+ (Build: 20200929)  but it can't help.

Average of ratings: -