Jump to content

Status change error with a product package


Recommended Posts

Hello everyone and thank you in advance for your possible contributions ...

PS 1.6.1.9. Error message when changing status "Preparing":

[PrestaShopException]
Property Stock-> physical_quantity is not validate line 909 in file classes / ObjectModel.php
904.}
905.
906. $ message = $ this-> validateField ($ field, $ this -> $ field);
907. if ($ message! == true) {
908. if ($ die) {
909. throw new PrestaShopException ($ message);
910.}
911. return $ error_return? $ message: false;
912.}
913.}
914.
    
• ObjectModelCore-> validateFields - [line 246 - classes / ObjectModel.php]
    
• ObjectModelCore-> getFields - [line 652 - classes / ObjectModel.php]
    
• ObjectModelCore-> update - [line 101 - classes / stock / Stock.php] - [1 Arguments]
    
• StockCore-> update - [line 330 - classes / stock / StockManager.php]
    
• StockManagerCore-> removeProduct - [line 241 - classes / order / OrderHistory.php] - [9 Arguments]
    
• OrderHistoryCore-> changeIdOrderState - [line 531 - controllers / admin / AdminOrdersController.php] - [3 Arguments]
    
• AdminOrdersControllerCore-> postProcess - [line 178 - classes / controller / Controller.php]
    
• ControllerCore-> run - [line 367 - classes / Dispatcher.php]
    
• DispatcherCore-> dispatch - [line 58 - admin / index.php]

The pack consists of 4 products. All products are in advanced stock management with possibility to place order if product breaks, they are in the same warehouse, the warehouse has been regenerated, cache emptied, etc.

Take a look at these two topics on the forum:

https://www.prestashop.com/forums/topic/409074-property-stock-physical-quantity-is-not-valid/

https://www.prestashop.com/forums/topic/265524-real-quantity-problem/

I looked so duplicate: NO

I looked in the database if problem of fields with ID and name of the pack: NOTHING

Viewed table ps_stock_available: NO

I removed the advanced stock management on the pack: NOTHING

Thank you for your help...

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