Page MenuHomePhabricator

Setup issue on MW 1.28.1: TypeError: ConfirmAccountSetup::defineSourcePaths() must be of the type array, null given
Closed, DeclinedPublic

Description

I'm having a problem bootstrapping a new wiki with ConfirmAccount ext. This is the stacktrace:

PHP Fatal error:  Uncaught TypeError: Argument 1 passed to ConfirmAccountSetup::defineSourcePaths() must be of the type array, null given, called in /var/www/extensions/ConfirmAccount/ConfirmAccount.php on line 41 and defined in /var/www/extensions/ConfirmAccount/ConfirmAccount.setup.php:15
Stack trace:
#0 /var/www/extensions/ConfirmAccount/ConfirmAccount.php(41): ConfirmAccountSetup::defineSourcePaths(NULL, NULL, NULL)
#1 /var/www/mw-config/LocalSettings.load_extensions.php(19): require_once('/var/www/extens...')
#2 /var/www/mw-config/LocalSettings.load_extensions.php(38): load_extension('ConfirmAccount')
#3 /var/www/mw-config/LocalSettings.load_extensions.php(98): load_extensions(Array)
#4 /var/www/LocalSettings.php(31): require_once('/var/www/mw-con...')
#5 /var/www/LocalSettings.php(40): load_settings('load_extensions')
#6 /var/www/maintenance/doMaintenance.php(84): require('/var/www/LocalS...')
#7 /var/www/maintenance/update.php(217): require_once('/var/www/mainte...')
#8 {main}
mw-php-fpm            |   thrown in /var/www/extensions/ConfirmAccount/ConfirmAccount.setup.php on line 15

Are there know conflicts with other extensions or settings or am I missing something in the setup?
Please let me know.

Thanks.

Event Timeline

Aklapper renamed this task from Setup issue on MW 1.28.1 to Setup issue on MW 1.28.1: TypeError: ConfirmAccountSetup::defineSourcePaths() must be of the type array, null given.Apr 27 2017, 6:08 PM
Kghbln subscribed.

MW 1.28.x and the software versions associated with it are no longer supported. Please create a new issue report in case this problem still exists for supported versions of MediaWiki.