Support » Fixing WordPress » 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 4 years, 9 months ago by Marlon Costa.
    • This topic was modified 4 years, 9 months ago by Jose Castaneda. 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)
  • Unfortunately we can’t offer support for commercial products here as we don’t have access to them. I see that you’re using themify-shoppe and that’s a commercial theme. You should try contacting the authors via https://themify.me/forum . Since you’re already their customer I’m sure they’ll be glad to help you.

    Thread Starter Marlon Costa

    (@marloncosta)

    You help so much.

    I will delete this post for no trouble.

    Thankyou so much sir

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Themify returning array error’ is closed to new replies.