Topic on Extension talk:LdapAuth/Flow

PHP Fatal error: Uncaught InvalidArgumentException:

3
45.3.74.56 (talkcontribs)

I get the below error when trying to enable the LdapAuth extension. I'm stuck using mediawiki version 1.30 because of another extension hasn't been updated yet. Fresh install of this extension. Any known fixes for this one?


PHP Fatal error:  Uncaught InvalidArgumentException: Invalid callback provided in /var/lib/mediawiki/includes/config/ConfigFactory.php:108

Stack trace:

#0 /var/lib/mediawiki/includes/ServiceWiring.php(92): ConfigFactory->register('LdapAuth', 'Shanept\\LdapAut...')

#1 [internal function]: MediaWiki\Services\ServiceContainer->{closure}(Object(MediaWiki\MediaWikiServices))

#2 /var/lib/mediawiki/includes/services/ServiceContainer.php(360): call_user_func_array(Object(Closure), Array)

#3 /var/lib/mediawiki/includes/services/ServiceContainer.php(344): MediaWiki\Services\ServiceContainer->createService('ConfigFactory')

#4 /var/lib/mediawiki/includes/MediaWikiServices.php(219): MediaWiki\Services\ServiceContainer->getService('ConfigFactory')

#5 /var/lib/mediawiki/includes/MediaWikiServices.php(193): MediaWiki\MediaWikiServices->salvage(Object(MediaWiki\MediaWikiServices))

#6 /var/lib/mediawiki/includes/Setup.php(533): MediaWiki\MediaWikiServices::resetGlobalInstance(Object(GlobalVarConfig), 'quick')

#7 /var/lib/mediawiki/maintenance/d in /var/lib/mediawiki/includes/config/ConfigFactory.php on line 108

Wrathofmcgrath (talkcontribs)

do I have to install/enable it using composer? if so how would I go about doing that?

TrixTri (talkcontribs)

Run the command composer require symfony/ldap

Reply to "PHP Fatal error: Uncaught InvalidArgumentException:"