Title: error in function.php while updating template
Last modified: August 20, 2016

---

# error in function.php while updating template

 *  [kedarbilonia](https://wordpress.org/support/users/kedarbilonia/)
 * (@kedarbilonia)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/error-in-functionphp-while-updating-template/)
 * Warning: in_array() expects parameter 2 to be array, string given in C:\wamp\
   www\mashnol\wp-content\themes\mashnol\functions.php on line 373
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 * Plz help i am very close to finish my work thanks.

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/error-in-functionphp-while-updating-template/#post-2364847)
 * Upload a fresh copy of the theme via FTP.

Viewing 1 replies (of 1 total)

The topic ‘error in function.php while updating template’ is closed to new replies.

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [call stack](https://wordpress.org/support/topic-tag/call-stack/)
 * [function.php](https://wordpress.org/support/topic-tag/function-php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/error-in-functionphp-while-updating-template/#post-2364847)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
