Title: HELP! Call to undefined function error
Last modified: November 10, 2023

---

# HELP! Call to undefined function error

 *  [eranno79](https://wordpress.org/support/users/eranno79/)
 * (@eranno79)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/help-call-to-undefined-function-error/)
 * First things first – I am not a coder, and have minimal knowledge about fixing
   websites, but I can’t seem to find a live human to talk to anywhere and my site
   will not load. I can’t even log in to wpadmin so I’m truly at a loss!
 * I tried to update my website last night and clearly did something wrong. I was
   initially getting messages that I needed to update my php. Now I’m getting this
   message when I go to my site:
 * **Fatal error**: Call to undefined function wp_theme_has_theme_json() in **/home/
   cs74zehep9hu/public_html/wp-includes/script-loader.php** on line **1634**
 * And this message when I try to log in to wpadmin:
 * **Fatal error**: Call to undefined function wp_theme_has_theme_json() in **/home/
   cs74zehep9hu/public_html/wp-includes/block-template-utils.php** on line **373**
 * I have scoured the web and have renamed my plugins file through cPanel to deactivate
   plugins. I have attempted to change my theme back to twentytwentythree through
   cPanel. Neither has helped, and now I’m stuck here.
 * Anyone know what I can do or who I can reach out to to fix this? Thanks!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhelp-call-to-undefined-function-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [corrinarusso](https://wordpress.org/support/users/corrinarusso/)
 * (@corrinarusso)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/help-call-to-undefined-function-error/#post-17192388)
 * Did you already talk to GoDaddy support? For their shortfalls, their support 
   is fairly good at fixing these types of issues for you.
 * Assuming you do not have a backup of your site?
 * Did you go ahead and update your version of php? If so, log back into GoDaddy
   and downgrade back to what it was previously.
 * Did you update your verison of WordPress as well? If so, you can also re-install
   the core files of WordPress without losing any information:
 * [https://www.wpbeginner.com/wp-tutorials/how-to-uninstall-and-reinstall-wordpress/](https://www.wpbeginner.com/wp-tutorials/how-to-uninstall-and-reinstall-wordpress/)
 * But again, you may have to downgrade back to your previous version which you 
   can get from here:
 * [https://en-ca.wordpress.org/download/releases/](https://en-ca.wordpress.org/download/releases/)
 * Once you have the site back up, be sure to get a copy of it onto your computer:
 * [https://en-ca.wordpress.org/plugins/all-in-one-wp-migration/](https://en-ca.wordpress.org/plugins/all-in-one-wp-migration/)
 * then go back and update / upgrade plugins , php version, WordPress version one
   thing at a time.
 * My initial guess is that you rolling back your php version will at least get 
   you back online.
 * Side note, be sure to add a valid SSL to your site. Right now it displays as “
   Insecure”.
 *  [mrtom414](https://wordpress.org/support/users/mrtom414/)
 * (@mrtom414)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/help-call-to-undefined-function-error/#post-17192989)
 * [The wp_theme_has_json ](https://developer.wordpress.org/reference/functions/wp_theme_has_theme_json/)
   is a core wordpress file. you can reload the theme and it shouldn’t cause a problem
   just backup your configuration file before doing so. Your post and pages are 
   stored in the database. Unless your database gets corruped you should be safe.
   All your themes and plugins are stored in the wp-content directory. I would suggest
   making a copy of this directory also. Since you are getting warnings about your
   php you hosting provider should be able tup upgrade it.
    -  This reply was modified 2 years, 6 months ago by [mrtom414](https://wordpress.org/support/users/mrtom414/).

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

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

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
