Title: Warning: array_merge
Last modified: February 18, 2020

---

# Warning: array_merge

 *  Resolved [annaevtushenko](https://wordpress.org/support/users/annaevtushenko/)
 * (@annaevtushenko)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/warning-array_merge-13/)
 * Updated the plugin to the new version. On pages where there is a “add to cart”
   button, an error has appeared Warning: array_merge(): Expected parameter 1 to
   be an array, bool given in …./wp-content/plugins/elementor/includes/base/controls-
   stack.php on line 1184
 * Solution to the problem?

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

 *  [myblogisgreat](https://wordpress.org/support/users/myblogisgreat/)
 * (@myblogisgreat)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/warning-array_merge-13/#post-12450256)
 * Same goes for my website.
 *  [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/warning-array_merge-13/#post-12451210)
 * Does this happen when Elementor is disabled? You can test by using the Health
   Check plugin’s troubleshooting mode. It will let you disabled everything on your
   site except for WooCommerce and switch to one of the default themes. But it only
   affects logged in users so your customers won’t be affected.
 * See if you get this message with only the default theme and WooCommerce active.
   If you do let me know. If it only happens with Elementor active, then you’ll 
   want to get in touch with their support to let them know about the issue.
 * You’ll probably also want to disable PHP notices for customers. This type of 
   warning it typically for developers to see and not intended for general users(
   customers) to see.
 * There is a guide for how to do this on WP Beginner
 * [https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/](https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress/)
 * Cheers
 *  Thread Starter [annaevtushenko](https://wordpress.org/support/users/annaevtushenko/)
 * (@annaevtushenko)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/warning-array_merge-13/#post-12453315)
 * Three Sons (@3sonsdevelopment), Thanks!
 *  [myblogisgreat](https://wordpress.org/support/users/myblogisgreat/)
 * (@myblogisgreat)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/warning-array_merge-13/#post-12453965)
 * Thank you so much for this guidance!
    For me, it turned out to be Elementor version
   newer than 2.8.5. Will wait for the next Elementor update. Cheers
 *  [xixymonkey](https://wordpress.org/support/users/xixymonkey/)
 * (@xixymonkey)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/warning-array_merge-13/#post-12488055)
 * It works good for me. Thank you!

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

The topic ‘Warning: array_merge’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 4 participants
 * Last reply from: [xixymonkey](https://wordpress.org/support/users/xixymonkey/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/warning-array_merge-13/#post-12488055)
 * Status: resolved