• 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 to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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/

    But again, you may have to downgrade back to your previous version which you can get from here:

    https://en-ca.www.ads-software.com/download/releases/

    Once you have the site back up, be sure to get a copy of it onto your computer:

    https://en-ca.www.ads-software.com/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”.

    The wp_theme_has_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 1 year, 4 months ago by mrtom414.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HELP! Call to undefined function error’ is closed to new replies.