array(11) {
  [0]=>
  array(6) {
    ["file"]=>
    string(78) "/var/www/vhosts/mucci.nl/httpdocs/webshop/services/service.DatabaseService.php"
    ["line"]=>
    int(45)
    ["function"]=>
    string(14) "_InternalQuery"
    ["class"]=>
    string(15) "DatabaseService"
    ["type"]=>
    string(2) "::"
    ["args"]=>
    array(1) {
      [0]=>
      string(57) "SELECT naam as sjabloonnaam FROM cfg_Template WHERE id = "
    }
  }
  [1]=>
  array(6) {
    ["file"]=>
    string(70) "/var/www/vhosts/mucci.nl/httpdocs/webshop/services/service.Content.php"
    ["line"]=>
    int(29)
    ["function"]=>
    string(5) "Query"
    ["class"]=>
    string(15) "DatabaseService"
    ["type"]=>
    string(2) "::"
    ["args"]=>
    array(1) {
      [0]=>
      string(57) "SELECT naam as sjabloonnaam FROM cfg_Template WHERE id = "
    }
  }
  [2]=>
  array(6) {
    ["file"]=>
    string(66) "/var/www/vhosts/mucci.nl/httpdocs/webshop/classes/class.Header.php"
    ["line"]=>
    int(24)
    ["function"]=>
    string(8) "sjabloon"
    ["class"]=>
    string(7) "Content"
    ["type"]=>
    string(2) "::"
    ["args"]=>
    array(1) {
      [0]=>
      string(0) ""
    }
  }
  [3]=>
  array(6) {
    ["file"]=>
    string(64) "/var/www/vhosts/mucci.nl/httpdocs/webshop/classes/class.Home.php"
    ["line"]=>
    int(9)
    ["function"]=>
    string(19) "MaakOverzichtHeader"
    ["class"]=>
    string(6) "Header"
    ["type"]=>
    string(2) "::"
    ["args"]=>
    array(0) {
    }
  }
  [4]=>
  array(6) {
    ["file"]=>
    string(69) "/var/www/vhosts/mucci.nl/httpdocs/webshop/templates/template.Home.php"
    ["line"]=>
    int(1)
    ["function"]=>
    string(17) "MaakOverzichtHome"
    ["class"]=>
    string(4) "Home"
    ["type"]=>
    string(2) "::"
    ["args"]=>
    array(0) {
    }
  }
  [5]=>
  array(4) {
    ["file"]=>
    string(78) "/var/www/vhosts/mucci.nl/httpdocs/webshop/services/service.TemplateBuilder.php"
    ["line"]=>
    int(439)
    ["args"]=>
    array(1) {
      [0]=>
      string(69) "/var/www/vhosts/mucci.nl/httpdocs/webshop/templates/template.Home.php"
    }
    ["function"]=>
    string(7) "require"
  }
  [6]=>
  array(7) {
    ["file"]=>
    string(78) "/var/www/vhosts/mucci.nl/httpdocs/webshop/services/service.TemplateBuilder.php"
    ["line"]=>
    int(47)
    ["function"]=>
    string(13) "_KiesTemplate"
    ["class"]=>
    string(15) "TemplateBuilder"
    ["object"]=>
    object(TemplateBuilder)#6 (1) {
      ["_TemplateNaamSanitized"]=>
      string(0) ""
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      string(0) ""
    }
  }
  [7]=>
  array(7) {
    ["file"]=>
    string(78) "/var/www/vhosts/mucci.nl/httpdocs/webshop/services/service.TemplateBuilder.php"
    ["line"]=>
    int(30)
    ["function"]=>
    string(9) "_MakePage"
    ["class"]=>
    string(15) "TemplateBuilder"
    ["object"]=>
    object(TemplateBuilder)#6 (1) {
      ["_TemplateNaamSanitized"]=>
      string(0) ""
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(0) {
    }
  }
  [8]=>
  array(7) {
    ["file"]=>
    string(73) "/var/www/vhosts/mucci.nl/httpdocs/webshop/classes/class.BuildTemplate.php"
    ["line"]=>
    int(15)
    ["function"]=>
    string(11) "__construct"
    ["class"]=>
    string(15) "TemplateBuilder"
    ["object"]=>
    object(TemplateBuilder)#6 (1) {
      ["_TemplateNaamSanitized"]=>
      string(0) ""
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      string(0) ""
    }
  }
  [9]=>
  array(7) {
    ["file"]=>
    string(73) "/var/www/vhosts/mucci.nl/httpdocs/webshop/classes/class.BuildTemplate.php"
    ["line"]=>
    int(11)
    ["function"]=>
    string(13) "_ToonTemplate"
    ["class"]=>
    string(13) "BuildTemplate"
    ["object"]=>
    object(BuildTemplate)#5 (1) {
      ["_TemplateNaam"]=>
      NULL
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      string(0) ""
    }
  }
  [10]=>
  array(7) {
    ["file"]=>
    string(51) "/var/www/vhosts/mucci.nl/httpdocs/webshop/index.php"
    ["line"]=>
    int(31)
    ["function"]=>
    string(11) "__construct"
    ["class"]=>
    string(13) "BuildTemplate"
    ["object"]=>
    object(BuildTemplate)#5 (1) {
      ["_TemplateNaam"]=>
      NULL
    }
    ["type"]=>
    string(2) "->"
    ["args"]=>
    array(1) {
      [0]=>
      NULL
    }
  }
}

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 1 SQL Query: SELECT naam as sjabloonnaam FROM cfg_Template WHERE id =