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 13 replies - 16 through 28 (of 28 total)

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

 *  [davidrosendo](https://wordpress.org/support/users/davidrosendo/)
 * (@davidrosendo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-7445093)
 * Frank got.
 * Put the following command line:
 * $ disabled admin_bar_option_ = array ();
 * The message disappeared … is correct that?
 *  [bacce](https://wordpress.org/support/users/bacce/)
 * (@bacce)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-7445094)
 * The “fixed” version got the error message to me as well.
 * I removed the one line change Frank made and put in the two line version of it
   from wendigo73, and the error message is gone.
 * (adminimize/inc-setup/admin-bar-items.php)
 *  [lgdelai](https://wordpress.org/support/users/lgdelai/)
 * (@lgdelai)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-7445097)
 * It worked for me what made bacce.
 * In the file:
 * > adminimize/inc-setup/admin-bar-items.php
 * On line 118: Replace this:
 * > $disabled_admin_bar_option_ = (array) array_reduce( $disabled_admin_bar_option_,‘
   > array_merge’, array() );
 * So:
 * > $disabled_admin_bar_option_ = array(); // new declaration of type
   >  $disabled_admin_bar_option_
   > = array_reduce( $disabled_admin_bar_option_, ‘array_merge’, array() );
 *  [Explorer Travel](https://wordpress.org/support/users/thornway/)
 * (@thornway)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-7445099)
 * Still getting these issues despite deleting and downloading new version and following
   some of the suggestions above:-
 * 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, 9 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-7445100)
 * The topic should closed with version 1.10.6.
 *  [Eduardo Sully](https://wordpress.org/support/users/eduardosullybr/)
 * (@eduardosullybr)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-7445101)
 * I managed to solve the problem by replacing the line above. Thank you Frank: 
   D
 *  [olimax](https://wordpress.org/support/users/olimax/)
 * (@olimax)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-7445105)
 * I am afraid I am still getting the same error after the 1.10.6 update
    It appears
   everywhere in the admin except the Adminimize settings page itself
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-7445106)
 * I will check this again, thx for the hint.
 *  [arthurbro](https://wordpress.org/support/users/arthurbro/)
 * (@arthurbro)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-7445108)
 * I confirm, I have this warning message on a fresh installation today 🙁
 *  [Jérémy](https://wordpress.org/support/users/jeremymartin/)
 * (@jeremymartin)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-8160744)
 * Hi there,
 * I’m using Adminimize last udpdate : 1.10.6
    Since I update to WP 4.6.1–fr_FR 
   the problem has change a little bit…
 * First warning message :
 * > array_merge() [function.array-merge]: Argument #1 is not an array in […]/wp-
   > content/plugins/adminimize/inc-setup/admin-bar-items.php on line 122
 * So I make the usual replacement :
 *     ```
       $disabled_admin_bar_option_ = array(); // new declaration of type
       $disabled_admin_bar_option_ = array_reduce( $disabled_admin_bar_option_, ‘array_merge’, array() ); 
       ```
   
 * **Then appears a new warning message** :
 * > array_reduce() [function.array-reduce]: The second argument, ‘‘array_merge’’,
   > should be a valid callback in […]/wp-content/plugins/adminimize/inc-setup/admin-
   > bar-items.php on line 126
 * So, nothing seems fixed even with the last version of Adminimize plugin
    A new
   warning message appears since WP 4.6.1–fr_FR update.
 * Thanks Frank Bueltge for the useful plugin but when will this bug be fixed ? 
   😉
    -  This reply was modified 9 years, 8 months ago by [Jérémy](https://wordpress.org/support/users/jeremymartin/).
    -  This reply was modified 9 years, 8 months ago by [Jérémy](https://wordpress.org/support/users/jeremymartin/).
 *  [webmaster1234](https://wordpress.org/support/users/webmaster1234/)
 * (@webmaster1234)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-8295959)
 * This is not resolved in new version. Been this way for months now. WordPress 
   4.6.1 is not compatible with this plugin.
    -  This reply was modified 9 years, 7 months ago by [webmaster1234](https://wordpress.org/support/users/webmaster1234/).
 *  [10for2](https://wordpress.org/support/users/10for2/)
 * (@10for2)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-8337371)
 * Ran into this error as well. Something to note, I only notice this error while
   running PHP version: 5.2.17. If I up the server PHP version to 5.3+ then the 
   error goes away. Could be the cause of some of the problems others are seeing.
   Unfortunately for me I’m stuck running the old version of PHP on the server for
   now.
 *  [justaleaf](https://wordpress.org/support/users/justaleaf/)
 * (@justaleaf)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/error-array-in-adminimize-1104/page/2/#post-8475864)
 * I also have this same error:
 * `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 122`
 * Wordpress 4.6.1
    Adminimize 1.10.6 Godaddy, PHP 5.3
    -  This reply was modified 9 years, 6 months ago by [justaleaf](https://wordpress.org/support/users/justaleaf/).

Viewing 13 replies - 16 through 28 (of 28 total)

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

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