Jump to content

After upgrading to version 8.1.2 my checkout does not work


PushyMr

Recommended Posts

Hello, after updating my prestashop from 1.7.8.2 to 8.1.2 with one click upgrade I encountered a lot of issues HOWEVER the biggest one is - my checkout is not working. After an order summary when i press button to proccess to checkout process i get this error
image.thumb.png.e1e4828994eb3fa1d92ec4ec4d1ecccc.png
I cannot seem to find any relevant information in my logs and etc, furthermore, based on my controllers - I assume this would be the one used for checkouts
controllers/front/OrderController.php

it does not have an override and the only override controllers for front that i have are - 
override/controllers/front/CartController.php
override/controllers/front/ProductController.php

this a crucial issue for me, because we are about to upgrade our main server to be on prestashop 8.1.2 and we would loose a lot of business if I cannot fix this. I've been struggling for 2 weeks to solve this issue, with no success, anyone has any insight?
 

Link to comment
Share on other sites

These is an override active (classes/Dispatcher.php) - check it's module origin, most probably it needs an update. You can deactivate the module/rename the override to checkj if it solves the problem

Link to comment
Share on other sites

Okay i have some progress to report. After fully deleting my cache, my add to cart button on items is not working/responding, which is a big development. I had to clear my cache in the browser to find it. I assume the add to cart functionality is broken which leads to checkout not working, or it might still be there

Link to comment
Share on other sites

okay small update, i did some logging inside dispathcer and i noticed this

image.png.694c790e158a627d06be613663c09e0c.png

I am baffled that when the classes in dispatcher are printed out on what controllers are found in controllers/front i can see the OrderController HOWEVER it doesn't get picked up when it tries to be called. These are my declarations for it

class OrderControllerCore extends FrontController

which should be fine, there are no overrides for it or anything, also when i checked in cache inside class_index.php i see that it was declared

'OrderControllerCore' => array ( 'path' => 'controllers/front/OrderController.php', 'type' => 'class', )

I'm completely lost on why it is not getting picked up, could it be that autoload was screwed up during the update? This is the only controller so far that doesn't work. Also since i updated from 1.7.8.2 to 8.1.2 i do get a lot of warning about deprecated code. Also my code is PHP 8.1

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...