object(ErrorException)#63 (8) {
  ["message":protected]=>
  string(217) "Argument 3 passed to Kohana_Database_Exception::__construct() must be of the type array, integer given, called in /var/www/vhosts/keyprime.pt/webroot/modules/database/classes/database/mysqli.php on line 61 and defined"
  ["string":"Exception":private]=>
  string(0) ""
  ["code":protected]=>
  int(4096)
  ["file":protected]=>
  string(90) "/var/www/vhosts/keyprime.pt/webroot/modules/database/classes/kohana/database/exception.php"
  ["line":protected]=>
  int(27)
  ["trace":"Exception":private]=>
  array(17) {
    [0]=>
    array(6) {
      ["file"]=>
      string(90) "/var/www/vhosts/keyprime.pt/webroot/modules/database/classes/kohana/database/exception.php"
      ["line"]=>
      int(27)
      ["function"]=>
      string(13) "error_handler"
      ["class"]=>
      string(11) "Kohana_Core"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(5) {
        [0]=>
        int(4096)
        [1]=>
        string(217) "Argument 3 passed to Kohana_Database_Exception::__construct() must be of the type array, integer given, called in /var/www/vhosts/keyprime.pt/webroot/modules/database/classes/database/mysqli.php on line 61 and defined"
        [2]=>
        string(90) "/var/www/vhosts/keyprime.pt/webroot/modules/database/classes/kohana/database/exception.php"
        [3]=>
        int(27)
        [4]=>
        array(2) {
          ["db_code"]=>
          string(6) ":error"
          ["message"]=>
          array(1) {
            [":error"]=>
            string(52) "mysqli_connect(): (08004/1040): Too many connections"
          }
        }
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(80) "/var/www/vhosts/keyprime.pt/webroot/modules/database/classes/database/mysqli.php"
      ["line"]=>
      int(61)
      ["function"]=>
      string(11) "__construct"
      ["class"]=>
      string(25) "Kohana_Database_Exception"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(3) {
        [0]=>
        string(6) ":error"
        [1]=>
        array(1) {
          [":error"]=>
          string(52) "mysqli_connect(): (08004/1040): Too many connections"
        }
        [2]=>
        int(2)
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(80) "/var/www/vhosts/keyprime.pt/webroot/modules/database/classes/database/mysqli.php"
      ["line"]=>
      int(157)
      ["function"]=>
      string(7) "connect"
      ["class"]=>
      string(15) "Database_MySQLi"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(80) "/var/www/vhosts/keyprime.pt/webroot/modules/database/classes/database/mysqli.php"
      ["line"]=>
      int(338)
      ["function"]=>
      string(5) "query"
      ["class"]=>
      string(15) "Database_MySQLi"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(3) {
        [0]=>
        int(1)
        [1]=>
        string(37) "SHOW FULL COLUMNS FROM `storedomains`"
        [2]=>
        bool(false)
      }
    }
    [4]=>
    array(6) {
      ["file"]=>
      string(70) "/var/www/vhosts/keyprime.pt/webroot/modules/orm/classes/kohana/orm.php"
      ["line"]=>
      int(1552)
      ["function"]=>
      string(12) "list_columns"
      ["class"]=>
      string(15) "Database_MySQLi"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        string(12) "storedomains"
      }
    }
    [5]=>
    array(6) {
      ["file"]=>
      string(70) "/var/www/vhosts/keyprime.pt/webroot/modules/orm/classes/kohana/orm.php"
      ["line"]=>
      int(439)
      ["function"]=>
      string(12) "list_columns"
      ["class"]=>
      string(10) "Kohana_ORM"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        bool(true)
      }
    }
    [6]=>
    array(6) {
      ["file"]=>
      string(70) "/var/www/vhosts/keyprime.pt/webroot/modules/orm/classes/kohana/orm.php"
      ["line"]=>
      int(386)
      ["function"]=>
      string(14) "reload_columns"
      ["class"]=>
      string(10) "Kohana_ORM"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [7]=>
    array(6) {
      ["file"]=>
      string(70) "/var/www/vhosts/keyprime.pt/webroot/modules/orm/classes/kohana/orm.php"
      ["line"]=>
      int(300)
      ["function"]=>
      string(11) "_initialize"
      ["class"]=>
      string(10) "Kohana_ORM"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [8]=>
    array(6) {
      ["file"]=>
      string(77) "/var/www/vhosts/keyprime.pt/webroot/application/classes/model/storedomain.php"
      ["line"]=>
      int(6)
      ["function"]=>
      string(11) "__construct"
      ["class"]=>
      string(10) "Kohana_ORM"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        NULL
      }
    }
    [9]=>
    array(6) {
      ["file"]=>
      string(70) "/var/www/vhosts/keyprime.pt/webroot/modules/orm/classes/kohana/orm.php"
      ["line"]=>
      int(109)
      ["function"]=>
      string(11) "__construct"
      ["class"]=>
      string(17) "Model_Storedomain"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        NULL
      }
    }
    [10]=>
    array(6) {
      ["file"]=>
      string(75) "/var/www/vhosts/keyprime.pt/webroot/application/classes/controller/main.php"
      ["line"]=>
      int(941)
      ["function"]=>
      string(7) "factory"
      ["class"]=>
      string(10) "Kohana_ORM"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(1) {
        [0]=>
        string(11) "storeDomain"
      }
    }
    [11]=>
    array(6) {
      ["file"]=>
      string(75) "/var/www/vhosts/keyprime.pt/webroot/application/classes/controller/main.php"
      ["line"]=>
      int(20)
      ["function"]=>
      string(6) "_store"
      ["class"]=>
      string(15) "Controller_Main"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [12]=>
    array(6) {
      ["file"]=>
      string(76) "/var/www/vhosts/keyprime.pt/webroot/application/classes/controller/store.php"
      ["line"]=>
      int(8)
      ["function"]=>
      string(5) "_init"
      ["class"]=>
      string(15) "Controller_Main"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [13]=>
    array(4) {
      ["function"]=>
      string(6) "before"
      ["class"]=>
      string(16) "Controller_Store"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [14]=>
    array(6) {
      ["file"]=>
      string(85) "/var/www/vhosts/keyprime.pt/webroot/system/classes/kohana/request/client/internal.php"
      ["line"]=>
      int(110)
      ["function"]=>
      string(6) "invoke"
      ["class"]=>
      string(16) "ReflectionMethod"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        object(Controller_Store)#53 (3) {
          ["request"]=>
          object(Request)#47 (18) {
            ["_requested_with":protected]=>
            NULL
            ["_method":protected]=>
            string(3) "GET"
            ["_protocol":protected]=>
            string(4) "HTTP"
            ["_referrer":protected]=>
            NULL
            ["_route":protected]=>
            object(Route)#46 (6) {
              ["_callback":protected]=>
              NULL
              ["_uri":protected]=>
              string(69) "((/(/(/(/(/))))))"
              ["_host":protected]=>
              NULL
              ["_regex":protected]=>
              array(0) {
              }
              ["_defaults":protected]=>
              array(2) {
                ["controller"]=>
                string(5) "intro"
                ["action"]=>
                string(5) "index"
              }
              ["_route_regex":protected]=>
              string(189) "#^(?:(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++))?)?)?)?)?)?$#uD"
            }
            ["_response":protected]=>
            object(Response)#51 (5) {
              ["_status":protected]=>
              int(200)
              ["_header":protected]=>
              object(Http_Header)#52 (1) {
                ["storage":"ArrayObject":private]=>
                array(0) {
                }
              }
              ["_body":protected]=>
              string(0) ""
              ["_cookies":protected]=>
              array(0) {
              }
              ["_protocol":protected]=>
              string(4) "HTTP"
            }
            ["_header":protected]=>
            object(Http_Header)#48 (1) {
              ["storage":"ArrayObject":private]=>
              array(0) {
              }
            }
            ["_body":protected]=>
            NULL
            ["_directory":protected]=>
            string(0) ""
            ["_controller":protected]=>
            string(5) "store"
            ["_action":protected]=>
            string(8) "category"
            ["_uri":protected]=>
            string(17) "store/category/42"
            ["_external":protected]=>
            bool(false)
            ["_params":protected]=>
            array(3) {
              ["param1"]=>
              string(2) "42"
              ["uri"]=>
              string(17) "store/category/42"
              ["route"]=>
              object(Route)#46 (6) {
                ["_callback":protected]=>
                NULL
                ["_uri":protected]=>
                string(69) "((/(/(/(/(/))))))"
                ["_host":protected]=>
                NULL
                ["_regex":protected]=>
                array(0) {
                }
                ["_defaults":protected]=>
                array(2) {
                  ["controller"]=>
                  string(5) "intro"
                  ["action"]=>
                  string(5) "index"
                }
                ["_route_regex":protected]=>
                string(189) "#^(?:(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++))?)?)?)?)?)?$#uD"
              }
            }
            ["_get":protected]=>
            array(0) {
            }
            ["_post":protected]=>
            array(0) {
            }
            ["_cookies":protected]=>
            array(0) {
            }
            ["_client":protected]=>
            object(Request_Client_Internal)#49 (5) {
              ["_previous_environment":protected]=>
              NULL
              ["_cache":protected]=>
              NULL
              ["_allow_private_cache":protected]=>
              bool(false)
              ["_request_time":protected]=>
              NULL
              ["_response_time":protected]=>
              int(1540097206)
            }
          }
          ["response"]=>
          object(Response)#51 (5) {
            ["_status":protected]=>
            int(200)
            ["_header":protected]=>
            object(Http_Header)#52 (1) {
              ["storage":"ArrayObject":private]=>
              array(0) {
              }
            }
            ["_body":protected]=>
            string(0) ""
            ["_cookies":protected]=>
            array(0) {
            }
            ["_protocol":protected]=>
            string(4) "HTTP"
          }
          ["session"]=>
          object(Session_Native)#56 (5) {
            ["_name":protected]=>
            string(7) "session"
            ["_lifetime":protected]=>
            int(0)
            ["_encrypted":protected]=>
            bool(false)
            ["_data":protected]=>
            &array(0) {
            }
            ["_destroyed":protected]=>
            bool(false)
          }
        }
      }
    }
    [15]=>
    array(6) {
      ["file"]=>
      string(69) "/var/www/vhosts/keyprime.pt/webroot/system/classes/kohana/request.php"
      ["line"]=>
      int(992)
      ["function"]=>
      string(7) "execute"
      ["class"]=>
      string(30) "Kohana_Request_Client_Internal"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        object(Request)#47 (18) {
          ["_requested_with":protected]=>
          NULL
          ["_method":protected]=>
          string(3) "GET"
          ["_protocol":protected]=>
          string(4) "HTTP"
          ["_referrer":protected]=>
          NULL
          ["_route":protected]=>
          object(Route)#46 (6) {
            ["_callback":protected]=>
            NULL
            ["_uri":protected]=>
            string(69) "((/(/(/(/(/))))))"
            ["_host":protected]=>
            NULL
            ["_regex":protected]=>
            array(0) {
            }
            ["_defaults":protected]=>
            array(2) {
              ["controller"]=>
              string(5) "intro"
              ["action"]=>
              string(5) "index"
            }
            ["_route_regex":protected]=>
            string(189) "#^(?:(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++))?)?)?)?)?)?$#uD"
          }
          ["_response":protected]=>
          object(Response)#51 (5) {
            ["_status":protected]=>
            int(200)
            ["_header":protected]=>
            object(Http_Header)#52 (1) {
              ["storage":"ArrayObject":private]=>
              array(0) {
              }
            }
            ["_body":protected]=>
            string(0) ""
            ["_cookies":protected]=>
            array(0) {
            }
            ["_protocol":protected]=>
            string(4) "HTTP"
          }
          ["_header":protected]=>
          object(Http_Header)#48 (1) {
            ["storage":"ArrayObject":private]=>
            array(0) {
            }
          }
          ["_body":protected]=>
          NULL
          ["_directory":protected]=>
          string(0) ""
          ["_controller":protected]=>
          string(5) "store"
          ["_action":protected]=>
          string(8) "category"
          ["_uri":protected]=>
          string(17) "store/category/42"
          ["_external":protected]=>
          bool(false)
          ["_params":protected]=>
          array(3) {
            ["param1"]=>
            string(2) "42"
            ["uri"]=>
            string(17) "store/category/42"
            ["route"]=>
            object(Route)#46 (6) {
              ["_callback":protected]=>
              NULL
              ["_uri":protected]=>
              string(69) "((/(/(/(/(/))))))"
              ["_host":protected]=>
              NULL
              ["_regex":protected]=>
              array(0) {
              }
              ["_defaults":protected]=>
              array(2) {
                ["controller"]=>
                string(5) "intro"
                ["action"]=>
                string(5) "index"
              }
              ["_route_regex":protected]=>
              string(189) "#^(?:(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++)(?:/(?P[^/.,;?\n]++))?)?)?)?)?)?$#uD"
            }
          }
          ["_get":protected]=>
          array(0) {
          }
          ["_post":protected]=>
          array(0) {
          }
          ["_cookies":protected]=>
          array(0) {
          }
          ["_client":protected]=>
          object(Request_Client_Internal)#49 (5) {
            ["_previous_environment":protected]=>
            NULL
            ["_cache":protected]=>
            NULL
            ["_allow_private_cache":protected]=>
            bool(false)
            ["_request_time":protected]=>
            NULL
            ["_response_time":protected]=>
            int(1540097206)
          }
        }
      }
    }
    [16]=>
    array(6) {
      ["file"]=>
      string(45) "/var/www/vhosts/keyprime.pt/webroot/index.php"
      ["line"]=>
      int(126)
      ["function"]=>
      string(7) "execute"
      ["class"]=>
      string(14) "Kohana_Request"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
  }
  ["previous":"Exception":private]=>
  NULL
  ["severity":protected]=>
  int(0)
}