Title: Themify returning array error
Last modified: March 5, 2018

---

# Themify returning array error

 *  [Marlon Costa](https://wordpress.org/support/users/marloncosta/)
 * (@marloncosta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/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 8 years, 3 months ago by [Marlon Costa](https://wordpress.org/support/users/marloncosta/).
    -  This topic was modified 8 years, 3 months ago by [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/).
      Reason: Added backticks for code
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fthemify-returning-array-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Konstantinos Xenos](https://wordpress.org/support/users/xkon/)
 * (@xkon)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/themify-returning-array-error/#post-10040382)
 * 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](https://themify.me/forum).
   Since you’re already their customer I’m sure they’ll be glad to help you.
 *  Thread Starter [Marlon Costa](https://wordpress.org/support/users/marloncosta/)
 * (@marloncosta)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/themify-returning-array-error/#post-10040410)
 * 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.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Marlon Costa](https://wordpress.org/support/users/marloncosta/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/themify-returning-array-error/#post-10040410)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
