admin管理员组

文章数量:1296292

At some point when zipping my-plugin.zip I gave it an incorrect name and installed it, causing my-plugin to fail when opening its admin menus etc.

I then fixed the zip name, and attempted to install my-plugin.zip. WordPress says it installed the plugin and I try to activate it, I get the warning

Warning: require(/var/www/html/site/public_html/wp-content/plugins/my-plugin-1/includes/class-my-plugin.php): failed to open stream: No such file or directory in /var/www/html/site/public_html/wp-content/plugins/my-plugin-1/my-plugin.php on line 1312

It seems to now be looking in my-plugin-1 instead of my-plugin ... I ensured both my-plugin and my-plugin-1 folders do not exist in wp-content/plugins before installing the plugin - But the issue persists - Any ideas?

本文标签: installationPlugin Install Issue quot1quot Appended to end of plugin name