JCHub

  • Home
  • Category
    • A/V
    • WebRTC
    • Beauty of Programming
    • Linux
    • Windows
    • Moments of Life
    • Campus Life
  • Reference
    • API Reference
    • Utilities
    • AV Test
    • Doc
  • Message Board
  • About
JCHub
Code as My Sword, Lost in Obsession
  1. Main page
  2. Web
  3. Main content

wordpress更新6.8.1报错

2025年5月15日 30hotness 0likes 0comments

今天wordpress更新到6.8.1后页面顶部一直显示:
Notice: 函数 _load_textdomain_just_in_time 的调用方法不正确。 kratos域的翻译加载触发过早。这通常表示插件或主题中的某些代码运行过早。翻译应在 init 操作或之后加载。 请查阅调试 WordPress来获取更多信息。 (这个消息是在 6.7.0 版本添加的。) in /usr/home/wh-axha23av59io7kixhgl/htdocs/wp-includes/functions.php on line 6121

参考这篇文章:https://xuv.cc/110/,删除主题文件style.css如下一行修复:

1
Text Domain:

后面发现插件也有类似报错,懒得折腾,直接wp-config.php中关闭debug错误信息显示:

1
define('WP_DEBUG', false);

This article is licensed with Creative Commons Attribution-NonCommercial-No Derivatives 4.0 International License
Tag: Web
Last updated:2026年3月13日

Jeff

管理员——代码为剑,如痴如醉

Tip the author Like
< Last article

Comments

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
Cancel

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts
  • FireBreath插件IE浏览器中文字符乱码问题
  • 浏览器获取所安装插件列表
  • web页面npapi插件资源管理问题
  • 基于FireBreath的npapi插件在Firefox下的调试
Categories

COPYRIGHT © 2026 jianchihu.net. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang