Skip to content

error_could_not_get_api_version / api_exception on v4.3 (2023101500) #71

@ksteitz

Description

@ksteitz

Updating from v4.2-r5 (2023-07-27) to v4.3 (2023101500) from Oct 16 (8b4112f) we got that errors and etherpad stop working:
[20-Oct-2023 14:13:39 Europe/Berlin] Default exception handler: Fehler: Class "mod_etherpadlite\api\api_exception" not found Debug:
Error code: generalexceptionmessage

  • line 235 of /mod/etherpadlite/classes/api/client.php: Error thrown
  • line 247 of /mod/etherpadlite/classes/api/client.php: call to mod_etherpadlite\api\client->get_version()
  • line 116 of /mod/etherpadlite/classes/api/client.php: call to mod_etherpadlite\api\client->check_version()
  • line 771 of /mod/etherpadlite/classes/api/client.php: call to mod_etherpadlite\api\client->__construct()
  • line 45 of /mod/etherpadlite/classes/output/component/urlsettingsnote.php: call to mod_etherpadlite\api\client::get_instance()
  • line 32 of /mod/etherpadlite/settings.php: call to mod_etherpadlite\output\component\urlsettingsnote->__construct()
  • line 158 of /lib/classes/plugininfo/mod.php: call to include()
  • line 47 of /admin/settings/plugins.php: call to core\plugininfo\mod->load_settings()
  • line 8758 of /lib/adminlib.php: call to require()
  • line 8639 of /lib/adminlib.php: call to admin_get_root()
  • line 19 of /admin/upgradesettings.php: call to admin_externalpage_setup()

[20-Oct-2023 14:15:15 Europe/Berlin] Default exception handler: The Moodle server could not get the api version! Your Moodle server may not be able to connect to the Etherpad server. Please check your configuration! Debug:
Error code: error_could_not_get_api_version

  • line 235 of /mod/etherpadlite/classes/api/client.php: mod_etherpadlite\api\api_exception thrown
  • line 247 of /mod/etherpadlite/classes/api/client.php: call to mod_etherpadlite\api\client->get_version()
  • line 116 of /mod/etherpadlite/classes/api/client.php: call to mod_etherpadlite\api\client->check_version()
  • line 771 of /mod/etherpadlite/classes/api/client.php: call to mod_etherpadlite\api\client->__construct()
  • line 59 of /mod/etherpadlite/view.php: call to mod_etherpadlite\api\client::get_instance()

Moodle 4.2.3
pg13
PHP 8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions