Argument 1 passed to Illuminate\Database\Eloquent\Builder::getBelongsToRelation() must be an instance of Illuminate\Database\Eloquent\Relations\MorphTo code example
Example: Argument 1 passed to Illuminate\\Database\\Eloquent\\Builder::__construct() must be an instance of Illuminate\\Database\\Query\\Builder, instance of Illuminate\\Database\\Eloquent\\Builder given
$model->relation()->getQuery()