Please the message that is showing in my front page, can some one help me to fix it?
“Warning: extract() expects parameter 1 to be array, null given in /home/dyprintingbox/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/productslider.php on line 203
Fatal error: Call to undefined function woocommerce_product_subcategories() in /home/dyprintingbox/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/productslider.php on line 274”
I tried to make the only the product categories to display on my home page, so I add some short code “array(
‘number’ => ‘null’,
‘orderby’ => ‘name’,
‘order’ => ‘ASC’,
‘columns’ => ‘4’,
‘hide_empty’ => ‘1’,
‘parent’ => ”,
‘ids’ => ”
)
to my quick CSS, but it doesn’t work, after I delete this short code. The warning message is showing and I wouldn’t able to edit my home page anymore.
Can someone help me to fix it. Thank you so much!!!