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

Liam W

in memoriam 1998-2020
Affected version
2.0.0 Beta 2
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
 
Back
Top Bottom