Pttk Posted November 9, 2024 Share Posted November 9, 2024 Suddenly the PLACE ORDER button stopped working. It shows all the payment methods, but after selecting the payment method and pressing the PLACE ORDER button, there is no activity. It also does not update the shopping cart when selecting a product There is no virus I replaced the JS folder version 8.2 and nothing I have tried with several browsers and nothing When activating debud mode, the error in backoffice is: Unknown error on line 18 in file /home/gnzlvtor/public_html/PrestaShop/modules/ps_accounts/vendor/symfony/config/Resource/ComposerResource.php [8192] Link to comment Share on other sites More sharing options...
Nickz Posted November 9, 2024 Share Posted November 9, 2024 1 hour ago, Pttk said: Suddenly the PLACE ORDER button stopped working. Possible causes: PHP Version update, a shop update and the module can't follow. a server went thru a reset due to attacks. Shop owner installed something and it interferes. Link to comment Share on other sites More sharing options...
Pttk Posted November 9, 2024 Author Share Posted November 9, 2024 32 minutes ago, Nickz said: Possible causes: PHP Version update, a shop update and the module can't follow. a server went thru a reset due to attacks. Shop owner installed something and it interferes. Thank PHP version 8.2, I probe all version I stop and start all module Server is controller by BanaHosting, According to them, everything is perfect. I have all the external modules checked, what's more, I deactivate it and the problem is the same Link to comment Share on other sites More sharing options...
Pttk Posted November 9, 2024 Author Share Posted November 9, 2024 Banahosting, informs me [09-Nov-2024 11:06:45 America/Santiago] PHP Fatal error: Uncaught Error: Call to a member function getService() on false in /home/gnzlvtor/public_html/PrestaShop/modules/ps_eventbus/src/Service/PsAccountsAdapterService.php:54 Stack trace: #0 /home/gnzlvtor/public_html/PrestaShop/modules/ps_eventbus/src/Service/PsAccountsAdapterService.php(86): PrestaShop\Module\PsEventbus\Service\PsAccountsAdapterService->getService() #1 /home/gnzlvtor/public_html/PrestaShop/modules/ps_eventbus/src/Handler/ErrorHandler/ErrorHandler.php(52): PrestaShop\Module\PsEventbus\Service\PsAccountsAdapterService->getShopUuid() #2 /home/gnzlvtor/public_html/PrestaShop/var/cache/dev/Ps_eventbus321FrontContainer.php(398): PrestaShop\Module\PsEventbus\Handler\ErrorHandler\ErrorHandler->__construct(Object(Ps_eventbus), Object(PrestaShop\Module\PsEventbus\Service\PsAccountsAdapterService), 'https://457f191...', 'production') #3 /home/gnzlvtor/public_html/PrestaShop/var/cache/dev/Ps_eventbus321FrontContainer.php(808): Ps_eventbus321FrontContainer->getErrorHandlerService() #4 /home/gnzlvtor/public_html/PrestaShop/var/cache/dev/Ps_eventbus321FrontContainer.php(1138): Ps_eventbus321FrontContainer->getIncrementalSyncRepositoryService() #5 /home/gnzlvtor/public_html/PrestaShop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(257): Ps_eventbus321FrontContainer->getSynchronizationServiceService() #6 /home/gnzlvtor/public_html/PrestaShop/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php(231): Symfony\Component\DependencyInjection\Container->make('PrestaShop\\Modu...', 1) #7 /home/gnzlvtor/public_html/PrestaShop/modules/ps_eventbus/src/DependencyInjection/ServiceContainer.php(73): Symfony\Component\DependencyInjection\Container->get('PrestaShop\\Modu...') #8 /home/gnzlvtor/public_html/PrestaShop/modules/ps_eventbus/ps_eventbus.php(323): PrestaShop\Module\PsEventbus\DependencyInjection\ServiceContainer->getService('PrestaShop\\Modu...') #9 /home/gnzlvtor/public_html/PrestaShop/modules/ps_eventbus/ps_eventbus.php(1104): Ps_eventbus->getService('PrestaShop\\Modu...') #10 /home/gnzlvtor/public_html/PrestaShop/classes/Hook.php(1077): Ps_eventbus->hookActionObjectCartAddAfter(Array) #11 /home/gnzlvtor/public_html/PrestaShop/classes/Hook.php(418): HookCore::coreCallHook(Object(Ps_eventbus), 'hookActionObjec...', Array) #12 /home/gnzlvtor/public_html/PrestaShop/classes/Hook.php(983): HookCore::callHookOn(Object(Ps_eventbus), 'actionObjectCar...', Array) #13 /home/gnzlvtor/public_html/PrestaShop/classes/ObjectModel.php(674): HookCore::exec('actionObjectCar...', Array) #14 /home/gnzlvtor/public_html/PrestaShop/classes/Cart.php(275): ObjectModelCore->add(true, false) #15 /home/gnzlvtor/public_html/PrestaShop/controllers/front/CartController.php(483): CartCore->add() #16 /home/gnzlvtor/public_html/PrestaShop/controllers/front/CartController.php(242): CartControllerCore->processChangeProductInCart() #17 /home/gnzlvtor/public_html/PrestaShop/controllers/front/CartController.php(231): CartControllerCore->updateCart() #18 /home/gnzlvtor/public_html/PrestaShop/classes/controller/Controller.php(308): CartControllerCore->postProcess() #19 /home/gnzlvtor/public_html/PrestaShop/classes/Dispatcher.php(510): ControllerCore->run() #20 /home/gnzlvtor/public_html/PrestaShop/index.php(28): DispatcherCore->dispatch() #21 {main} thrown in /home/gnzlvtor/public_html/PrestaShop/modules/ps_eventbus/src/Service/PsAccountsAdapterService.php on line 54 Link to comment Share on other sites More sharing options...
aixos Posted November 9, 2024 Share Posted November 9, 2024 Prestashop 8 PHP We recommend PHP 8.1. Link to comment Share on other sites More sharing options...
Pttk Posted November 9, 2024 Author Share Posted November 9, 2024 14 minutes ago, aixos said: Prestashop 8 PHP We recommend PHP 8.1. I use 8.1 in Prestashop 8.2 Link to comment Share on other sites More sharing options...
Nickz Posted November 10, 2024 Share Posted November 10, 2024 21 hours ago, Pttk said: PHP version 8.2, I probe all version I stop and start all module Most Serverstaff will tell you all is in order. Starting a module is not equal to checking its functionality. I take it you did a shop update? make a back up of your shop, files and database and try rolling back to php7.4. Link to comment Share on other sites More sharing options...
Pttk Posted November 10, 2024 Author Share Posted November 10, 2024 1 hour ago, Nickz said: Most Serverstaff will tell you all is in order. Starting a module is not equal to checking its functionality. I take it you did a shop update? make a back up of your shop, files and database and try rolling back to php7.4. Thank you, I have done everything, update version, restart modules, replace code, run antivirus and nothing. I also contacted the hosting, they inform me that everything is ok. I just did a new installation, everything works fine, but I have to migrate database, images and modules, it is a lot of work and with the pressure of having the store offline. 1 Link to comment Share on other sites More sharing options...
Nickz Posted November 10, 2024 Share Posted November 10, 2024 Hopefully your hard work pays off. With a new shop you can avoid mistakes you had in the 1st if there were any. Link to comment Share on other sites More sharing options...
Pttk Posted November 10, 2024 Author Share Posted November 10, 2024 Thank, I have already migrated the database, but I cannot locate where the URL of the new store changed in version 8.2. Link to comment Share on other sites More sharing options...
Nickz Posted November 10, 2024 Share Posted November 10, 2024 In the database? Did you change the domain? Link to comment Share on other sites More sharing options...
Pttk Posted November 10, 2024 Author Share Posted November 10, 2024 7 minutes ago, Nickz said: In the database? Did you change the domain? Thank, It was difficult for me to locate the table where I should change the URL, but ALL OK. I migrated within the same server, the steps: 1.-Export data from old DB 2.-Modify the field prefixes 3.-Import SQL into the new DB (add DROP) 4.-Modify the _shop_url table 5.-Copy the /img folder 6.-Reinstall the non-native modules Now checking that everything is OK 1 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