Incompatibility with Woo Custom Stock Status plugin
-
New error with Woo Custom Stock Status plugin when trying to create the invoice:
Une erreur de type E_ERROR a été causée dans la ligne 328 du fichier /home/mywebhosting/domains/mydomain.com/public_html/wp-content/plugins/woo-custom-stock-status/includes/class-wc-stock-product.php.
Message d’erreur : Uncaught ArgumentCount
Error: Too few arguments to function Woo_Stock_Product::rename_order_meta_key_on_invoice(), 2 passed in /home/mywebhosting/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php on line 324 and exactly 3 expected in /home/mywebhosting/domains/mydomain.com/public_html/wp-content/plugins/woo-custom-stock-status/includes/class-wc-stock-product.php:328
Stack trace:
0 /home/mywebhosting/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(324): Woo_Stock_Product->rename_order_meta_key_on_invoice()
1 /home/mywebhosting/domains/mydomain.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
2 /home/mywebhosting/domains/mydomain.com/public_html/wp-content/uploads/woocommerce-pdf-invoices/templates/invoice/simple/man/body.php(118): apply_filters()
3 /home/mywebhosting/domains/mydomain.com/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(223): require(‘/home/u66385987…’)
4 /home/mywebhosting/domains/mydomain.com/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(243): BEWPI_Abstract_Document->buffer()
5 /home/mywebhosting/domains/mydomain.com/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-document.php(178): BEWPI_Abstract_Document->get_html()
6 /home/mywebhosting/domains/mydomain.com/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/abstracts/abstract-invoice.php(319): BEWPI_Abstract_Document->generate()
7 /home/mywebhosting/domains/mydomain.com/public_html/wp-content/plugins/woocommerce-pdf-invoices/includes/woocommerce-pdf-invoices.php(363): BEWPI_Abstract_Invoice->generate()
8 /home/mywebhosting/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(324): BE_WooCommerce_PDF_Invoices->admin_pdf_callback()
9 /home/mywebhosting/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
10 /home/mywebhosting/domains/mydomain.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
11 /home/mywebhosting/domains/mydomain.com/public_html/wp-admin/admin.php(175): do_action()
12 /home/mywebhosting/domains/mydomain.com/public_html/wp-admin/post.php(12): require_once(‘/home/u66385987…’)
13 {main}
thrownAny idea ?
Thank you
Regards
- You must be logged in to reply to this topic.