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

Liam W

in memoriam 1998-2020
Licensed customer
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
 
This is fixed now. Similar things applied to other commands and they're fixed too.
 
Back
Top Bottom