AnGe7 Posted October 6, 2023 Share Posted October 6, 2023 Hello ! When i install stripe official module on prestashop 1.6.1 i have this error : [code] [PrestaShop] Fatal error in module file :/home/www/xxxxx/prestashop/modules/stripe_official/vendor/composer/autoload_real.php: Uncaught Error: Call to undefined method Composer\Autoload\ClassLoader::setClassMapAuthoritative() in /home/www/xxxx/prestashop/modules/stripe_official/vendor/composer/autoload_real.php:41 Stack trace: #0 /home/www/xxxxx/prestashop/modules/stripe_official/vendor/autoload.php(7): ComposerAutoloaderInit75a942e61a1a0970acdead47aaa92f3c::getLoader() #1 /home/www/xxxxxx/prestashop/modules/stripe_official/stripe_official.php(29): require_once('/home/www/g...') #2 /home/www/xxxxxx/prestashop/classes/module/Module.php(1129): include_once('/home/www/g...') #3 /home/www/xxxxxx/prestashop/classes/module/Module.php(1107): ModuleCore::coreLoadModule('stripe_official') #4 /home/www/xxxxxx/prestashop/controllers/admin/AdminModulesController.php(421): ModuleCore::getInstanceByName('stripe_official') #5 /home/www/xxxxxx/prestashop/controllers/admin/AdminModulesController.php(804): AdminModulesControllerCore->extractArchive('/home/www/g...', false) #6 /home/www/xxxxxx/prestashop/controllers/admin/AdminModulesController.php(1117): AdminModulesControllerCore->postProcessCallback() #7 /home/www/xxxxxx/prestashop/classes/controller/Controller.php(178): AdminModulesControllerCore->postProcess() #8 /home/www/xxxxxx/prestashop/classes/Dispatcher.php(367): ControllerCore->run() #9 /home/www/xxxxxx/prestashop/adminpm/index.php(58): DispatcherCore->dispatch() #10 {main} thrown [/code] someone know how to fix this ? Thank you Link to comment Share on other sites More sharing options...
ComGrafPL Posted October 7, 2023 Share Posted October 7, 2023 Try other, older versions: https://github.com/202-ecommerce/stripe_official/releases Link to comment Share on other sites More sharing options...
AnGe7 Posted October 24, 2023 Author Share Posted October 24, 2023 I try multiple older version but i had the same problem to fix it i just comment the line with setClassMapAuthoritative() et it works... weird Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now