mysqli_sql_exception {#798
  #message: "Disk full (/tmp/#sql-temptable-80a13-e8cef9-1747.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")"
  #code: 1021
  #file: "/sites/fid.ua/api/Database.php"
  #line: 106
  #sqlstate: "HY000"
  trace: {
    /sites/fid.ua/api/Database.php:106 {
      FID\Database->query() …
      › \t\t//echo \t$q ."<br><br>";\r \t\treturn $this->res = $this->mysqli->query($q);\r\t}\r
      arguments: {
        $query: """
          SELECT DISTINCT b.id, b.name, b.url, IF(bu.shop_id > 1, bu.visible,b.visible) as visible, IF(bu.shop_id > 1, bu.image,b.image) as image, b.last_modified,bu.external_id, l.name, l.meta_title, l.meta_keywords, l.meta_description, l.description, l.shop_id\r\n
          \t\t\t\t\t\t\t\t \t\tFROM t_brands b LEFT JOIN t_lang_brands l ON l.brand_id=b.id AND l.lang_id = 1 and l.shop_id =3 LEFT JOIN t_brands_users bu ON bu.brand_id=b.id WHERE bu.shop_id =3   ORDER BY b.name  
          """
      }
    }
    /sites/fid.ua/api/Brands.php:70 {
      FID\Brands->get_brands($filter = []) …
      › 
      › $this->db->query($query);\r\r
      arguments: {
        """
          SELECT DISTINCT b.id, b.name, b.url, IF(bu.shop_id > 1, bu.visible,b.visible) as visible, IF(bu.shop_id > 1, bu.image,b.image) as image, b.last_modified,bu.external_id, l.name, l.meta_title, l.meta_keywords, l.meta_description, l.description, l.shop_id\r\n
          \t\t\t\t\t\t\t\t \t\tFROM t_brands b LEFT JOIN t_lang_brands l ON l.brand_id=b.id AND l.lang_id = 1 and l.shop_id =3 LEFT JOIN t_brands_users bu ON bu.brand_id=b.id WHERE bu.shop_id =3   ORDER BY b.name  
          """
      }
    }
    /sites/fid.ua/view/View.php:458 {
      FID\View\View->get_brands_plugin($params, $smarty) …
      › \tif(!empty($params['var']))\r\t\t$smarty->assign($params['var'], $this->brands->get_brands($params));\r}\r
      arguments: {
        $filter: array:1 [ …1]
      }
    }
    /sites/fid.ua/compiled/simple/fc9c16526a92814d8734b2637103ecce70686eb6_0.file.sidebar.tpl.php:498 {
      content_667c5c61d4ccc9_13164388(Smarty_Internal_Template $_smarty_tpl) …
      › <?php } else {echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['get_brands'][0], array( array('var'=>'all_brands_sidebar'),$_smarty_tpl ) );?>arguments: {
        $params: array:1 [ …1]
        $smarty: Smarty_Internal_Template {#737 …}
      }
    }
    /sites/fid.ua/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123 {
      Smarty_Template_Resource_Base->getRenderedTemplateCode(Smarty_Internal_Template $_template, $unifunc = null) …
      › }$unifunc($_template);foreach ($_template->endRenderCallbacks as $callback) {
      arguments: {
        $_smarty_tpl: Smarty_Internal_Template {#329 …}
      }
    }
    /sites/fid.ua/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114 {
      Smarty_Template_Compiled->render(Smarty_Internal_Template $_template) …
      › } else {    $this->getRenderedTemplateCode($_template);}
      arguments: {
        $_template: Smarty_Internal_Template {#329 …}
      }
    }
    /sites/fid.ua/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:217 {
      Smarty_Internal_Template->render($no_output_filter = true, $display = null) …
      ›     }    $this->compiled->render($this);}
      arguments: {
        $_template: Smarty_Internal_Template {#329 …}
      }
    }
    /sites/fid.ua/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:386 {
      Smarty_Internal_Template->_subTemplateRender($template, $cache_id, $compile_id, $caching, $cache_lifetime, $data, $scope, $forceTplCache, $uid = null, $content_func = null) …
      › } else {    $tpl->render();}
    }
    /sites/fid.ua/compiled/simple/b367798670e88b2f83c35925c1134612d22d8cf6_0.file.products.tpl.php:511 {
      content_667c5c6db66302_52355715(Smarty_Internal_Template $_smarty_tpl) …
      › \t\t\t\t<div class="in-left">\t\t\t<?php $_smarty_tpl->_subTemplateRender("file:sidebar.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, false);?>
      arguments: {
        $template: "file:sidebar.tpl"
        $cache_id: null
        $compile_id: null
        $caching: 0
        $cache_lifetime: "1"
        $data: []
        $scope: 0
        $forceTplCache: false
      }
    }
    /sites/fid.ua/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php:123 {
      Smarty_Template_Resource_Base->getRenderedTemplateCode(Smarty_Internal_Template $_template, $unifunc = null) …
      › }$unifunc($_template);foreach ($_template->endRenderCallbacks as $callback) {
      arguments: {
        $_smarty_tpl: Smarty_Internal_Template {#329 …}
      }
    }
    /sites/fid.ua/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php:114 {
      Smarty_Template_Compiled->render(Smarty_Internal_Template $_template) …
      › } else {    $this->getRenderedTemplateCode($_template);}
      arguments: {
        $_template: Smarty_Internal_Template {#329 …}
      }
    }
    /sites/fid.ua/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php:217 {
      Smarty_Internal_Template->render($no_output_filter = true, $display = null) …
      ›     }    $this->compiled->render($this);}
      arguments: {
        $_template: Smarty_Internal_Template {#329 …}
      }
    }
    /sites/fid.ua/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:238 {
      Smarty_Internal_TemplateBase->_execute($template, $cache_id, $compile_id, $parent, $function) …
      › }$result = $template->render(false, $function);$template->_cleanUp();
      arguments: {
        $no_output_filter: false
        $display: 0
      }
    }
    /sites/fid.ua/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php:116 {
      Smarty_Internal_TemplateBase->fetch($template = null, $cache_id = null, $compile_id = null, $parent = null) …
      › {    $result = $this->_execute($template, $cache_id, $compile_id, $parent, 0);    return $result === null ? ob_get_clean() : $result;
      arguments: {
        $template: Smarty_Internal_Template {#329 …}
        $cache_id: null
        $compile_id: null
        $parent: null
        $function: 0
      }
    }
    /sites/fid.ua/api/Design.php:84 {
      FID\Design->fetch($template) …
      › \t$this->assign('settings',\t$this->settings);\r\treturn $this->smarty->fetch($template);\r}\r
      arguments: {
        $template: "products.tpl"
      }
    }
    /sites/fid.ua/view/ProductsView.php:664 {
      FID\View\ProductsView->index() …
      › \r\treturn  $this->design->fetch('products.tpl');\r}\r
      arguments: {
        $template: "products.tpl"
      }
    }
    /sites/fid.ua/api/Router.php:140 {
      FID\Router->dispatch(Request $request) …
      ›         $pre_c = new $class($this);\t\tif (!$content = $pre_c->{$method}())\t\t{
    }
    /sites/fid.ua/index.php:382 {\r$response = $view->router->dispatch($request);\rarguments: {
        $request: Symfony\Component\HttpFoundation\Request {#167 …}
      }
    }
  }
}