$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>Fatal error after update|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Fatal error after update

matteradmin8PV0评论
Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 6 years ago.

Improve this question

My client updated her site on her own, and it went down. There were lots of error messages, I found many missing files and put them up, those errors went away, and now this is the error:

Fatal error: Call to undefined function determine_locale() in /home/content/04/5575704/html/wp-includes/script-loader.php on line 1096

Closed. This question is off-topic. It is not currently accepting answers.

Questions that are too localized (such as syntax errors, code with restricted access, hacked sites, hosting or support issues) are not in scope. See how do I ask a good question?

Closed 6 years ago.

Improve this question

My client updated her site on her own, and it went down. There were lots of error messages, I found many missing files and put them up, those errors went away, and now this is the error:

Fatal error: Call to undefined function determine_locale() in /home/content/04/5575704/html/wp-includes/script-loader.php on line 1096

Share Improve this question edited Feb 14, 2019 at 6:52 Krzysiek Dróżdż 25.6k9 gold badges53 silver badges74 bronze badges asked Feb 14, 2019 at 1:46 ShannaShanna 111 bronze badge 1
  • What did the client update? What version of Wordpress is the client using right now? – dan webb Commented Feb 14, 2019 at 1:52
Add a comment  | 

1 Answer 1

Reset to default 0

It looks like something went wrong during update and not all files are on the server or some of them are corrupted.

  1. Go to wordpress and download a package with WP.
  2. Go login to FTP of your clients site.
  3. Delete wp-includes and wp-admin directories.
  4. Upload these directories from original WP package.
  5. Upload all files in root directory of that package (index.php, wp-activate.php and so on).

After these steps everything should be fine.

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far