• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed Unhelpful error upgrading incorrect add-on id from cli...

Affected version
2.0.0 Beta 2

Liam W

Well-known member
#1
If you try and upgrade (and possible install, not sure) an add-on from the CLI with an incorrect ID, you get this error:

Code:
Error: Call to a member function canUpgrade() on null src/XF/Cli/Command/AddOnUpgrade.php:42
(You get the standard unexpected error message in the CLI if you don't have debug mode enabled)

Liam