Themify returning array error
-
Hello Guys.
My website is returning a array error, and i need some help to solve this.
Warning: array_merge(): Argument #1 is not an array in /home/storage/a/c1/19/ilhatecnoarte/public_html/wp-content/themes/themify-shoppe/admin/post-type-product.php on line 730
In this line i found this, but the array looks ok for me. Someone know whats is this error?
/** * Add woocommerce_enable_ajax_add_to_cart option to JS * @param Array * @return Array */ function themify_woocommerce_params($params){ return array_merge($params, array( 'option_ajax_add_to_cart' => ( 'yes' == get_option('woocommerce_enable_ajax_add_to_cart') )? 'yes': 'no' ) ); }
- This topic was modified 7 years ago by .
- This topic was modified 7 years ago by . Reason: Added backticks for code
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Themify returning array error’ is closed to new replies.