Title: error message when change theme
Last modified: August 19, 2016

---

# error message when change theme

 *  [ssling](https://wordpress.org/support/users/ssling/)
 * (@ssling)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/error-message-when-change-theme/)
 * hi there,
 * i am trying to use the theme Cutline 3-Column Right 1.1 by Chris Pearson on my
   fresh version 2.3.1 install.
 * However i get the following error message at the top of the screen when i activate
   it:
 * Warning: array_merge() [function.array-merge]: Argument #2 is not an array in/
   var/www/vhosts/mysite.com/httpdocs/wp-includes/widgets.php on line 53
 * Any idea how to resolve this?
 * Thanks!!
    ssling

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

 *  Thread Starter [ssling](https://wordpress.org/support/users/ssling/)
 * (@ssling)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/error-message-when-change-theme/#post-668350)
 * boy-o-boy, there are a lot of posts on this forum! i found a post from someone
   with the same problem that got buried and never answered. please don’t let that
   happen to me! 😉
 * anyone know how to fix this? or at least what caused it?
 *  Thread Starter [ssling](https://wordpress.org/support/users/ssling/)
 * (@ssling)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/error-message-when-change-theme/#post-668379)
 * well, google to the rescue, finally. i figured it out myself, so as a service
   to all those that may follow, here is how you fix the problem.
 * on line 53, you have to add “(array)” as follows in that line:
 * $sidebar = array_merge($defaults, (array)$args);
 * fwiw, i used the theme above, but also the plugin viper’s video quick tags, which
   seems to have been affected, and may have caused the problem. i dunno… anyhow
   hope this helps you, future person.
 * ssling.
 *  [noeleiffe](https://wordpress.org/support/users/noeleiffe/)
 * (@noeleiffe)
 * [18 years, 3 months ago](https://wordpress.org/support/topic/error-message-when-change-theme/#post-668522)
 * Line 53 of widgets.php in my system is a brace, and array-merge does not appear
   as a string in that file? Where did you make this edit?
 * Thanks.
 *  [circuit](https://wordpress.org/support/users/circuit/)
 * (@circuit)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/error-message-when-change-theme/#post-668577)
 * from the future – thank you. same theme, same extension, same problem, and it
   just popped up overnight with no apparent cause. this fixed it. thanks for posting
   the solution.

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

The topic ‘error message when change theme’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [circuit](https://wordpress.org/support/users/circuit/)
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/error-message-when-change-theme/#post-668577)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
