Récemment
-
Phenix 1.6.X Cannot Print a Deliver Note
Bugs & Améliorations1 -
Module Payplug
Modules2 -
Module Prestashop Account
Modules3 -
balise canonical
PhenixSuite3 -
Erreur lors de nouvelle installation
Questions relatives à l'installation/upgrade25 -
modules addons vs phenix suite
Discussion générale3 -
Contexte client et module devis
PhenixSuite8 -
Breadcrumb sans lien précédent
Bugs & Améliorations3 -
Multi-utilisateur-produit
Nouvelles fonctionnalités4 -
Commandes fournisseurs
PhenixSuite4 -
Suppression du . dans les déclinaisons
PhenixSuite3 -
Images produit qui disparaissent
Bugs & Améliorations30 -
devcustom ?
PhenixSuite5 -
Mode profiling
Bugs & Améliorations1 -
Urls bizarres dans la console search
PhenixSuite12 -
Erreurs 410 dans BO
PhenixSuite3 -
la classe search
Bugs & Améliorations2 -
Probleme depuis MAJ phenix 1.6.2.36
PhenixSuite8 -
[resolu] Le module mondial relay 3.4.5
Bugs & Améliorations1 -
controlleur fournisseurs.
Bugs & Améliorations11
Phenix 1.6.X Cannot Print a Deliver Note
-
I wonder if anyone else has suffered from this bug. Everything else works normally but if you try to print a delivery note for an order, you get a Prestashop Exception always
#1 ($order_invoice) must be of type OrderInvoice, Order given, called in /var/www/sites/phenix/classes/pdf/PDF.php on line 161 and defined in /var/www/sites/phenix/classes/pdf/HTMLTemplateDeliverySlip.php:43 Stack trace: #0 /var/www/sites/phenix/classes/pdf/PDF.php(161): HTMLTemplateDeliverySlipCore->__construct() #1 /var/www/sites/phenix/classes/pdf/PDF.php(86): PDFCore->getTemplateObject() #2 /var/www/sites/phenix/controllers/admin/AdminPdfController.php(493): PDFCore->render() #3 /var/www/sites/phenix/controllers/admin/AdminPdfController.php(451): AdminPdfControllerCore->generatePDF() #4 /var/www/sites/phenix/controllers/admin/AdminPdfController.php(109): AdminPdfControllerCore->generateDeliverySlipPDFByIdOrder() #5 /var/www/sites/phenix/classes/controller/AdminController.php(1160): AdminPdfControllerCore->processGenerateDeliverySlipPDF() #6 /var/www/sites/phenix/controllers/admin/AdminPdfController.php(41): AdminControllerCore->postProcess() #7 /var/www/sites/phenix/classes/controller/Controller.php(338): AdminPdfControllerCore->postProcess() #8 /var/www/sites/phenix/classes/Dispatcher.php(427): ControllerCore->run() #9 /var/www/sites/phenix/storeadmin/index.php(81): DispatcherCore->dispatch() #10 {main} thrown in /var/www/sites/phenix/classes/pdf/HTMLTemplateDeliverySlip.php on line 43I have tried for hours to track this to no avail. Any pointers or help would be greatly appreciated. It is a Type error but if so, how did it ever work! I have been thinking that it must be some change in the database possibly from the data originally coming from OSCommerce, Prestashop, and finally to Phenix Suite, but I can't any changes that alter field definitions in the tables.