Title: PHP Warnings in Core Files
Last modified: August 22, 2016

---

# PHP Warnings in Core Files

 *  Resolved [im_ryan](https://wordpress.org/support/users/im_ryan/)
 * (@im_ryan)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-warnings-in-core-files/)
 * Using a brand new, freshly installed version of WordPress 4.1 on my WampServer
   2.4 to check out the new version of WP. Upon editing the header (Apearance ->
   Header) I receive two php warnings which I will list here:
    1. Warning: array_merge(): Argument #3 is not an array in C:\wamp\www\WP_FN_Test\
       wp-includes\class-wp-customize-widgets.php on line 403
    2. Warning: Invalid argument supplied for foreach() in C:\wamp\www\WP_FN_Test\wp-
       includes\class-wp-customize-widgets.php on line 442
 * Any idea on how I can fix this?

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

 *  [ftschumann](https://wordpress.org/support/users/ftschumann/)
 * (@ftschumann)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-warnings-in-core-files/#post-5616904)
 * Can you open the mentioned files and check what the lines referred to say? That
   might help to figure this out 🙂
 *  [carlosonweb](https://wordpress.org/support/users/carlosonweb/)
 * (@carlosonweb)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-warnings-in-core-files/#post-5616962)
 * Hi im_ryan,
 * Looks like it’s an issue with the theme you are using.
 * Try to use a different theme and see if there is still that error.
 * Carlos
 *  Thread Starter [im_ryan](https://wordpress.org/support/users/im_ryan/)
 * (@im_ryan)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-warnings-in-core-files/#post-5617159)
 * Hey guys!
 * Thanks for your responses, it turns out that it was in fact an error with the
   theme and I found the problem.

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

The topic ‘PHP Warnings in Core Files’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [im_ryan](https://wordpress.org/support/users/im_ryan/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/php-warnings-in-core-files/#post-5617159)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
