Title: Warning: array_merge(): Expected parameter 2 to be an array, bool given
Last modified: August 23, 2021

---

# Warning: array_merge(): Expected parameter 2 to be an array, bool given

 *  Resolved [redesigned](https://wordpress.org/support/users/redesigned/)
 * (@redesigned)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/warning-array_merge-expected-parameter-2-to-be-an-array-bool-given/)
 * Warning: array_merge(): Expected parameter 2 to be an array, bool given in \wp-
   content\plugins\instagram-feed\inc\if-functions.php on line 720
 * The plugin is throwing errors with the latest version of wordpress.

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

 *  Plugin Support [Smash Balloon Joel](https://wordpress.org/support/users/joelsmashballoon/)
 * (@joelsmashballoon)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/warning-array_merge-expected-parameter-2-to-be-an-array-bool-given/#post-14801011)
 * Hey [@redesigned](https://wordpress.org/support/users/redesigned/),
 * Thank you for reaching out to us for assistance. Could you please try creating
   a new feed under **Facebook Feed > All Feeds**, customize it to your liking, 
   and then replacing the old shortcode with the new one for this specific feed?
   It should be something along the lines of [custom-facebook-feed feed=1]
 * If you still receive this error after the change or if you have already done 
   so, please reach out to us using [our support form here](https://smashballoon.com/custom-facebook-feed/support/)
   and provide the **System Info** found by clicking the Help button in the top 
   right, navigating to the support page.
 * Best regards.
 *  Thread Starter [redesigned](https://wordpress.org/support/users/redesigned/)
 * (@redesigned)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/warning-array_merge-expected-parameter-2-to-be-an-array-bool-given/#post-14848391)
 * This is for the Instagram feed plugin, not the Facebook feed plugin.
 * Checking that the variables are arrays before calling array_merge would prevent
   the error from being thrown.
 * I’ll open a support ticket at the suggested location.
 *  Plugin Support [Smash Balloon Joel](https://wordpress.org/support/users/joelsmashballoon/)
 * (@joelsmashballoon)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/warning-array_merge-expected-parameter-2-to-be-an-array-bool-given/#post-14850320)
 * Hey [@redesigned](https://wordpress.org/support/users/redesigned/),
 * My apologies – you are correct. That being said, this is the support forum for
   the Custom Facebook Feed (Smash Balloon Social Post Feed) plugin, and not the
   [Instagram Feed (Smash Balloon Social Photo Feed)](https://wordpress.org/plugins/instagram-feed/),
   which added some confusion on my end.
 * We will look into your ticket as soon as possible.
 * Many thanks.

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

The topic ‘Warning: array_merge(): Expected parameter 2 to be an array, bool given’
is closed to new replies.

 * ![](https://ps.w.org/custom-facebook-feed/assets/icon-256x256.png?rev=2700775)
 * [Smash Balloon Social Post Feed - Simple Social Feeds for WordPress](https://wordpress.org/plugins/custom-facebook-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-facebook-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-facebook-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-facebook-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-facebook-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-facebook-feed/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Smash Balloon Joel](https://wordpress.org/support/users/joelsmashballoon/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/warning-array_merge-expected-parameter-2-to-be-an-array-bool-given/#post-14850320)
 * Status: resolved