Title: Error in theme functions.php
Last modified: August 24, 2016

---

# Error in theme functions.php

 *  Resolved [CallMeAndy](https://wordpress.org/support/users/callmeandy/)
 * (@callmeandy)
 * [11 years ago](https://wordpress.org/support/topic/error-in-theme-functionsphp/)
 * Just upgraded to 4.2.2 and getting the following page error output in admin and
   site! Across all browsers.
 * Warning: in_array() expects parameter 2 to be array, string given in …wp-content/
   themes/catch-kathmandu/functions.php on line 182
 * How to resolve this please?

Viewing 1 replies (of 1 total)

 *  Thread Starter [CallMeAndy](https://wordpress.org/support/users/callmeandy/)
 * (@callmeandy)
 * [11 years ago](https://wordpress.org/support/topic/error-in-theme-functionsphp/#post-6138773)
 * Apologies I shouted thinking I had the latest Cach kathmandu theme but after 
   realizing that it fact had not updated, and then doing so, the problem has evaporated.
   Great Theme!

Viewing 1 replies (of 1 total)

The topic ‘Error in theme functions.php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/catch-kathmandu/4.4.3/screenshot.
   png)
 * Catch Kathmandu
 * [Support Threads](https://wordpress.org/support/theme/catch-kathmandu/)
 * [Active Topics](https://wordpress.org/support/theme/catch-kathmandu/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/catch-kathmandu/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/catch-kathmandu/reviews/)

## Tags

 * [output](https://wordpress.org/support/topic-tag/output/)

 * 1 reply
 * 1 participant
 * Last reply from: [CallMeAndy](https://wordpress.org/support/users/callmeandy/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/error-in-theme-functionsphp/#post-6138773)
 * Status: resolved