Title: capabilities.php warnings
Last modified: August 18, 2016

---

# capabilities.php warnings

 *  [devilmoon](https://wordpress.org/support/users/devilmoon/)
 * (@devilmoon)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/capabilitiesphp-warnings/)
 * I’m running Apache on a Window 2003SBS machine and after the upgrade to RC3, 
   I’m getting the following warnings:
 * Warning: array_filter() [function.array-filter]: The second argument, ‘Array’,
   should be a valid callback in C:\Apache2\htdocs\blog\wp-includes\capabilities.
   php on line 152
    Warning: Invalid argument supplied for foreach() in C:\Apache2\
   htdocs\blog\wp-includes\capabilities.php on line 156
 * Has anyone else seen these? Anyone have any ideas?

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

 *  Thread Starter [devilmoon](https://wordpress.org/support/users/devilmoon/)
 * (@devilmoon)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/capabilitiesphp-warnings/#post-299743)
 * Never mind, I found the issue. It was caused by the CG-Amazon plugin. I deactivated
   the plugin and the problem was gone instantly. My bad for not doing that first.
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/capabilitiesphp-warnings/#post-300487)
 * Yeah, I don’t report warning-level stuff in my error tracking/handling scripts(
   as WP itself used to throw them left and right…). I’ll look into some cleanup
   if I get some time (and donations! ;)) in the weeks ahead.
 * Thanks for the report and noting CG-Amazon was throwing the warnings.
 * -d

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

The topic ‘capabilities.php warnings’ is closed to new replies.

## Tags

 * [array_filter](https://wordpress.org/support/topic-tag/array_filter/)
 * [capabilities](https://wordpress.org/support/topic-tag/capabilities/)
 * [CG-Amazon](https://wordpress.org/support/topic-tag/cg-amazon/)
 * [RC3](https://wordpress.org/support/topic-tag/rc3/)
 * [windows](https://wordpress.org/support/topic-tag/windows/)

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 2 replies
 * 2 participants
 * Last reply from: [davidchait](https://wordpress.org/support/users/davidchait/)
 * Last activity: [20 years, 5 months ago](https://wordpress.org/support/topic/capabilitiesphp-warnings/#post-300487)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
