ModelNotFoundException {#143
  #model: "App\Models\Site\Tag"
  #ids: array:1 [
    0 => 0
  ]
  #message: "No query results for model [App\Models\Site\Tag] 0"
  #code: 0
  #file: "/var/www/happywear.ru/vendor/illuminate/database/Eloquent/Builder.php"
  #line: 331
  trace: {
    /var/www/happywear.ru/vendor/illuminate/database/Eloquent/Builder.php:331 {
      › 
      › throw (new ModelNotFoundException)->setModel(    get_class($this->model), $id
    }
    /var/www/happywear.ru/vendor/illuminate/database/Eloquent/Model.php:1570 {
      › 
      ›     return $this->newQuery()->$method(...$parameters);}
      arguments: {
        $id: 0
      }
    }
    /var/www/happywear.ru/vendor/illuminate/database/Eloquent/Model.php:1582 {{    return (new static)->$method(...$parameters);}
      arguments: {
        $method: "findOrFail"
        $parameters: array:1 [ …1]
      }
    }
    /var/www/happywear.ru/app/Services/Catalog/TagService.php:16 {{    return Tag::findOrFail($tagId)->getAttribute('sort_products') ?? null;}
      arguments: {
        $method: "findOrFail"
        $parameters: array:1 [ …1]
      }
    }
    /var/www/happywear.ru/catalog/controller/product/tag.php:67 {else {    $tagSorting = TagService::getTagProductsSorting($tag_id);    $defaultSortingData = !empty($tagSorting) ? $tagSorting : $this->config->get('config_default_sort_products');
      arguments: {
        $tagId: 0
      }
    }
    ControllerProductTag->index() {}
    /var/www/happywear.ru/system/engine/Front.php:49 {if (is_callable(array($controller, $method))) {\r\t$action = call_user_func_array(array($controller, $method), $args);\r} else {\r
      arguments: {
        $function_name: array:2 [ …2]
        $parameters: []
      }
    }
    /var/www/happywear.ru/system/engine/Front.php:31 {while ($action) {\r\t$action = $this->execute($action);\r}\r
      arguments: {
        $action: ""
      }
    }
    /var/www/happywear.ru/index.php:347 {    // Dispatch    $controller->dispatch($action, new Action('error/not_found'));}catch (\Exception $e){
      arguments: {
        $action: Action {#87 …}
        $error: Action {#88 …}
      }
    }
  }
}