Katsuro
Member
- Affected version
- 2.2.15
It seems xf-dev:import is broken on 2.2.15. Due to broken xf-dev:import, xf-addon:install fails too
PHP version: 8.2.15
MySQL version: 11.2.2 (11.2.2-MariaDB-1:11.2.2+maria~ubu2204)
Code:
/var/www/html # php cmd.php xf-addon:install Katsuro/TestAddon
Please confirm that you want to install the following add-on: (TestAddon 1.0.0 Beta) (y/n)y
Installing
Complete.
In Application.php line 689:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "xf-dev:import" is ambiguous.
Did you mean one of these?
xf-dev:import-code-event-listeners Imports code event listeners f...
xf-dev:import-code-events Imports code events from devel...
xf-dev:import-content-types Imports content types from dev...
xf-dev:import-cron-entries Imports cron entries from deve...
xf-dev:import-help-pages Imports help pages from develo...
xf-dev:import-member-stats Imports member stats from deve...
xf-dev:import-navigation Imports navigation from develo...
xf-dev:import-options Imports options from developme...
xf-dev:import-permissions Imports permissions from devel...
xf-dev:import-phrases Imports phrases from developme...
xf-dev:import-routes Imports routes from developmen...
xf-dev:import-style-properties Imports style properties from ...
xf-dev:import-template-modifications Imports template modifications...
xf-dev:import-templates Imports templates from develop...
xf-dev:import-widget-definitions Imports widget definitions fro...
xf-dev:import-widget-positions Imports widget positions from ....
Exception trace:
at /var/www/html/src/vendor/symfony/console/Application.php:689
Symfony\Component\Console\Application->find() at /var/www/html/src/XF/Cli/Command/AddOnActionTrait.php:152
XF\Cli\Command\AddOnSubAction->importAddOnData() at /var/www/html/src/XF/Cli/Command/AddOnSubAction.php:66
XF\Cli\Command\AddOnSubAction->execute() at /var/www/html/src/vendor/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /var/www/html/src/vendor/symfony/console/Application.php:992
Symfony\Component\Console\Application->doRunCommand() at /var/www/html/src/vendor/symfony/console/Application.php:255
Symfony\Component\Console\Application->doRun() at /var/www/html/src/vendor/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /var/www/html/src/XF/Cli/Runner.php:111
XF\Cli\Runner->run() at /var/www/html/cmd.php:15
xf:addon-sub-action [--k K] [--] <id> <action>
PHP version: 8.2.15
MySQL version: 11.2.2 (11.2.2-MariaDB-1:11.2.2+maria~ubu2204)
Last edited: