I updated but now when I try to change tags for a discussion an exception is thrown:
[2020-10-06 18:56:03] production.ERROR: BadMethodCallException: Call to undefined method Flarum\User\User::assertCan() in /path/to/forum/vendor/illuminate/support/Traits/ForwardsCalls.php:50
Stack trace:
#0 /path/to/forum/vendor/illuminate/support/Traits/ForwardsCalls.php(36): Illuminate\Database\Eloquent\Model::thro
wBadMethodCallException('assertCan')
#1 /path/to/forum/vendor/illuminate/database/Eloquent/Model.php(1610): Illuminate\Database\Eloquent\Model->forward
CallTo(Object(Illuminate\Database\Eloquent\Builder), 'assertCan', Array)
#2 /path/to/forum/vendor/flarum/core/src/Database/AbstractModel.php(222): Illuminate\Database\Eloquent\Model->__ca
ll('assertCan', Array)
#3 /path/to/forum/vendor/flarum/tags/src/Listener/SaveTagsToDatabase.php(63): Flarum\Database\AbstractModel->__cal
l('assertCan', Array)
#4 [internal function]: Flarum\Tags\Listener\SaveTagsToDatabase->handle(Object(Flarum\Discussion\Event\Saving))