svalebech Posted September 7, 2016 Share Posted September 7, 2016 Hallo I get this error when I try to create an invoice from orders, could anybody tell me what could be wrong? Array ( [object] => OrderInvoice Object ( [id_order] => 6576 [number] => 5397 [delivery_number] => 1370 [delivery_date] => 2016-09-06 14:11:11 [total_discount_tax_excl] => 0.000000 [total_discount_tax_incl] => 0.000000 [total_paid_tax_excl] => 4057.000000 [total_paid_tax_incl] => 5071.250000 [total_products] => 3995.000000 [total_products_wt] => 4993.750000 [total_shipping_tax_excl] => 62.000000 [total_shipping_tax_incl] => 77.500000 [shipping_tax_computation_method] => 0 [total_wrapping_tax_excl] => 0.000000 [total_wrapping_tax_incl] => 0.000000 [shop_address] => Labelhouse.dkSøgårdsvej 194160 HerlufmagleDanmark55500075 [invoice_address] => [delivery_address] => [note] => [date_add] => 2016-09-06 14:11:11 [order:OrderInvoiceCore:private] => [id] => 1435 [id_lang:protected] => [id_shop:protected] => [id_shop_list] => [get_shop_from_context:protected] => 1 [table:protected] => order_invoice [identifier:protected] => id_order_invoice [fieldsRequired:protected] => Array ( [0] => id_order [1] => number ) [fieldsSize:protected] => Array ( [shop_address] => 1000 [invoice_address] => 1000 [delivery_address] => 1000 [note] => 65000 ) [fieldsValidate:protected] => Array ( [id_order] => isUnsignedId [number] => isUnsignedId [delivery_number] => isUnsignedId [delivery_date] => isDateFormat [shop_address] => isCleanHtml [invoice_address] => isCleanHtml [delivery_address] => isCleanHtml [note] => isCleanHtml [date_add] => isDate ) [fieldsRequiredLang:protected] => Array ( ) [fieldsSizeLang:protected] => Array ( ) [fieldsValidateLang:protected] => Array ( ) [tables:protected] => Array ( ) [webserviceParameters:protected] => Array ( ) [image_dir:protected] => [image_format:protected] => jpg [def:protected] => Array ( [table] => order_invoice [primary] => id_order_invoice [fields] => Array ( [id_order] => Array ( [type] => 1 [validate] => isUnsignedId [required] => 1 ) [number] => Array ( [type] => 1 [validate] => isUnsignedId [required] => 1 ) [delivery_number] => Array ( [type] => 1 [validate] => isUnsignedId ) [delivery_date] => Array ( [type] => 5 [validate] => isDateFormat ) [total_discount_tax_excl] => Array ( [type] => 4 ) [total_discount_tax_incl] => Array ( [type] => 4 ) [total_paid_tax_excl] => Array ( [type] => 4 ) [total_paid_tax_incl] => Array ( [type] => 4 ) [total_products] => Array ( [type] => 4 ) [total_products_wt] => Array ( [type] => 4 ) [total_shipping_tax_excl] => Array ( [type] => 4 ) [total_shipping_tax_incl] => Array ( [type] => 4 ) [shipping_tax_computation_method] => Array ( [type] => 1 ) [total_wrapping_tax_excl] => Array ( [type] => 4 ) [total_wrapping_tax_incl] => Array ( [type] => 4 ) [shop_address] => Array ( [type] => 6 [validate] => isCleanHtml => 1000 ) [invoice_address] => Array ( [type] => 6 [validate] => isCleanHtml => 1000 ) [delivery_address] => Array ( [type] => 6 [validate] => isCleanHtml => 1000 ) [note] => Array ( [type] => 3 [validate] => isCleanHtml => 65000 ) [date_add] => Array ( [type] => 5 [validate] => isDate ) ) [classname] => OrderInvoice ) [update_fields:protected] => [force_id] => ) [cookie] => Cookie Object ( [_content:protected] => Array ( [date_add] => 2016-09-05 14:01:50 [id_lang] => 6 [employee_form_lang] => 6 [id_employee] => 7 => [email protected] [profile] => 1 [passwd] => 05e8403933d2635480271959d0c12199 [remote_addr] => 1047251000 [shopContext] => s-1 [stats_date_update] => 1473199200 [id_category_products_filter] => [checksum] => 3491014482 ) [_name:protected] => PrestaShop-afc54ab4c5ba1e790dd88061f3b52893 [_expire:protected] => 1474962019 [_domain:protected] => labelhouse.webroad.dk [_path:protected] => / [_cipherTool:protected] => Rijndael Object ( [_key:protected] => IOgp7TqcT3m6ZILJzhy7aHfuPWaWUWAM [_iv:protected] => r��Z²;��1u [_allow_writing:protected] => 1 [_salt:protected] => XNocId3x [_standalone:protected] => [_secure:protected] => ) [cart] => [altern] => 3 ) Link to comment Share on other sites More sharing options...
tuk66 Posted September 7, 2016 Share Posted September 7, 2016 It is not an error, but rather an array dump. Can be that something in your code creates it? I mean clean PrestaShop doesn't do it. Link to comment Share on other sites More sharing options...
NemoPS Posted September 7, 2016 Share Posted September 7, 2016 Did you modify the adminPDF controller? Link to comment Share on other sites More sharing options...
svalebech Posted September 7, 2016 Author Share Posted September 7, 2016 (edited) No. I have upgraded from 1.5 to 1.6, that is all. And I have tried replacing all files with new in case something should be wrong. Do you know which file(s) create the invoice PDF? Or maybe it could be a database issue? Edited September 7, 2016 by svalebech (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted September 7, 2016 Share Posted September 7, 2016 Look at /classes/pdf and /pdf folders. 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