Php 8 Uncaught TypeError: array_merge();
-
Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in
$classes = array_merge(
$post_classes,
array(
'product',
'type-product',
'post-' . $product->get_id(),
'status-' . $product->get_status(),
wc_get_loop_class(),
$product->get_stock_status(),
),
wc_get_product_taxonomy_class( $product->get_category_ids(), 'product_cat' ),
wc_get_product_taxonomy_class( $product->get_tag_ids(), 'product_tag' )
);I am getting error in woocommerce after upgrating php 8 on line 658 under /woocommerce/includes/wc-template-functions.php
can you help me?
Thanks in advance.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.