gpt4 book ai didi

wordpress - 由于错误 : Could not fully remove the plugin(s) my-plugin/my-plugin. php,无法删除插件

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

为什么卸载以下(空)插件会导致错误?

这是my-plugin/my-plugin.php :

<?php
/*
Plugin Name: My Plugin
*/

my-plugin/uninstall.php :
<?php

当我单击“删除”然后确认时,出现以下错误:

Plugin could not be deleted due to an error: Could not fully remove the plugin(s) my-plugin/my-plugin.php.



这里有什么问题?
~/Sites/wordpress/wp-content/plugins/my-plugin $ ls -ll
total 16
-rwxrwxrwx@ 1 me staff 34 13 Aug 21:43 my-plugin.php
-rwxrwxrwx@ 1 me staff 6 13 Aug 21:44 uninstall.php

最佳答案

确实,所有权问题。运行以下命令后,我可以成功删除插件。

chown -R <myself>:<myself> my-plugin

关于wordpress - 由于错误 : Could not fully remove the plugin(s) my-plugin/my-plugin. php,无法删除插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11933811/

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