Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No write permission #7

Open
szepeviktor opened this issue Oct 23, 2017 · 3 comments
Open

No write permission #7

szepeviktor opened this issue Oct 23, 2017 · 3 comments
Assignees

Comments

@szepeviktor
Copy link

Without write permission composer.json is not created and there is no error message.

@szepeviktor
Copy link
Author

I am not sure, I get out-of-memory error:

mmap() failed: [12] Cannot allocate memory
PHP Fatal error:  Out of memory (allocated 1587552256) (tried to allocate 20480 bytes) in phar:///usr/local/bin/wp/php/WP_CLI/Dispatcher/Subcommand.php on line 39
Fatal error: Out of memory (allocated 1587552256) (tried to allocate 20480 bytes) in phar:///usr/local/bin/wp/php/WP_CLI/Dispatcher/Subcommand.php on line 39

@rxnlabs
Copy link
Owner

rxnlabs commented Dec 11, 2017

@szepeviktor thanks for letting me know. I should add a note about the plugin needing write permission to the filesystem. Maybe saving the composer.json to the options table wouldn't be a bad idea. Do you think that would be a good solution?

@szepeviktor
Copy link
Author

I think a warning message is enough.

@rxnlabs rxnlabs self-assigned this Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants