参考以下现有问题。 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被调用的参数是< strong>弃用的< / strong>自版本%2 $ s!%3 $ s'),$ function,$ version,$ message));
此
我应该指出,这是一台在我们内部网络本地运行的开发测试服务器。我开始怀疑这是否是导致问题的原因。我在网站的实时版本上安装了相同的插件,并且一切正常。
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:
- 确保所有插件均已更新,
- 禁用/测试/启用插件,以逐一找到放置插件的插件。
请确保满足所有要求: community.algolia/wordpress/installation.html
Please ensure that all the requirements are met: community.algolia/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插件无法处理索引提示
发布评论