Jump to content

Topic on User talk:Djkcel

Error on Google Login plugin

2
196.224.200.218 (talkcontribs)

] /index.php?title=Sp%C3%A9cial:Connexion&returnto=Page+Principale ParseError: syntax error, unexpected 'static' (T_STATIC)

Backtrace:

from /disk2/wikiwetag/public_html/extensions/GoogleLogin/vendor/psr/cache/src/CacheItemInterface.php(75)

#0 /disk2/wikiwetag/public_html/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile(string)

#1 [internal function]: Composer\Autoload\ClassLoader->loadClass(string)

#2 /disk2/wikiwetag/public_html/extensions/GoogleLogin/vendor/google/auth/src/Cache/Item.php(29): spl_autoload_call(string)

#3 /disk2/wikiwetag/public_html/vendor/composer/ClassLoader.php(444): include(string)

#4 /disk2/wikiwetag/public_html/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile(string)

#5 [internal function]: Composer\Autoload\ClassLoader->loadClass(string)

#6 /disk2/wikiwetag/public_html/extensions/GoogleLogin/vendor/google/auth/src/Cache/MemoryCacheItemPool.php(62): spl_autoload_call(string)

#7 /disk2/wikiwetag/public_html/extensions/GoogleLogin/vendor/google/auth/src/Cache/MemoryCacheItemPool.php(45): Google\Auth\Cache\MemoryCacheItemPool->getItems(array)

#8 /disk2/wikiwetag/public_html/extensions/GoogleLogin/vendor/google/apiclient/src/AccessToken/Verify.php(188): Google\Auth\Cache\MemoryCacheItemPool->getItem(string)

#9 /disk2/wikiwetag/public_html/extensions/GoogleLogin/vendor/google/apiclient/src/AccessToken/Verify.php(100): Google\AccessToken\Verify->getFederatedSignOnCerts()

#10 /disk2/wikiwetag/public_html/extensions/GoogleLogin/vendor/google/apiclient/src/Client.php(817): Google\AccessToken\Verify->verifyIdToken(string, string)

#11 /disk2/wikiwetag/public_html/extensions/GoogleLogin/includes/Auth/GooglePrimaryAuthenticationProvider.php(414): Google\Client->verifyIdToken()

#12 /disk2/wikiwetag/public_html/extensions/GoogleLogin/includes/Auth/GooglePrimaryAuthenticationProvider.php(55): GoogleLogin\Auth\GooglePrimaryAuthenticationProvider->getVerifiedToken(GoogleLogin\Auth\GoogleServerAuthenticationRequest)

#13 /disk2/wikiwetag/public_html/includes/auth/AuthManager.php(598): GoogleLogin\Auth\GooglePrimaryAuthenticationProvider->continuePrimaryAuthentication(array)

#14 /disk2/wikiwetag/public_html/includes/specialpage/AuthManagerSpecialPage.php(374): MediaWiki\Auth\AuthManager->continueAuthentication(array)

#15 /disk2/wikiwetag/public_html/includes/specialpage/AuthManagerSpecialPage.php(502): AuthManagerSpecialPage->performAuthenticationStep(string, array)

#16 /disk2/wikiwetag/public_html/includes/htmlform/HTMLForm.php(718): AuthManagerSpecialPage->handleFormSubmit(array, VFormHTMLForm)

#17 /disk2/wikiwetag/public_html/includes/specialpage/AuthManagerSpecialPage.php(435): HTMLForm->trySubmit()

#18 /disk2/wikiwetag/public_html/includes/specialpage/LoginSignupSpecialPage.php(318): AuthManagerSpecialPage->trySubmit()

#19 /disk2/wikiwetag/public_html/includes/specialpage/SpecialPage.php(647): LoginSignupSpecialPage->execute(NULL)

#20 /disk2/wikiwetag/public_html/includes/specialpage/SpecialPageFactory.php(1366): SpecialPage->run(NULL)

#21 /disk2/wikiwetag/public_html/includes/MediaWiki.php(314): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)

#22 /disk2/wikiwetag/public_html/includes/MediaWiki.php(930): MediaWiki->performRequest()

#23 /disk2/wikiwetag/public_html/includes/MediaWiki.php(564): MediaWiki->main()

#24 /disk2/wikiwetag/public_html/index.php(55): MediaWiki->run()

#25 /disk2/wikiwetag/public_html/index.php(48): wfIndexMain()

#26 {main}

77.21.40.68 (talkcontribs)

I know long time ago and maybe not helpful for you but for a guy like me.

I'm really a noob and beginner BUUUT I had the same problem and I was able to solve it by set my PHP server to 8.1 instead of 7.4.x

Reply to "Error on Google Login plugin"