Title: Array Merge
Last modified: August 19, 2016

---

# Array Merge

 *  Resolved [egipteanu](https://wordpress.org/support/users/egipteanu/)
 * (@egipteanu)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/array-merge/)
 * `Warning: array_merge() [function.array-merge]: Argument #2 is not an array in/
   home/edils/public_html/blog/wp-content/themes/eos/functions.php on line 15`

Viewing 1 replies (of 1 total)

 *  Thread Starter [egipteanu](https://wordpress.org/support/users/egipteanu/)
 * (@egipteanu)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/array-merge/#post-1187826)
 * Solved to:
 *     ```
       $array1 = $aDefaultOptions;
       	$array2 = $aSetOptions;
       	$aOptions = array_merge($array1, (array) $array2);
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Array Merge’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [egipteanu](https://wordpress.org/support/users/egipteanu/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/array-merge/#post-1187826)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
