Title: Admin panel user section error&#8230;
Last modified: August 18, 2016

---

# Admin panel user section error…

 *  Resolved [akeb0n0](https://wordpress.org/support/users/akeb0n0/)
 * (@akeb0n0)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/admin-panel-user-section-error/)
 * I Have 1.5.1.3 version and I get it below the error.
 * Warning: array_merge() [function.array-merge]: Argument #2 is not an array in
   c:\Inetpub\wwwroot\WP\wp-includes\capabilities.php on line 141
 * PS: I was updated capabilities.php and punction.php from trunk version, but it’s
   not solved my problem.
 * Thanks

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

 *  Thread Starter [akeb0n0](https://wordpress.org/support/users/akeb0n0/)
 * (@akeb0n0)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/admin-panel-user-section-error/#post-236941)
 * capabilities.php code details below
 *  //Build $allcaps from role caps, overlay user’s $caps
    $this->allcaps = array();
   foreach($this->roles as $role => $value) { $role = $wp_roles->get_role($role);
   $this->allcaps = array_merge($this->allcaps, $role->capabilities); } $this->allcaps
   = array_merge($this->allcaps, $this->caps); }
 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/admin-panel-user-section-error/#post-236942)
 * I am fairly sure that is code from 1.6
    The forums do not support 1.6 code at
   all. The only place you can ask for support – because none is promised – is the
   testers list: [http://codex.wordpress.org/Mailing_Lists](http://codex.wordpress.org/Mailing_Lists)
 * If that were my blog, I would backup and reinstall 1.5.1.3
    Backing up before
   you do anything else is a Good Thing.
 *  [masquerade](https://wordpress.org/support/users/masquerade/)
 * (@masquerade)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/admin-panel-user-section-error/#post-236943)
 * To confirm, the above is 1.6 code. capabilities.php doesn’t even exist before
   1.6. As Podz said, 1.6 is unsupported, and the only reason you should be using
   1.6 is if you are a test (in which case this post belongs on the WP-Testers mailing
   list) or if you are capable of writing PHP in your sleep (in which case patches
   belong at [http://trac.wordpress.org/](http://trac.wordpress.org/) )

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

The topic ‘Admin panel user section error…’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [masquerade](https://wordpress.org/support/users/masquerade/)
 * Last activity: [20 years, 10 months ago](https://wordpress.org/support/topic/admin-panel-user-section-error/#post-236943)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
