Hey @tvalades
Thank you for reaching out!
Could you please give more details such as instructions to be able to reproduce the issue, and screenshots that show your error?
Have a great day!
Hi,
Here you will find screenshots of both the error that appears when making the invoices, the code that appears within the order (I have framed where it appears that it does not have <tr>) and how that one in particular is made.
But it happens to me with many especially with those that are images
https://ibb.co/c3PnrRX
https://ibb.co/CMvrGhn
https://ibb.co/DQ9gvyn
https://ibb.co/tKq9fV6
https://ibb.co/YbMWSZQ
https://ibb.co/6HBKnwS
Thanks!!
I have to be putting this code to deactivate the metadata of the articles to be able to generate the PDFs because the code that forms the table is missing the opening of tr.
I need a solution please, I can’t be deactivating all the metadata of all the articles
add_filter( 'wpo_wcpdf_html_filters', function( $filters ) {
$filters[] = array( 'woocommerce_order_item_get_formatted_meta_data', 'wpo_remove_specific_item_meta_from_pdf_documents', 999, 2 );
return $filters;
} );
function wpo_remove_specific_item_meta_from_pdf_documents( $formatted_meta, $item ){
foreach( $formatted_meta as $key => $meta ){
// Uno por línea
$item_meta_disabled = array(
'elige_color',
'elige_un_color',
'elige_un_colgante',
'cinta_terciopelo',
'cord_n',
);
if( in_array( $meta->key, $item_meta_disabled ) ) {
unset( $formatted_meta[$key] );
}
}
return $formatted_meta;
}
Hi @tvalades
Can you please get a your system report from WP Admin -> WooCommerce -> Status -> System Status -> Get system report and send it to [email protected]
Please attach the this support topic URL and my name also to the your email.
I’ll follow up here.