My Flrum can't install any extensions. When the command is executed:
Server-side output error:
PHP Fatal error: Uncaught Error: Call to undefined function Composer\XdebugHandler\putenv() in phar:///usr/bin/composer/vendor/composer/xdebug-handler/src/Process.php:160
Stack trace:
#0 phar:///usr/bin/composer/vendor/composer/xdebug-handler/src/Status.php(47): Composer\XdebugHandler\Process::setEnv()
#1 phar:///usr/bin/composer/vendor/composer/xdebug-handler/src/XdebugHandler.php(77): Composer\XdebugHandler\Status->__construct()
#2 phar:///usr/bin/composer/bin/composer(16): Composer\XdebugHandler\XdebugHandler->__construct()
#3 /usr/bin/composer(24): require('...')
#4 {main}
thrown in phar:///usr/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 160
Fatal error: Uncaught Error: Call to undefined function Composer\XdebugHandler\putenv() in phar:///usr/bin/composer/vendor/composer/xdebug-handler/src/Process.php:160
Stack trace:
#0 phar:///usr/bin/composer/vendor/composer/xdebug-handler/src/Status.php(47): Composer\XdebugHandler\Process::setEnv()
#1 phar:///usr/bin/composer/vendor/composer/xdebug-handler/src/XdebugHandler.php(77): Composer\XdebugHandler\Status->__construct()
#2 phar:///usr/bin/composer/bin/composer(16): Composer\XdebugHandler\XdebugHandler->__construct()
#3 /usr/bin/composer(24): require('...')
#4 {main}
thrown in phar:///usr/bin/composer/vendor/composer/xdebug-handler/src/Process.php on line 160
Here's what's in my composer.json file:
{
"name": "flarum/flarum",
"description": "Delightfully simple forum software.",
"type": "project",
"keywords": [
"forum",
"discussion"
],
"homepage": "https://flarum.org/",
"license": "MIT",
"authors": [
{
"name": "Flarum",
"email": "info@flarum.org",
"homepage": "https://flarum.org/team"
}
],
"support": {
"issues": "https://github.com/flarum/core/issues",
"source": "https://github.com/flarum/flarum",
"docs": "https://flarum.org/docs/"
},
"require": {
"askvortsov/flarum-moderator-warnings": "^0.5.0",
"askvortsov/flarum-rich-text": "*",
"clarkwinkelmann/flarum-ext-author-change": "^0.2.3",
"clarkwinkelmann/flarum-ext-emojionearea": "^0.3.1",
"clarkwinkelmann/flarum-ext-popular-discussion-badge": "^0.2.3",
"csineneo/lang-traditional-chinese": "^1.13",
"davwheat/inline-group-badges": "*",
"ffans/clipboardjs": "v0.1.0-beta.16.1",
"flarum/approval": "^0.1.0",
"flarum/bbcode": "^0.1.0",
"flarum/core": "^0.1.0",
"flarum/emoji": "^0.1.0",
"flarum/flags": "^0.1.0",
"flarum/lang-english": "^0.1.0",
"flarum/likes": "^0.1.0",
"flarum/lock": "^0.1.0",
"flarum/markdown": "^0.1.0",
"flarum/mentions": "^0.1.0",
"flarum/nicknames": "^0.1.0",
"flarum/pusher": "^0.1.0",
"flarum/statistics": "^0.1.0",
"flarum/sticky": "^0.1.0",
"flarum/subscriptions": "^0.1.0",
"flarum/suspend": "^0.1.0",
"flarum/tags": "^0.1.0",
"fof/ban-ips": "^0.4.0",
"fof/best-answer": "^0.4.0",
"fof/byobu": "*",
"fof/doorman": "^0.3.0",
"fof/drafts": "^0.4.0",
"fof/ignore-users": "^0.3.1",
"fof/impersonate": "^0.8.0",
"fof/links": "^0.6.0",
"fof/moderator-notes": "^0.5.0",
"fof/nightmode": "^0.8.0",
"fof/oauth": "^0.3.0",
"fof/polls": "^0.3.2",
"fof/prevent-necrobumping": "^0.5.0",
"fof/profile-image-crop": "^0.3.0",
"fof/reactions": "^0.6.0",
"fof/stopforumspam": "^0.5.0",
"fof/terms": "^0.6.2",
"fof/upload": "^0.14.0",
"fof/user-bio": "^0.5.0",
"fof/user-directory": "^0.6.1",
"fof/username-request": "^0.5.0",
"ianm/follow-users": "^0.2.0",
"itnt/flarum-backtop": "v0.1.7.2",
"littlegolden/flarum-lang-japanese": "v0.1.67.1",
"marketplace/flarum-l10n-core-russian": "^0.1.0@beta",
"michaelbelgium/flarum-profile-views": "^5.0",
"nearata/flarum-ext-embed-video": "^2.1",
"nomiscz/flarum-ext-auth-steam": "^0.2.1",
"phenomlab/fancybox-wrapper": "^0.7.0",
"qiaeru/lang-french": "^1.10",
"sycho/flarum-profile-cover": "^1.2",
"therealsujitk/flarum-ext-show-password": "^2.0"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "beta",
"prefer-stable": true
}
I tried to roll back a snapshot of the server, but it didn't seem to work...