gpt4 book ai didi

wordpress - 类 'PLL_Links_' 在/wp-content/plugins/polylang/include/model.php 第 915 行中找不到

转载 作者:行者123 更新时间:2023-12-01 23:23:00 26 4
gpt4 key购买 nike

将 WordPress 上的网站迁移到另一台服务器和另一个域后。我的网站根目录位于同一目录中。我听说这个插件 POLYLANG 的数据库中有一些配置,但不知道在哪里。我有一个错误,例如:

Class 'PLL_Links_' not found in /wp-content/plugins/polylang/include/model.php on line 915

有人知道如何解决这个问题吗?

最佳答案

我遇到了同样的错误,错误之前是“ undefined index ”通知。这是由空的 $this->options['force_lang'] var 引起的。

该变量是从wp_options表加载的,该表中的option_namepolylang。应该有一个 JSON 编码的 polylang 选项数组。

就我而言,可以通过从 JSON 数据中删除域来解决该问题,因此它的内容类似于:

"domains";a:0:{}

关于wordpress - 类 'PLL_Links_' 在/wp-content/plugins/polylang/include/model.php 第 915 行中找不到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32461736/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com