Title: Error Array in adminimize 1.10.4
Last modified: August 31, 2016

---

# Error Array in adminimize 1.10.4

 *  Resolved [roberto75](https://wordpress.org/support/users/roberto75/)
 * (@roberto75)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/)
 * Hello,
 * Adminimize plugin, after the 1.10.4 update, brings me the message:
 * Warning: array_merge() [function.array-merge]: Argument #1 is not an array in/
   web/htdocs/www.xxxxxxxxx.it/home/wp-content/plugins/adminimize/inc-setup/admin-
   bar-items.php on line 118
 * in the home page (below) and in showcase page.
 * Why?
 * I have a Twenty Sixteen theme free update to last version in italian language.
 * Thanks to all.
 * [https://wordpress.org/plugins/adminimize/](https://wordpress.org/plugins/adminimize/)

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/?output_format=md)

 *  [smmtra](https://wordpress.org/support/users/smmtra/)
 * (@smmtra)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7444931)
 * Hi, same here
 * `Warning: array_merge() [function.array-merge]: Argument #1 is not an array in/
   wp-content/plugins/adminimize/inc-setup/admin-bar-items.php on line 118`
 * I’m using Avada theme v. 4.0.2 and WordPress 4.5.2
 * Cheers
 *  [wendigo73](https://wordpress.org/support/users/wendigo73/)
 * (@wendigo73)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7444979)
 * Hello,
 * I had the same issue.
 * I solved it with a new declaration of array type, for “$disabled_admin_bar_option_”
   variable, in “adminimize\inc-setup\admin-bar-items.php”.
 * Like this:
 *  // Merge multidimensional array in to one, flat.
    $disabled_admin_bar_option_
   = array(); // new declaration of type $disabled_admin_bar_option_ = array_reduce(
   $disabled_admin_bar_option_, ‘array_merge’, array() );
 * Best Regards
 *  [smmtra](https://wordpress.org/support/users/smmtra/)
 * (@smmtra)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7444980)
 * It works for me! Thank you **wendigo73**.
 *  Thread Starter [roberto75](https://wordpress.org/support/users/roberto75/)
 * (@roberto75)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7444996)
 * It works for me too! Thank you very much Wendigo73!
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445051)
 * You can now also test the new dev version from github, the topic should fixed.
   
   [https://github.com/bueltge/Adminimize/archive/master.zip](https://github.com/bueltge/Adminimize/archive/master.zip)
 * Thanks for feedback, if you have tested!
    Best.
 *  [becky.absolute](https://wordpress.org/support/users/beckyabsolute/)
 * (@beckyabsolute)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445079)
 * What is the timeline for this fix being released in an official update?
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445081)
 * I think on the end of this week. Currently I work also on a fix for the multiple
   roles support, that’s not easy and I wait for tests from users before the official
   update.
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445082)
 * The new version is online, include this fix for the php warning.
 *  [ronin Creativos](https://wordpress.org/support/users/legion1978/)
 * (@legion1978)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445083)
 * friend, the error is still there (after updating to 1.10.5)
 * the changelog in the install folder enumerates the fix, but the code apparently
   does not reflect it. commenting out the original 118 line and pasting the lines
   above in this thread has fixed the issue indeed.
 * please verify your upload 🙂
 * thank you
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445084)
 * If you check the file, the change is include
    `$disabled_admin_bar_option_ = (
   array) array_reduce( $disabled_admin_bar_option_, 'array_merge', array() );`
 * Also inside the SVN – [http://plugins.svn.wordpress.org/adminimize/tags/1.10.5/inc-setup/admin-bar-items.php](http://plugins.svn.wordpress.org/adminimize/tags/1.10.5/inc-setup/admin-bar-items.php)
 * Can you verify your install. When you have this error message, can you describe
   this, that I can retrace it.
    Thanks.
 *  [ronin Creativos](https://wordpress.org/support/users/legion1978/)
 * (@legion1978)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445085)
 * well it is indeed. but when i updated the plugin in one installation, the error
   persisted. i installed anew in a nother instance, and the error was gone. so 
   yes, it is fixed 🙂 (weird though)
    thank you
 *  [Explorer Travel](https://wordpress.org/support/users/thornway/)
 * (@thornway)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445088)
 * Hi,
    I also have updated to 1.10.5 and am still getting the error. I have also
   deleted the plugin and re-installed and still not fixed.
 * Warning: array_merge() [function.array-merge]: Argument #1 is not an array in/
   var/sites/h/howaboutholidays.com/public_html/wp-content/plugins/adminimize/inc-
   setup/admin-bar-items.php on line 118
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445089)
 * Do you have the error after a new install, re-installation?
 * I had also checked this in a fresh install. Now error message. At first, the 
   admin bar items are empty, no items. After view of another back end page and 
   front end page, I have all items without a error in my settings.
 * Maybe you can describe, how you get to this error. Thx.
 *  [davidrosendo](https://wordpress.org/support/users/davidrosendo/)
 * (@davidrosendo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445091)
 * Hello Frank. Here is the David of São Paulo – Brazil. I installed today 07.11.2016
   the Adminimize in WordPress 4.5.3 and appeared pt_BR’s message:
 * Warning: array_merge () [function.array-merge]: Argument # 1 is not an array 
   in/home/storage/5/15/5d/cefatef1/public_html/site/wp-content/plugins/adminimize/
   inc-setup/admin-bar-items.php on line 118
 * Already changed the 118 line with its information and continues the error. The
   line is currently using these commands:
 * // Multidimensional array merge in to one, flat.
    $ Disabled_admin_bar_option_
   = (array) array_reduce ($ disabled_admin_bar_option_, ‘array_merge’, array ());
 * Help me please.
 *  [davidrosendo](https://wordpress.org/support/users/davidrosendo/)
 * (@davidrosendo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/#post-7445092)
 * Correcting the command line:
 * $disabled_admin_bar_option_ = (array) array_reduce ($ disabled_admin_bar_option_,‘
   array_merge’, array ());

Viewing 15 replies - 1 through 15 (of 28 total)

1 [2](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/?output_format=md)

The topic ‘Error Array in adminimize 1.10.4’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/adminimize_000000.svg)
 * [Adminimize](https://wordpress.org/plugins/adminimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/adminimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/adminimize/)
 * [Active Topics](https://wordpress.org/support/plugin/adminimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/adminimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/adminimize/reviews/)

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)

 * 28 replies
 * 17 participants
 * Last reply from: [justaleaf](https://wordpress.org/support/users/justaleaf/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-8475864)
 * Status: resolved