• Resolved WP Monkey

    (@scdesmond)


    I’ve seen some similar support tickets about this issue that have been resolved, but they also said that a fix was rolled out in previous versions, so I’m re-posting

    I have the following 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

    Are there any new suggestions, fixes, or pending releases?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Frank Bueltge

    (@bueltge)

    Can you test the current github version? I have a change for this topic, also a var_dump() to see, what is in the variable, there makes this error. That is really helpful for me.
    download: https://github.com/bueltge/Adminimize/archive/master.zip

    kadaj

    (@aldabogskie)

    I have exact same issue. I didnt notice this error because its really doesn’t affects the plugin or cause of an error

    Plugin Author Frank Bueltge

    (@bueltge)

    Have you tried the linked version from github? This would really helps me to fix it.

    Hi Frank
    I tried your github link above, and now error in wp-admin is :

    array(1) { ["administrator"]=> array(0) { } } 
    Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/www/bd826d89c1515eb6e0c84e12a419dd22/web/site/wp-content/plugins/adminimize/inc-setup/admin-bar-items.php on line 119

    Thank you for your great job and help, best regards

    Plugin Author Frank Bueltge

    (@bueltge)

    I have validate this problem and is a topic from a php version <= 5.2. This PHP version is really old and not under maintenance. You should switch to another version or hoster with actual versions.

    But I will switch to another way to reduce this var, I hope that’s helps.
    Best.

    • This reply was modified 8 years, 3 months ago by Frank Bueltge.
    Plugin Author Frank Bueltge

    (@bueltge)

    It would be fine, if you retest again the last github master download. The problem should be fixed.
    Thanks

    Plugin Author Frank Bueltge

    (@bueltge)

    Should be done with version 1.11.0; new function that also works in php 5.2

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘array_merge() [function.array-merge] in admin-bar-items.php on line 122’ is closed to new replies.