Closed t-schroeder closed 3 years ago
Thank you for your bug report! I've tried your constellation and I guess you want to install the filter AT THE SAME TIME with Moodle. Here I was able to reproduce the error. It will be fixed in the next version with a try-catch block (see commit 62b8f1d46baf9563dee59d22ba5ab17bf6b0061b). Anyway, this is not very advisable. The usual way to install is: First install an EMPTY moodle (then the table config_plugins also exists) and then install the plugin. Maybe that's a workaround until the new version is released. Many greetings, Andreas
Hi Andreas, thanks for fixing this. Yes, that's what I meant. We noticed this when we created a new Moodle instance by copying the files of an existing one. That included all third-party plugins that we use. Except for this error there were no problems with installing everything in one go.
Setting up Moodle with this plugin fails. That's because this Plugin calls
set_config
in its version.php. The version.php, however, gets executed during Moodle setup when the config_plugins table doesn't exist yet. That produces the error below.