Jump to content

PHP Fatal error: updatePhysicalProductQuantity() OrderHistory.php on line 406


jokerstar

Recommended Posts

Hello,

i updatet presta to VS 1.7.2.2. and still got this fatal error.

 

PHP Fatal error:  Call to undefined method PrestaShop\\PrestaShop\\Adapter\\StockManager::updatePhysicalProductQuantity()

 

/classes/order/OrderHistory.php on line 406

 

php file:

"  // sync all stock

***line406      (new StockManagerAdapter())->updatePhysicalProductQuantity(
            (int)$order->id_shop,
            (int)Configuration::get('PS_OS_ERROR'),
            (int)Configuration::get('PS_OS_CANCELED'),
            null,
            (int)$order->id

        );"

 

I cant create any order I still get this error after I confirm order in last step.

 

Pease help me with this issue

 

Link to comment
Share on other sites

this sounds like a case where you have some kind of server side caching (opcache) enabled.

 

What happens is that the old php files are in the server cache, while the new files are on the filesystem.  You need to explore how you clear your servers cache so that the new files are loaded properly.

 

You should start with your hosting provider support

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...