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-1 folders do not exist in
wp-content/plugins before installing the plugin - But the issue persists - Any ideas?