Title: Call to undefined function
Last modified: August 20, 2016

---

# Call to undefined function

 *  [Vanguard Digital](https://wordpress.org/support/users/musicaldustbin/)
 * (@musicaldustbin)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-10/)
 * I have a php module included through my wordpress functions.php file
    and it 
   is stored in my theme directory however i do not have access to wordpress core
   functions or other functions stored in functions.php in my themes root directory.
 * A basic overview of my site structure is
 *     ```
       functions.php
       /functions/locator/webzone.php << Included in functions php
       ```
   
 * and webzone includes
 *     ```
       include_once('config.php');
       include_once($_SERVER['DOCUMENT_ROOT'].$GLOBALS['app_base_path'].'include/more_functions/db_functions.php');
       include_once($_SERVER['DOCUMENT_ROOT'].$GLOBALS['app_base_path'].'include/more_functions/Forms.php');
       include_once($_SERVER['DOCUMENT_ROOT'].$GLOBALS['app_base_path'].'include/db/db_class.php');
       include_once($_SERVER['DOCUMENT_ROOT'].$GLOBALS['app_base_path'].'include/library/gmap/Gmap_class.php');
       ```
   
 * and so on…
 * **Question**
    Why am i not able to access wordpress functions and theme functions
   if all these files are included from the themes functions.php

The topic ‘Call to undefined function’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Vanguard Digital](https://wordpress.org/support/users/musicaldustbin/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/call-to-undefined-function-10/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
