caredesign
Forum Replies Created
-
Thanks a lot for that speed supoort 😉
Wish you all the best..
Regards
Forum: Plugins
In reply to: [WebToffee Gift Cards for WooCommerce] PDF not attachingThanks
Forum: Plugins
In reply to: [WebToffee Gift Cards for WooCommerce] PDF not attachingThanks for your fast reply!
I send you the error log of the server.
[Wed Apr 23 05:13:04.240458 2025] [authz_core:error] [pid 22267] [client 45.86.208.27:0] AH01630: client denied by server configuration: /srv/www/vhosts/moonshine-books.ch/httpdocs/xmlrpc.php
[Wed Apr 23 08:42:39.288870 2025] [access_compat:error] [pid 6534] [client 10.10.24.1:0] AH01797: client denied by server configuration: /srv/www/vhosts/moonshine-books.ch/httpdocs/wp-content/uploads/woocommerce_uploads/
[Wed Apr 23 09:10:24.401970 2025] [proxy_fcgi:error] [pid 26757] [client 84.227.31.30:0] AH01071: Got error ‘PHP message: PHP Warning: include(/srv/www/vhosts/moonshine-books.ch/httpdocs/wp-content/languages/plugins/wt-gift-cards-woocommerce-de_DE.l10n.php): Failed to open stream: No such file or directory in /srv/www/vhosts/moonshine-books.ch/httpdocs/wp-includes/l10n.php on line 1608; PHP message: PHP Warning: include(): Failed opening ‘/srv/www/vhosts/moonshine-books.ch/httpdocs/wp-content/languages/plugins/wt-gift-cards-woocommerce-de_DE.l10n.php’ for inclusion (include_path=’.:/opt/plesk/php/8.3/share/pear’) in /srv/www/vhosts/moonshine-books.ch/httpdocs/wp-includes/l10n.php on line 1608; PHP message: PHP Warning: include(/srv/www/vhosts/moonshine-books.ch/httpdocs/wp-content/languages/plugins/wt-gift-cards-woocommerce-de_DE.l10n.php): Failed to open stream: No such file or directory in /srv/www/vhosts/moonshine-books.ch/httpdocs/wp-includes/l10n.php on line 1608; PHP message: PHP Warning: include(): Failed opening ‘/srv/www/vhosts/moonshine-books.ch/httpdocs/wp-content/languages/plugins/wt-gift-cards-woocommerce-de_DE.l10n.php’ for inclusion (include_path=’.:/opt/plesk/php/8.3/share/pear’) in /srv/www/vhosts/moonshine-books.ch/httpdocs/wp-includes/l10n.php on line 1608′, referer: https://www.moonshine-books.ch/wp-admin/plugins.php?plugin_status=all&paged=1&s
[Wed Apr 23 10:36:06.094443 2025] [proxy_fcgi:error] [pid 21449] [client 84.227.31.30:0] AH01071: Got error ‘PHP message: PHP Warning: unserialize(): Extra data starting at offset 789 of 792 bytes in /srv/www/vhosts/moonshine-books.ch/httpdocs/wp-content/plugins/mpdf-addon-for-pdf-invoices/vendor/mpdf/mpdf/src/Mpdf.php on line 9051; PHP message: PHP Warning: unserialize(): Extra data starting at offset 789 of 792 bytes in /srv/www/vhosts/moonshine-books.ch/httpdocs/wp-content/plugins/mpdf-addon-for-pdf-invoices/vendor/mpdf/mpdf/src/Mpdf.php on line 9051’, referer: https://www.moonshine-books.ch/wp-admin/admin.php?page=wc-orders&action=edit&id=2292
[Wed Apr 23 10:42:49.494089 2025] [proxy_fcgi:error] [pid 21516] [client 84.227.31.30:0] AH01071: Got error ‘PHP message: PHP Warning: Undefined array key “coupon_id” in /srv/www/vhosts/moonshine-books.ch/httpdocs/wp-content/plugins/wt-gift-cards-woocommerce/common/modules/gift_card/email/gift-card-email.php on line 9’, referer: https://www.moonshine-books.ch/wp-admin/admin.php?page=wc-settings&tab=email§ion=wbte_woocommerce_gift_cards_free_emailPlus i found a error in the preview of the e-Mail:
Warning: Undefined array key “coupon_id” in /srv/www/vhosts/moonshine-books.ch/httpdocs/wp-content/plugins/wt-gift-cards-woocommerce/common/modules/gift_card/email/gift-card-email.php on line 9

You wanted the email settings. Which one did you want me to send you?
I habe also the plugin WooCommerce PDF-Rechnungen, Lieferscheine, Lieferscheine und Versandetiketten and there is no problem of sending the PDF Invoice. So have to be somthing in the other plugin.
Thanks a lot for your help.
Hello Gilbert,
Sadly the code didn’t change anything. 🙁
I am using Outlook 365
Sorry Gilbert, but in the admin looks everything great but when i get the email it is still not nice.
Even the text size doesn’t change as i tried to make it smaller but it change only the text above and not the text wirh the items.
You think there is any chance to check it again.

Hi Gilbert,
Thanks für your help. It works perfectly!
Have a great day.
Regards Ivo
Thanks. But now it ist wrong. The Thumbnail is now on the right side.

I made you a picture how i wish it

That cell have to be vertical -align middle…
Thanks for your help.
Hi Gilbert
Thanks for your help.
It is already better, but it is on top of the column. If it could be in the middle of the line would be perfect. So like that would be in the same line like the quantity and the price.
Thanks for your help.
Regards Ivo
Hi Yordan,
Thanks for your help and especially for your patience. It works now! That CSS rule solved my problem.
Have a good day.
Regards Ivo
The Problem is that the licence of the plugin “WooCommerce PDF Invoices & Packing Slips Premium Templates” is expired, so if i update the plugin “PDF Invoices & Packing Slips for WooCommerce” i get a fatal error.
Hi Yordan
I have the Version 3.5.6.
add_action( ‘wpo_wcpdf_custom_styles’, function( $document_type, $document ) {
?>
.wc-item-meta {
display:none;
}
<?php
}, 10, 2 );I did this one now……. but still causing the problem.
I found this, maybe helps….. This shows when i have the white page instead of the PDF invoice
<style type="text/css"> <div style="border: 2px solid red; padding: 5px;"> <h3>Fatal error: Too few arguments to function {closure}(), 1 passed in /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/class-wp-hook.php on line 324 and exactly 2 expected</h3> <pre>/var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/code-snippets/php/snippet-ops.php(582) : eval()'d code (1)</pre> <pre>#0 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/class-wp-hook.php(324): {closure}() #1 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #2 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/plugin.php(517): WP_Hook->do_action() #3 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/themes/Avada-Child-Theme/woocommerce/pdf/YCN-Business/html-document-wrapper.php(33): do_action() #4 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(990): include('...') #5 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(928): WPO\WC\PDF_Invoices\Documents\Order_Document->render_template() #6 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(894): WPO\WC\PDF_Invoices\Documents\Order_Document->wrap_html_content() #7 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(845): WPO\WC\PDF_Invoices\Documents\Order_Document->get_html() #8 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(911): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf() #9 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(423): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf() #10 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/class-wp-hook.php(324): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax() #11 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #12 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-includes/plugin.php(517): WP_Hook->do_action() #13 /var/www/vhosts/web324.login-8.loginserver.ch/httpdocs/--shop/test/wp-admin/admin-ajax.php(188): do_action() #14 {main}</pre> </div>yes of course

Of course. :-)….As without the code the invoice will be created, as soon as i activate the snippet the invoice will be not created.
In the Plugin Code Snippets