Title: &#8220;Call to undefined function&#8230;.&#8221;
Last modified: December 20, 2018

---

# “Call to undefined function….”

 *  Resolved [rcx](https://wordpress.org/support/users/rcx/)
 * (@rcx)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/call-to-undefined-function-31/)
 * Here’s the situation: I developed my local site (WP 5.0.1), and used the well
   known plugin Duplicator (latest version 1.3) to create an archive file to migrate
   it. After a successful install at my hosting company (Siteground, using same 
   WP version), I try to pull up the site, and get the above error. These is no 
   such error in the local version.
 * The function that PHP says it cannot find does exist; it is in a subdirectory
   of the parent theme. So what appears to be happening is that PHP loses its path…
   somehow.
 * Any suggestions? Am completely stumped at the moment….see the debug statements
   before the error where I attempted to print out info about the path.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcall-to-undefined-function-31%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/call-to-undefined-function-31/#post-11010388)
 * [http://rickcasey.net/](http://rickcasey.net/) opens fine for me, NO error.
 * However, [http://rickcasey.net/test/](http://rickcasey.net/test/) throws the 
   error.
 * That error seems to be coming from your `info1` theme, which could not be found
   in the wordpress.org/themes/ directory.
 * If this was a custom theme, you may have to go back to your developer team and
   ask them to make the necessary change(s) to the theme.
 * For pro or commercial product support please contact the author directly on their
   site. Commercial products are [not supported in these forums](https://make.wordpress.org/support/handbook/forum-welcome/#do-not-post-about-commercial-products).
 *  Thread Starter [rcx](https://wordpress.org/support/users/rcx/)
 * (@rcx)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/call-to-undefined-function-31/#post-11017490)
 * I fixed this problem; here was the solution.
 * For whatever reason, the theme was not quite installed correctly, even though
   the install with the Duplicator installer completely without error; but the child
   theme was showing up in the admin dashboard as a broken theme. But once I activated
   the parent theme, and rechecked the child theme in the file structure, the child
   theme showed up (magically) in the dashboard. I was then able to activate the
   child theme, and then functioned correctly.
 * Just another WordPress mystery…..
 * –rcx
    -  This reply was modified 7 years, 6 months ago by [rcx](https://wordpress.org/support/users/rcx/).
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/call-to-undefined-function-31/#post-11017950)
 * Glad to know it 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/call-to-undefined-function-31/#post-11017950)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
