Extension talk:DrawioEditor

Latest comment: 2 days ago by 隐焰之使徒 in topic REL1_43: "callback 'mwsInitComponents' is not callable"

REL1_43: "callback 'mwsInitComponents' is not callable"

edit

The following error happens on MediaWiki 1.43.0 (DrawioEditor: a5f991dd66c79d2e9067e0902d2e875d6edf2858) when running php maintenance/run.php update --quick:

PHP Fatal error:  Uncaught UnexpectedValueException: callback 'mwsInitComponents' is not callable in /srv/wiki/includes/registration/ExtensionRegistry.php:585

Stack trace:
#0 /srv/wiki/includes/registration/ExtensionRegistry.php(333): MediaWiki\Registration\ExtensionRegistry->exportExtractedData()
#1 /srv/wiki/includes/Setup.php(293): MediaWiki\Registration\ExtensionRegistry->loadFromQueue()
#2 /srv/wiki/maintenance/run.php(49): require_once('...')
#3 {main}
  thrown in /srv/wiki/includes/registration/ExtensionRegistry.php on line 585

81.92.252.217 10:41, 3 January 2025 (UTC)Reply

I am experiencing the same error in 1.39 as well. 隐焰之使徒 (talk) 16:20, 4 January 2025 (UTC)Reply
See T382839. * Pppery * it has begun 16:26, 4 January 2025 (UTC)Reply
Thanks for the pointer. For the record, DrawioEditor requires BlueSpiceFoundation and BSF's second order dependencies ExtJSBase and OOJSPlus. Once BSF and those packages were installed, and all three were explicitly loaded via wfLoadExtension things were working. I definitely agree with the T382839 commentator's sentiment that these dependencies should be made explicit on the DrawioEditor page. 隐焰之使徒 (talk) 23:00, 4 January 2025 (UTC)Reply
Return to "DrawioEditor" page.