object(PDOException)#45 (8) {
  ["message":protected]=>
  string(63) "SQLSTATE[HY000]: General error: 2006 MySQL server has gone away"
  ["string":"Exception":private]=>
  string(0) ""
  ["code":protected]=>
  string(5) "HY000"
  ["file":protected]=>
  string(56) "/var/www/vhosts/joof.nl/staging.joof.nl/lib/database.php"
  ["line":protected]=>
  int(61)
  ["trace":"Exception":private]=>
  array(9) {
    [0]=>
    array(6) {
      ["file"]=>
      string(56) "/var/www/vhosts/joof.nl/staging.joof.nl/lib/database.php"
      ["line"]=>
      int(61)
      ["function"]=>
      string(7) "execute"
      ["class"]=>
      string(12) "PDOStatement"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        array(0) {
        }
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(61) "/var/www/vhosts/joof.nl/staging.joof.nl/lib/databasequery.php"
      ["line"]=>
      int(65)
      ["function"]=>
      string(7) "execute"
      ["class"]=>
      string(8) "database"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(2) {
        [0]=>
        object(databasequery)#43 (8) {
          ["stmt":protected]=>
          NULL
          ["total_num_rows":protected]=>
          NULL
          ["query":protected]=>
          array(2) {
            ["statement"]=>
            string(285) "SELECT  SQL_CALC_FOUND_ROWS  * 
FROM (SELECT v.*
FROM `mod_werk_vacature_compact_202011201435` `v`
INNER JOIN `locations` `l` ON l.plaats <=> v.plaats AND l.regio <=> v.regio
ORDER BY v.id desc) AS sub
ORDER BY IF(url_intern IS NOT NULL, @i1 := @i1 + 1, @i2 := @i2 + 1)
LIMIT 17880, 20"
            ["values"]=>
            array(0) {
            }
          }
          ["select":protected]=>
          array(3) {
            ["from"]=>
            object(databasequery)#14 (8) {
              ["stmt":protected]=>
              NULL
              ["total_num_rows":protected]=>
              NULL
              ["query":protected]=>
              array(2) {
                ["statement"]=>
                string(155) "SELECT v.*
FROM `mod_werk_vacature_compact_202011201435` `v`
INNER JOIN `locations` `l` ON l.plaats <=> v.plaats AND l.regio <=> v.regio
ORDER BY v.id desc"
                ["values"]=>
                array(0) {
                }
              }
              ["select":protected]=>
              array(4) {
                ["from"]=>
                array(2) {
                  ["alias"]=>
                  string(1) "v"
                  ["table"]=>
                  string(38) "mod_werk_vacature_compact_202011201435"
                }
                ["join"]=>
                array(1) {
                  [0]=>
                  array(4) {
                    ["table"]=>
                    string(9) "locations"
                    ["alias"]=>
                    string(1) "l"
                    ["comparator"]=>
                    array(2) {
                      [0]=>
                      string(21) "l.plaats <=> v.plaats"
                      [1]=>
                      string(19) "l.regio <=> v.regio"
                    }
                    ["type"]=>
                    string(5) "INNER"
                  }
                }
                ["order_by"]=>
                array(1) {
                  [0]=>
                  array(2) {
                    [0]=>
                    string(4) "v.id"
                    [1]=>
                    string(4) "desc"
                  }
                }
                ["select"]=>
                array(1) {
                  [0]=>
                  string(3) "v.*"
                }
              }
              ["last_insert_id":protected]=>
              NULL
              ["fetched":protected]=>
              NULL
              ["execution_time":protected]=>
              NULL
              ["callstack":protected]=>
              NULL
            }
            ["order_by"]=>
            array(1) {
              [0]=>
              array(2) {
                [0]=>
                string(58) "IF(url_intern IS NOT NULL, @i1 := @i1 + 1, @i2 := @i2 + 1)"
                [1]=>
                string(3) "ASC"
              }
            }
            ["limit"]=>
            array(2) {
              ["amount"]=>
              int(20)
              ["offset"]=>
              int(17880)
            }
          }
          ["last_insert_id":protected]=>
          NULL
          ["fetched":protected]=>
          NULL
          ["execution_time":protected]=>
          NULL
          ["callstack":protected]=>
          array(7) {
            [0]=>
            array(6) {
              ["file"]=>
              string(61) "/var/www/vhosts/joof.nl/staging.joof.nl/lib/databasequery.php"
              ["line"]=>
              int(543)
              ["function"]=>
              string(7) "execute"
              ["class"]=>
              string(13) "databasequery"
              ["type"]=>
              string(2) "->"
              ["args"]=>
              array(0) {
              }
            }
            [1]=>
            array(6) {
              ["file"]=>
              string(59) "/var/www/vhosts/joof.nl/staging.joof.nl/mod/werk/filter.php"
              ["line"]=>
              int(637)
              ["function"]=>
              string(6) "result"
              ["class"]=>
              string(13) "databasequery"
              ["type"]=>
              string(2) "->"
              ["args"]=>
              array(0) {
              }
            }
            [2]=>
            array(6) {
              ["file"]=>
              string(59) "/var/www/vhosts/joof.nl/staging.joof.nl/mod/werk/filter.php"
              ["line"]=>
              int(181)
              ["function"]=>
              string(22) "get_filtered_vacatures"
              ["class"]=>
              string(15) "mod_werk_filter"
              ["type"]=>
              string(2) "::"
              ["args"]=>
              array(1) {
                [0]=>
                array(6) {
                  ["start_with_extra_extern_vacatures"]=>
                  bool(false)
                  ["search"]=>
                  array(2) {
                    ["locatie"]=>
                    string(9) "Rotterdam"
                    ["afstand"]=>
                    int(2)
                  }
                  ["filter"]=>
                  array(7) {
                    ["dienstverband"]=>
                    NULL
                    ["uren"]=>
                    NULL
                    ["branches"]=>
                    NULL
                    ["functie"]=>
                    NULL
                    ["opleidingsniveau"]=>
                    NULL
                    ["ervaring"]=>
                    NULL
                    ["publicatiedatum"]=>
                    bool(false)
                  }
                  ["page"]=>
                  int(894)
                  ["amount"]=>
                  int(20)
                  ["origin"]=>
                  NULL
                }
              }
            }
            [3]=>
            array(6) {
              ["file"]=>
              string(59) "/var/www/vhosts/joof.nl/staging.joof.nl/mod/werk/filter.php"
              ["line"]=>
              int(63)
              ["function"]=>
              string(4) "init"
              ["class"]=>
              string(15) "mod_werk_filter"
              ["type"]=>
              string(2) "::"
              ["args"]=>
              array(1) {
                [0]=>
                array(5) {
                  ["search"]=>
                  array(2) {
                    ["locatie"]=>
                    string(9) "Rotterdam"
                    ["afstand"]=>
                    int(2)
                  }
                  ["filter"]=>
                  array(7) {
                    ["dienstverband"]=>
                    NULL
                    ["uren"]=>
                    NULL
                    ["branches"]=>
                    NULL
                    ["functie"]=>
                    NULL
                    ["opleidingsniveau"]=>
                    NULL
                    ["ervaring"]=>
                    NULL
                    ["publicatiedatum"]=>
                    bool(false)
                  }
                  ["page"]=>
                  int(894)
                  ["amount"]=>
                  int(20)
                  ["origin"]=>
                  NULL
                }
              }
            }
            [4]=>
            array(6) {
              ["file"]=>
              string(54) "/var/www/vhosts/joof.nl/staging.joof.nl/lib/router.php"
              ["line"]=>
              int(161)
              ["function"]=>
              string(8) "delegate"
              ["class"]=>
              string(15) "mod_werk_filter"
              ["type"]=>
              string(2) "::"
              ["args"]=>
              array(0) {
              }
            }
            [5]=>
            array(6) {
              ["file"]=>
              string(54) "/var/www/vhosts/joof.nl/staging.joof.nl/lib/router.php"
              ["line"]=>
              int(120)
              ["function"]=>
              string(15) "test_delegators"
              ["class"]=>
              string(6) "router"
              ["type"]=>
              string(2) "::"
              ["args"]=>
              array(0) {
              }
            }
            [6]=>
            array(6) {
              ["file"]=>
              string(49) "/var/www/vhosts/joof.nl/staging.joof.nl/index.php"
              ["line"]=>
              int(23)
              ["function"]=>
              string(8) "delegate"
              ["class"]=>
              string(6) "router"
              ["type"]=>
              string(2) "::"
              ["args"]=>
              array(0) {
              }
            }
          }
        }
        [1]=>
        bool(false)
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(61) "/var/www/vhosts/joof.nl/staging.joof.nl/lib/databasequery.php"
      ["line"]=>
      int(543)
      ["function"]=>
      string(7) "execute"
      ["class"]=>
      string(13) "databasequery"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(59) "/var/www/vhosts/joof.nl/staging.joof.nl/mod/werk/filter.php"
      ["line"]=>
      int(637)
      ["function"]=>
      string(6) "result"
      ["class"]=>
      string(13) "databasequery"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [4]=>
    array(6) {
      ["file"]=>
      string(59) "/var/www/vhosts/joof.nl/staging.joof.nl/mod/werk/filter.php"
      ["line"]=>
      int(181)
      ["function"]=>
      string(22) "get_filtered_vacatures"
      ["class"]=>
      string(15) "mod_werk_filter"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(1) {
        [0]=>
        array(6) {
          ["start_with_extra_extern_vacatures"]=>
          bool(false)
          ["search"]=>
          array(2) {
            ["locatie"]=>
            string(9) "Rotterdam"
            ["afstand"]=>
            int(2)
          }
          ["filter"]=>
          array(7) {
            ["dienstverband"]=>
            NULL
            ["uren"]=>
            NULL
            ["branches"]=>
            NULL
            ["functie"]=>
            NULL
            ["opleidingsniveau"]=>
            NULL
            ["ervaring"]=>
            NULL
            ["publicatiedatum"]=>
            bool(false)
          }
          ["page"]=>
          int(894)
          ["amount"]=>
          int(20)
          ["origin"]=>
          NULL
        }
      }
    }
    [5]=>
    array(6) {
      ["file"]=>
      string(59) "/var/www/vhosts/joof.nl/staging.joof.nl/mod/werk/filter.php"
      ["line"]=>
      int(63)
      ["function"]=>
      string(4) "init"
      ["class"]=>
      string(15) "mod_werk_filter"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(1) {
        [0]=>
        array(5) {
          ["search"]=>
          array(2) {
            ["locatie"]=>
            string(9) "Rotterdam"
            ["afstand"]=>
            int(2)
          }
          ["filter"]=>
          array(7) {
            ["dienstverband"]=>
            NULL
            ["uren"]=>
            NULL
            ["branches"]=>
            NULL
            ["functie"]=>
            NULL
            ["opleidingsniveau"]=>
            NULL
            ["ervaring"]=>
            NULL
            ["publicatiedatum"]=>
            bool(false)
          }
          ["page"]=>
          int(894)
          ["amount"]=>
          int(20)
          ["origin"]=>
          NULL
        }
      }
    }
    [6]=>
    array(6) {
      ["file"]=>
      string(54) "/var/www/vhosts/joof.nl/staging.joof.nl/lib/router.php"
      ["line"]=>
      int(161)
      ["function"]=>
      string(8) "delegate"
      ["class"]=>
      string(15) "mod_werk_filter"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(0) {
      }
    }
    [7]=>
    array(6) {
      ["file"]=>
      string(54) "/var/www/vhosts/joof.nl/staging.joof.nl/lib/router.php"
      ["line"]=>
      int(120)
      ["function"]=>
      string(15) "test_delegators"
      ["class"]=>
      string(6) "router"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(0) {
      }
    }
    [8]=>
    array(6) {
      ["file"]=>
      string(49) "/var/www/vhosts/joof.nl/staging.joof.nl/index.php"
      ["line"]=>
      int(23)
      ["function"]=>
      string(8) "delegate"
      ["class"]=>
      string(6) "router"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(0) {
      }
    }
  }
  ["previous":"Exception":private]=>
  NULL
  ["errorInfo"]=>
  array(3) {
    [0]=>
    string(5) "HY000"
    [1]=>
    int(2006)
    [2]=>
    string(26) "MySQL server has gone away"
  }
}