Jump to content

Extension talk:OOJSPlus

Add topic
From mediawiki.org
Latest comment: 3 months ago by 112.213.46.198 in topic Error in MW 1.35

Error in MW 1.35

[edit]

When trying to install the extension on MW 1.35, I get the following error.

Fatal error: Uncaught Error: Call to undefined function OOJSPlus\mwsInitComponents() in extensions/OOJSPlus/src/Extension.php:7 Stack trace: #0 1.35.8/includes/registration/ExtensionRegistry.php(578): OOJSPlus\Extension::callback() #1 1.35.8/includes/registration/ExtensionRegistry.php(261): ExtensionRegistry->exportExtractedData() #2 1.35.8/includes/Setup.php(161): ExtensionRegistry->loadFromQueue() #3 1.35.8/includes/WebStart.php(89): require_once('1...') #4 1.35.8/index.php(44): require('1...') #5 {main} thrown in extensions/OOJSPlus/src/Extension.php on line 7

Krabina (talk) 08:31, 21 September 2023 (UTC)Reply

The same still happens on MW 1.39 with current dev-master as of 2024-06-26 Planetenxin (talk) 08:41, 26 June 2024 (UTC)Reply
Dependencies from composer.json needs to be installed. Maybe the extension could also be published on packagist.org. Planetenxin (talk) 08:58, 26 June 2024 (UTC)Reply
I have a similar problem but on version 1.42, it says mwsInitComponents() is missing, any ideas appreciated. I used composer to install OOJPlus 112.213.46.198 03:14, 19 August 2024 (UTC)Reply

PostresSql compatibilty

[edit]

Hello,

When installing on mediawiki 1.39 PostgreSql, am getting the error 42601: syntax error at or near "unsigned"

Line 2 mui_user_id int unsigned NOT NULL PRIMARY KEY

/var/www/html/extensions/OOJSPlus/vendor/mwstake/mediawiki-component-commonwebapis/sql/mws_user_index.sql Willyedoo (talk) 10:06, 22 September 2023 (UTC)Reply