- Affected version
- 2.1.2
Code:
TypeError: Argument 1 passed to Symfony\Component\Console\Application::renderException() must be an instance of Exception, instance of Error given, called in /var/www/sites/html/src/XF/Cli/Command/AddOnSubAction.php on line 130
src/vendor/symfony/console/Application.php:732
Generated by: Unknown account
May 9, 2019 at 2:15 AM
Stack trace
#0 src/XF/Cli/Command/AddOnSubAction.php(130): Symfony\Component\Console\Application->renderException(Object(Error), Object(Symfony\Component\Console\Output\ConsoleOutput))
#1 src/vendor/symfony/console/Command/Command.php(255): XF\Cli\Command\AddOnSubAction->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 src/vendor/symfony/console/Application.php(960): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 src/vendor/symfony/console/Application.php(255): Symfony\Component\Console\Application->doRunCommand(Object(XF\Cli\Command\AddOnSubAction), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 src/vendor/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#5 src/XF/Cli/Runner.php(63): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 cmd.php(16): XF\Cli\Runner->run()
#7 {main}
Happens when trying to call an invalid static method in an upgrade step. The correct exception/error did log to the xf_error_log