wp-composer
wp-composer copied to clipboard
No write permission
Without write permission composer.json is not created and there is no error message.
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
@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?
I think a warning message is enough.