Closed vijayant123 closed 4 years ago
Hi @vijayant123,
Thanks for checking this plugin.
The production repository is on the WordPress SVN: https://plugins.svn.wordpress.org/user-export-with-their-meta-data/trunk/. This repo on GitHub is for development only and that's why you don't see the libraries folders (vendor
and node_modules
).
I recommend installing this plugin through the WordPress plugins store. Just notice that this plugin has been temporarily disabled there due to some technical issues with the WP store, which is being taken care of and it should be available again in a few days. Here's the link for the plugin: https://wordpress.org/plugins/user-export-with-their-meta-data/
If you want to install this plugin from GitHub, you will have to manually run composer install --no-dev
and npm install --production
.
Please do not run composer install
without the --no-dev
on a production server as it will install development libraries like phpunit, leading your server to be vulnerable to remote code execution attacks (RCE).
PS: I am closing this issue, but feel free to reopen it if you need more assistance.
Thanks for updating it on the WordPress plugins store.
Hi,
Whenever I try to activate the plugin the following error is shown:
It's trying to find the "vendor/autoload.php" file. But I cannot see the file in the zip file. Also you have ignored the whole vendor folder here: https://github.com/loureirorg/wordpress-plugin-export-users/blob/1b64f6f3864545ce9c38153c22ca0fcd044e6fbc/.gitignore#L7
It is usually left to the user of PHP application to run "composer install" on the downloaded code so as to install the dependencies. But that is not possible in WordPress environment. So I request you to please commit the vendor directory too.