Fatal error: Uncaught Error: WC_PDF_Product_Vouchers_Product::has_voucher_template(): Argument #1 ($product) must be of type WC_Product, bool given, called in /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-content/themes/alliance-presse/lib/woocommerce/card-product.php on line 19
in /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-content/plugins/woocommerce-pdf-product-vouchers/src/class-wc-pdf-product-vouchers-product.php on line 111

Call stack:

  1. WC_PDF_Product_Vouchers_Product::has_voucher_template()
    wp-content/themes/alliance-presse/lib/woocommerce/card-product.php:19

  2. Warning: Undefined array key "file" in /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-content/plugins/query-monitor/collectors/php_errors.php on line 366

    Warning: Undefined array key "line" in /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-content/plugins/query-monitor/collectors/php_errors.php on line 366
  3. SUPT\WooCommerce\get_card_product_context()
  4. array_map()
    wp-content/themes/alliance-presse/woocommerce.php:161
  5. include()
    wp-includes/template-loader.php:106
  6. require_once()
    wp-blog-header.php:19
  7. require()
    index.php:17

Query Monitor


Fatal error: Uncaught TypeError: WC_PDF_Product_Vouchers_Product::has_voucher_template(): Argument #1 ($product) must be of type WC_Product, bool given, called in /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-content/themes/alliance-presse/lib/woocommerce/card-product.php on line 19 and defined in /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-content/plugins/woocommerce-pdf-product-vouchers/src/class-wc-pdf-product-vouchers-product.php:111 Stack trace: #0 /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-content/themes/alliance-presse/lib/woocommerce/card-product.php(19): WC_PDF_Product_Vouchers_Product::has_voucher_template(false) #1 [internal function]: SUPT\WooCommerce\get_card_product_context(false) #2 /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-content/themes/alliance-presse/woocommerce.php(161): array_map('SUPT\\WooCommerc...', Array) #3 /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-includes/template-loader.php(106): include('/home/clients/0...') #4 /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-blog-header.php(19): require_once('/home/clients/0...') #5 /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/index.php(17): require('/home/clients/0...') #6 {main} thrown in /home/clients/0509d846c90c7cdfd8e85d2d14aa7810/web/production/wp-content/plugins/woocommerce-pdf-product-vouchers/src/class-wc-pdf-product-vouchers-product.php on line 111
WordPress » Erreur

Il y a eu une erreur critique sur ce site.

En apprendre plus sur le débogage de WordPress.