Algolia WordPress 插件不会处理索引提示 [英] Algolia WordPress Plugin Wont Process Index Cueue

查看:24
本文介绍了Algolia WordPress 插件不会处理索引提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

参考以下现有问题.Wordpress 插件:无法处理索引队列我无法因拥有新账号且声望低于50而参与评论.

In reference to the following existing question. Wordpress Plugin : Can't process Indexing Queue I was unable to participate in the comments due to having a new account and less than 50 reputation.

我在使用 Algolia WordPress 插件处理索引时遇到问题.运行最新版本的 WP,今天刚刚从 Algolia 下载了 WP 插件.当我在 wp-config 文件中运行 WP_DEBUG 和 WP_DEBUG_LOG 时,我会在任何 WP 后端页面上得到以下输出.

I am having a problem getting the Algolia WordPress plugin to process the index. Running the latest version of WP and just downwloaded the WP Plugin from Algolia today. When I run WP_DEBUG and WP_DEBUG_LOG in my wp-config file I get the following output on any WP back end page.

has_cap 使用自 2.0.0 版起已弃用的参数调用!不推荐通过插件和主题使用用户级别.改用角色和能力.在/var/www/html/dealer/wp-includes/functions.php 第 3890 行

has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/html/dealer/wp-includes/functions.php on line 3890

wp-includes/functions.php 中的第 3890 行只是引用了产生错误的代码.

Line 3890 in wp-includes/functions.php just references the code that generated the error.

trigger_error( sprintf( __('%1$s 被调用时使用的参数从 %2$s! %3$s' 版本起已弃用), $function,$version, $message ) );

trigger_error( sprintf( __('%1$s was called with an argument that is <strong>deprecated</strong> since version %2$s! %3$s'), $function, $version, $message ) );

这似乎是一个无关的问题.

This appears to be an unrelated issue.

我应该指出,这是一个在我们内部网络本地运行的开发测试服务器.我开始怀疑这是否是导致问题的原因.我在网站的实时版本上安装了相同的插件,一切都按预期工作.

I should point out that this is a dev test server running locally on our internal network. I'm starting to wonder if that's causing the issue. I installed the same plugin on our live version of the site and everything works as expected.

推荐答案

我们从未注意到任何与用户能力相关的日志.删除这些通知的最佳方法是:

We have never noticed any logs related to user capabilities. Your best bet to remove those notices is to:

  • 确保您的所有插件都已更新,
  • 一一禁用/测试/启用插件以找到引发这些插件的插件.

请确保满足所有要求:https://community.algolia.com/wordpress/installation.html

您是否在 Algolia 插件的日志"页面上记录了任何错误?向我们提供您正在使用的插件列表可能会很有用.

Do you have any errors logged on the "Logs" page of the Algolia plugin? Might be useful to also give us the list of plugins you are using.

这篇关于Algolia WordPress 插件不会处理索引提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆