Title: Call to undefined function in wp-includes/var.php
Last modified: August 22, 2016

---

# Call to undefined function in wp-includes/var.php

 *  [Dibit](https://wordpress.org/support/users/dibit/)
 * (@dibit)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-in-wp-includesvarphp/)
 * Hi,
 * I have de-activated all plugins and moved back to twenty twelve theme and reset
   the browser and saved a fresh copy of query.php in wp-includes folder and vars.
   php but I am still getting this error:
 * Fatal error: Call to undefined function is_admin() on line 23
 * on this page:
 * [https://aussiebuilder.com/wp-includes/vars.php](https://aussiebuilder.com/wp-includes/vars.php)
 * Any ideas?
 * Whereas other sites I have just give a 403 not allowed message when I try and
   access the same type of page.

The topic ‘Call to undefined function in wp-includes/var.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Dibit](https://wordpress.org/support/users/dibit/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/call-to-undefined-function-in-wp-includesvarphp/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
