Topic on Extension talk:CheckUser

Error: Class 'Firebase\JWT\JWT' not found

6
1.23.213.15 (talkcontribs)

Hello folks, I installed this extension on my site and the basic use at Special:CheckUser works fine without any issue, but when I'm running this tool at Special:Investigate and click on the submit button for result I see the follwing error so is there anyone who can help?


"Error: Class 'Firebase\JWT\JWT' not found"

MediaWiki 1.36.1
PHP 7.4.14 (cgi-fcgi)
CheckUser 2.5 (c0771c4) 17:38, 22 July 2021


Thank you

Ciencia Al Poder (talkcontribs)

How did you download it? The extension requires to run composer update, unless you download from Extension Distributor

123.136.153.205 (talkcontribs)

Hello @Ciencia Al Poder: I installed the app by follwing the instructions at Extension:CheckUser#Basic using the Extension Distributor and then added some configuration settings in my LocalSettings.php inclduing $wgCheckUserEnableSpecialInvestigate to true. Everything works fine except the result for special investigation. :|

Ciencia Al Poder (talkcontribs)

Looks like Extension Distributor is not bundling the required composer dependencies again...

If you have shell access, go to the extensions/CheckUser folder and run composer update --no-dev. See Composer for more info.

123.136.151.54 (talkcontribs)

running composer update --no-dev helped in creating those missing files and it's working now. Cheers

Ciencia Al Poder (talkcontribs)

I've just downloaded a snapshot for 1.36.1 and it contains a vendor/firebase/php-jwt folder with those Firebase\JWT\JWT classes. Can you check if you also have those?

Reply to "Error: Class 'Firebase\JWT\JWT' not found"