'Activate' link on Extensions screen results in 'Plugin file does not exist.'
Japh opened this issue · comments
While troubleshooting #464, I noticed that the 'Active' links on the Extensions screen don't work. The plugins can be activated from the Plugins screen as normal though.
This issue appears to be caused by using a different plugin path locally than that specified by https://wp-stream.com.
For example, I have the Data Exporter extension installed at 'wp-stream-data-exporter' instead of the 'stream-data-exporter' that is expected by the Extensions screen using information provided by https://wp-stream.com.
The extension is still detected correctly as being installed though.
@Japh My guess is because you have the plugins installed on your local as direct clones from the GitHub repo and they are still using the wp-
prefix in the directory names, which won't work.
Instead, the directory name should be changed when cloning, like so:
$ git clone git@github.com:x-team/wp-stream-extension.git stream-extension
I'm on it.
Sorry - just read your comment all the way through @shadyvb . It's all yours.
Brilliant, thanks guys! :)