Title: weird error, array_merge() [function.array-merge]: Argument #1 is not an array i
Last modified: August 21, 2016

---

# weird error, array_merge() [function.array-merge]: Argument #1 is not an array i

 *  Resolved [noppresed](https://wordpress.org/support/users/noppresed/)
 * (@noppresed)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/)
 * Thank you for your continuous development.
    I’m using RSS Multi Importer 2.68
   and got following error.
 * Warning: array_merge() [function.array-merge]: Argument #1 is not an array in/
   home/***/www/***.net/***/wp-content/plugins/wp-rss-multi-importer/wp-rss-multi-
   importer.php on line 336
 * I’m using shortcode.
    There are 9 categories.
 * Strange thing is that I don’t find error from all pages.
    I got error from where
   I put following code. [wp_rss_multi_importer category=”1,2,3,4,5,6″] [wp_rss_multi_importer]
 * But I don’t get error from
    [wp_rss_multi_importer category=”1″] [wp_rss_multi_importer
   category=”2″] [wp_rss_multi_importer category=”3″]…
 * This means that I get error when I try to display multiple categories?
 * [http://wordpress.org/plugins/wp-rss-multi-importer/](http://wordpress.org/plugins/wp-rss-multi-importer/)

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

 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007158)
 * thanks…I’ll need to look into this and see what’s going on with the beta version.
   I’ll let you know here when I have a new beta version with a fix for this.
 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007162)
 * ok..I couldn’t reproduce this, but download this file and replace what’s on the
   server with this – see if this makes the error go away
 * [https://dl.dropboxusercontent.com/u/3132388/beta/wp-rss-multi-importer.php](https://dl.dropboxusercontent.com/u/3132388/beta/wp-rss-multi-importer.php)
 *  Thread Starter [noppresed](https://wordpress.org/support/users/noppresed/)
 * (@noppresed)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007164)
 * Thank you.
    The error was resolved!
 * But pagination design was broken.
 *  Thread Starter [noppresed](https://wordpress.org/support/users/noppresed/)
 * (@noppresed)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007165)
 * And I cannot use following option.
    Shortcode Setting > What Shows – EXCERPTS“
   Let your readers determine if they want to see the excerpt with a show-hide option.”
   After I replaced the file, nothing be displayed by clicking show-hide button.
 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007168)
 * you’ll need to make sure nothing is in cache…I just tried the pagination (after
   flushing my browser’s cache) and pagination is working fine as is the show-hide
   option. Nothing in the file I gave you changed either of these functions.
 *  Thread Starter [noppresed](https://wordpress.org/support/users/noppresed/)
 * (@noppresed)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007169)
 * really…yeah, I flushed cache and I used Internet Explorer that I rarely use to
   make it sure.
    But something is wrong with pagination and show-hide option. It
   works well after I placed back the old file. Same situation after changing theme
   and template.
 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007178)
 * are you using the default template theme for the shortcode – if not, that is 
   the only template theme that supports show-hide?
 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007180)
 * also, here is a movie of what I see using 2.68, the same main file as you just
   downloaded, set for pagination and show-hide
 * [http://www.screencast.com/t/wJCkBtMH](http://www.screencast.com/t/wJCkBtMH)
 * It may be that you are using an older version of the beta, so if you want the
   newest version you can download it here
 * [https://dl.dropboxusercontent.com/u/3132388/beta/wp-rss-multi-importer.zip](https://dl.dropboxusercontent.com/u/3132388/beta/wp-rss-multi-importer.zip)
 *  Thread Starter [noppresed](https://wordpress.org/support/users/noppresed/)
 * (@noppresed)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007187)
 * Newest version solved the error!
    Thanks a lot for helping me.
 *  Plugin Author [Allen](https://wordpress.org/support/users/amweiss98/)
 * (@amweiss98)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007190)
 * Good to hear.

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

The topic ‘weird error, array_merge() [function.array-merge]: Argument #1 is not
an array i’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-rss-multi-importer_a9b8a0.svg)
 * [WP RSS Multi Importer](https://wordpress.org/plugins/wp-rss-multi-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rss-multi-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rss-multi-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rss-multi-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rss-multi-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rss-multi-importer/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Allen](https://wordpress.org/support/users/amweiss98/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/weird-error-array_merge-functionarray-merge-argument-1-is-not-an-array-i/#post-4007190)
 * Status: resolved