为什么我不能在WordPress中添加或安装插件?

One of the most common questions we are asked by WordPress beginners is: “Why can’t I add plugins in WordPress?”. It usually follows up with how the user is seeing an upgrade message or that their admin area doesn’t have the plugins menu. If you’re encountering this issue, then you’re in the right place. In this article, we will explain why you cannot add or install plugins in WordPress.

WordPress初学者提出的最常见问题之一是:“为什么不能在WordPress中添加插件?”。 通常会跟进用户如何看到升级消息,或者他们的管理区域没有插件菜单。 如果遇到此问题,那么您来对地方了。 在本文中,我们将解释为什么您不能在WordPress中添加或安装插件。

Why Can't I Add or Install Plugins in WordPress
1.您在WordPress.com上 (1. You are On WordPress.com)

WordPress.com is a blog hosting service that offers a limited version of the popular self-hosted WordPress software. See our guide on the difference between WordPress.com vs WordPress.org for more details.

WordPress.com是一个博客托管服务,提供了流行的自托管WordPress软件的有限版本。 有关更多详细信息,请参见关于WordPress.com与WordPress.org之间区别的指南。

WordPress.com users cannot install plugins unless they upgrade to the business plan which costs about $299 per year. If you are on a free, personal, or premium plan, then you cannot install third-party plugins.

WordPress.com用户无法安装插件,除非他们升级到每年约299美元的商业计划。 如果您使用的是免费,个人或高级计划,则无法安装第三方插件。

WordPress.com plugins

If you don’t want to pay the $299 per year, then you can move your blog from WordPress.com to WordPress.org. If you need assistance in doing that, then use our free WordPress blog setup service (just make a note that you want us to transfer your site, and we will do it for free).

如果您不想每年支付299美元,则可以将博客从WordPress.com移至WordPress.org 。 如果您需要协助,请使用我们的免费WordPress博客设置服务(请注意,您要我们转移您的网站,我们将免费提供)。

2.您正面临内存限制问题 (2. You are Facing Memory Limit Issue)

The second most common scenario is that you can see and access the plugins menu but unable to install plugins.

第二种最常见的情况是,您可以查看和访问插件菜单,但无法安装插件。

The failure notice is usually caused by the PHP memory limit. There are settings in your WordPress hosting and inside your WordPress core that define the amount of memory a PHP script can use. When a process reaches this limit, it either gets terminated or it gives an error like this:

故障通知通常是由PHP内存限制引起的。 WordPress主机中和WordPress核心中都有一些设置,这些设置定义了PHP脚本可以使用的内存量。 当进程达到此限制时,它要么终止,要么给出如下错误:

Fatal error: Allowed memory size of 67108864 bytes exhausted

Fatal error: Allowed memory size of 67108864 bytes exhausted

The quick fix to this problem is increasing your PHP memory limit. You can do that by adding this line to your wp-config.php file:

快速解决此问题的方法是增加您PHP内存限制。 您可以通过将以下行添加到wp-config.php文件中来做到这一点:

define('WP_MEMORY_LIMIT', '256M');

For more detailed instructions, see our guide on how to fix WordPress memory exhausted error.

有关更多详细说明,请参阅有关如何修复WordPress内存耗尽错误的指南

3.用户角色限制 (3. User Role Restrictions)

WordPress comes with a built-in user role management system. Sometimes web developers don’t give administrator access to their clients. Instead, they create an editor account for them.

WordPress带有内置的用户角色管理系统 。 有时,Web开发人员不授予管理员访问其客户端的权限。 而是,他们为他们创建一个编辑者帐户。

Administrator vs Editor dashboard in WordPress

Only administrators can install and activate plugins on a WordPress site. If you are the owner of the website, then you need to ask your developer to make sure that you have administrator permissions.

只有管​​理员可以在WordPress网站上安装和激活插件。 如果您是网站的所有者,则需要要求开发人员确保您具有管理员权限。

4.您在多站点网络上 (4. You are on a Multi Site Network)

Another possible reason as to why you can’t see the plugins menu in WordPress could be that your site is part of a WordPress multi-site network, and the network admin has disabled the plugins menu item on network sites.

关于您为什么无法在WordPress中看到插件菜单的另一个可能原因可能是您的站点是WordPress多站点网络的一部分 ,并且网络管理员已禁用了网络站点上的插件菜单项。

Installing plugins on multisite network

It is pretty much the same scenario as WordPress.com. The network admins need to consider the server stability, WordPress security, and load balancing issues. To solve this problem, you can ask your network administrator to install plugins for you.

与WordPress.com几乎相同。 网络管理员需要考虑服务器稳定性, WordPress安全性和负载平衡问题。 要解决此问题,您可以要求网络管理员为您安装插件。

For more on this topic, see our guide on why do you not see all plugins on WordPress multisite installs

有关此主题的更多信息,请参阅我们的指南, 了解为什么您未在WordPress多站点安装中看到所有插件

We hope this article helped you learn why you can’t add or install plugins in WordPress. You may also want to see our list of must have WordPress plugins for your website.

我们希望本文能帮助您了解为什么无法在WordPress中添加或安装插件。 您可能还希望查看我们的网站列表,该列表必须具有WordPress插件

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/plugins/why-cant-i-add-or-install-plugins-in-wordpress/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值