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

Exception during call to undefined check_lock_state when trying to initialize Behat tests on M41 #133

Open
logan-reynolds opened this issue Mar 28, 2023 · 0 comments

Comments

@logan-reynolds
Copy link

I realize there isn't an officially-supported 4.1 version, but just a heads up I'm seeing the following when trying to initialize Behat tests with the latest mod_oublog version 2020091403 release 3.11 r1 running on Moodle 4.1.2 (Build: 20230313):

!!! Exception - Call to undefined method cache_disabled::check_lock_state() !!!
!! 
Error code: generalexceptionmessage !!
!! Stack trace: * line 670 of /lib/modinfolib.php: Error thrown
* line 649 of /lib/modinfolib.php: call to course_modinfo::inner_build_course_cache()
* line 478 of /lib/modinfolib.php: call to course_modinfo::build_course_cache()
* line 436 of /lib/modinfolib.php: call to course_modinfo->__construct()
* line 2532 of /lib/modinfolib.php: call to course_modinfo::instance()
* line 589 of /course/lib.php: call to get_fast_modinfo()
* line 632 of /course/lib.php: call to course_create_sections_if_missing()
* line 22 of /mod/oublog/settings.php: call to course_add_cm_to_section()
* line 152 of /lib/classes/plugininfo/mod.php: call to include()
* line 47 of /admin/settings/plugins.php: call to core\plugininfo\mod->load_settings()
* line 8831 of /lib/adminlib.php: call to require()
* line 8857 of /lib/adminlib.php: call to admin_get_root()
* line 522 of /lib/installlib.php: call to admin_apply_default_settings()
* line 91 of /lib/behat/classes/util.php: call to install_cli_database()
* line 165 of /admin/tool/behat/cli/util_single_run.php: call to behat_util::install_site()
 !!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant