Failed to render HTML

The error occurred on the page: /riga-expats/de

While trying to render the HTML for "/riga-expats/de" an error occurred. In order to make the build succeed you'll need to fix the error in your site. See the stacktrace below to find the culprit. Also be sure to read Debugging HTML Builds if you need more help.

Error

ReferenceError: window is not defined
    at AdUnit (/var/lib/jenkins/workspace/in-content-platform_main@2/.cache/page-ssr/routes/webpack:/content-platform/src/components/core/GlobalPartners.tsx:11:5)
    at Fb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:65:44)
    at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:67:254)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
    at Jb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:76:98)
    at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:68:145)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
    at Jb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:76:98)
    at Kb (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:75:140)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:345)
    at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:68:479)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
    at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:67:482)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)
    at Ib (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:71:68)
    at W (/var/lib/jenkins/workspace/in-content-platform_main@2/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.min.js:73:89)

Extra Details

Below you'll find additional data that might help you debug the error.

Page Data

The page data contains some metadata about the affected page. If data from the GraphQL is undefined, try running the query in the GraphiQL IDE.

{
  "errors": {},
  "path": "/riga-expats/de",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDoyNzc3MA==",
    "events": [
      {
        "id": "8f927988-f3a1-5ba0-b28e-cf9221c27597",
        "name": "InterNations Riga: Rock Your February 🎸 ",
        "startDate": "2026-02-21T19:00:00+0200",
        "endDate": "2026-02-21T23:00:00+0200",
        "url": "https://www.internations.org/event/promotion/details/1061276",
        "image": "https://assets.in-cdn.net/image/{format}/2026/01/28/82d14860eb3a6be8d3d059c85599fe681a90b3e5dc303ca933c4dc5e8b34e9a9.jpeg",
        "attendees": 4,
        "nationalityCount": 4,
        "localcommunityName": "Riga",
        "localcommunityId": 30,
        "countryCode": "lat",
        "isNewcomerOnly": false,
        "description": "Join us at one of Riga’s most iconic music venues, known for its rock spirit, legendary stories, and electric atmosphere. This is where expats, locals, music lovers, and night owls come together to create new stories of their own.\n\n👉 What’s in store\n\n🎶 Rock-inspired ambience — bold interior, music heritage, and unmistakable Rock Café vibe.\n🍔 Rock Café kitchen & bar in full swing — hearty grill dishes, burgers, sharing plates, comfort food classics, vegetarian options, desserts, and a wide cocktail selection \n🍹 Happy Hour from 20:00–22:00 — selected cocktails at half price.\n🗣️ Stories, laughter & new connections — meet new people, reconnect with familiar faces, and enjoy a naturally social atmosphere.\n🎤 Light introductions & ice-breakers — optional, social, and designed to get things moving naturally.\n🏠 Private Rokoko Room (1st floor) — reserved space with a comfortable mix of seating and standing areas.\n\n💃 Afterparty options\nWhen the main event wraps up, keep the night going:\n• 2nd floor- live music, DJ & dancefloor\n• Basement karaoke bar- table booked for InterNations from 22:00\n\nSign up by clicking “attending” (Albatross members only) or by sending message to Ambassadors.\n\nCome alone or bring friends along! \n\n📍 Venue: Rock Café Riga — Rokoko Room (1st floor)\n📅 Date & Time: Saturday, 21 February 2026, 19:00–23:00\n📋 Reserved Area: Ask for InterNations – Rokoko Room (1st floor) \n👗 Dress Code: Smart-casual & sexy with a rock twist (leather, denim, band tees welcome)",
        "location": {
          "name": "Rock Cafe Riga"
        }
      },
      {
        "id": "dabda09f-54c2-584a-a8a3-f0b45ffbe1ab",
        "name": "InterNations Riga: Brooklyn January",
        "startDate": "2026-01-24T19:00:00+0200",
        "endDate": "2026-01-24T23:00:00+0200",
        "url": "https://www.internations.org/event/promotion/details/1061027",
        "image": "https://assets.in-cdn.net/image/{format}/2026/01/10/1f500f491717e7511a6eed149b586ce99ae6a57ecd04c73d12d7e2940293a888.jpeg",
        "attendees": 7,
        "nationalityCount": 7,
        "localcommunityName": "Riga",
        "localcommunityId": 30,
        "countryCode": "lat",
        "isNewcomerOnly": false,
        "description": "Cold January days are a lot easier when you have got good people around 🍻\nJoin InterNations Riga for a relaxed winter meet-up at Brooklyn Pub, where warm conversations, friendly faces, and a welcoming atmosphere make you forget about the weather outside.\n\n🎉 Getting things started\nWe’ll kick off the evening with a fun ice-breaker: Human Bingo (aka “Find Someone Who” Bingo) — an easy, fun way to meet new people and get conversations flowing. \n\n🍽 Food & ordering info\nThere’s an option to preorder main dishes to reduce waiting time. If you preorder, you can choose from the full menu for main dishes. \nIf you decide to order on the spot, a group menu with limited main-dish options will apply (contact Inese for more info & menu)\nGood news: this doesn’t affect snacks, salads, or lighter bites, which can be ordered freely.\n\n🍺🥃 Drinks at Brooklyn Pub\nBrooklyn Pub is especially known for its wide selection of tap beers and over 60 different types of whiskey.\n\n🎊Event details\n📍Venue: Brooklyn Pub & Whiskey room,  Lāčplēša iela 35, Centra rajons, Rīga, LV-1011,\n📅 Date: Saturday, 24 January\n🕕 Time: From 19:00 onwards\n📋 Reserved area: Brooklyn room (ask at the bar)\n🎤 Karaoke: Arranged by ambassadors approx. 21:00 / 22:00\n🍺 Bar open: Until 01:00\n🍔 To preorder food, send message to Inese (full menu will be sent to you upon request). \n\n‼️ Please note that only Albatross members are now able to RSVP to events! \n👉 Basic members can RSVP by sending a message to one of Ambassadors",
        "location": {
          "name": "Brooklyn Pub & Whiskey Room"
        }
      },
      {
        "id": "9aef7e61-2acf-5fd0-a1a0-47bc430a38c0",
        "name": "InterNations Riga : Jingle & Mingle December 🎄",
        "startDate": "2025-12-13T18:00:00+0200",
        "endDate": "2025-12-13T22:00:00+0200",
        "url": "https://www.internations.org/event/promotion/details/1060629",
        "image": "https://assets.in-cdn.net/image/{format}/2025/12/06/5be700bdf811976d5efcc574aac09d8fbff3c3ff8e0cfe602e4c5254c90e2c5e.png",
        "attendees": 24,
        "nationalityCount": 15,
        "localcommunityName": "Riga",
        "localcommunityId": 30,
        "countryCode": "lat",
        "isNewcomerOnly": false,
        "description": "🎅 Ho ho ho! The festive season is officially here! 🎄\n\nJoin InterNations Riga for Jingle & Mingle, our December celebration filled with warm vibes, fun ice-breakers, great company, and delicious Chinese cuisine — this time at “Lielais Ķīnas Mūris” (The Great Wall of China)!\n\n👉 What’s happening\n\n🎁 Lucky Gift Exchange – bring a wrapped gift worth ~€10 for our surprise draw. It’s random, entertaining, and always brings good laughs!\n\n🧑‍🎄 Christmas Dress Code – Mandatory\nWear red, green, or white (at minimum). Ugly sweaters, Santa hats, glitter, reindeer antlers — go festive!\n\n🎉 Introductions & Ice-Breakers – light, fun activities to get everyone talking and smiling.\n\n🎶🎄 Christmas music for true festive feeling- dancing allowed. \n\n🍜 Eat, drink & connect – our private basement space includes two rooms. In the first room, we’ll have two round tables (10 seats each) for those who want to sit and enjoy dinner; the second room offers space to mingle and move around.\n\n📍 Venue: Lielais Ķīnas Mūris (“The Great Wall of China”), Baznīcas iela 31, Centra rajons, Rīga\n📅 Date & Time: Saturday, 13th December, 18:00–22:00\n📋 Reserved Area: Entire basement with two rooms\n👗 Dress Code: All about Christmas (mandatory)\n\n✨ After-party option: Those who wish can continue the night at St. Black or wherever the evening takes us.\n\n‼️ Please send a private message to Inese Elizabete Celma to confirm your attendance, either here on InterNations or Whatsapp: +3727894689 \n",
        "location": {
          "name": "Lielas Ķīnas mūris (The Great Wall of China)"
        }
      },
      {
        "id": "cdebc989-ff21-54c4-8f71-f57cbd476820",
        "name": "InterNations Riga - Noche November",
        "startDate": "2025-11-22T19:00:00+0200",
        "endDate": "2025-11-22T23:00:00+0200",
        "url": "https://www.internations.org/event/promotion/details/1060133",
        "image": "https://assets.in-cdn.net/image/{format}/2025/11/01/478307b3dc0bcf4c6c271c856b0c22c9c51f3d22b9fdd97f1cbe76250e4549a4.jpeg",
        "attendees": 22,
        "nationalityCount": 16,
        "localcommunityName": "Riga",
        "localcommunityId": 30,
        "countryCode": "lat",
        "isNewcomerOnly": false,
        "description": "Get ready to spice up the season as InterNations Riga heads to Mañana for Noche November- Known for its tacos, snacks, drinks, music, good atmosphere & talks, Mañana is the perfect place to warm up your November with great company and lively conversation.\n\n👉 What’s in store\n\n🌮 Flavors to remember – enjoy Mañana’s signature Latin-inspired bites, refreshing drinks, and cozy, colorful vibes made for relaxed socializing.\n\n🎶 Good vibes only – soak in the upbeat music, friendly energy, and welcoming atmosphere that make every InterNations night special.\n\n🍹 Celebrate the moment – meet new people, reconnect with old friends, and toast to the bright side of Riga’s autumn nights.\n\n🏠 Private space just for us – we’ll have our own reserved room with standing tables and a few seated spots, exclusively for InterNations guests - Perfect setup for mingling, chatting, and moving around freely while still having some cozy seatings\n\n‼️ Important\n\t•\tEveryone is encouraged to bring cash for payment \n\t•\tSigning up to Ambassadors is mandatory to attend.\n\n\n📍 Venue: Mañana – Stabu iela 10, Centra rajons, Rīga, LV-1010\n📅 Date & Time: Friday, 22nd November, 19:00\n📋 Reserved Area: Ask for InterNations private room\n👗 Dress Code: Colorful casual – bring warmth, color, and your best Saturday-night mood.\n",
        "location": {
          "name": "Mañana"
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 30,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/26/d718860260745daee6754bc1c891df195d9719f94fbb6f01c209ba01e2a524f2.jpeg",
        "title": "Riga Community Group",
        "url": "https://www.internations.org/activity-group/41220/activities",
        "memberCount": 5427,
        "nationalityCount": 138,
        "type": "general_group"
      }
    ],
    "guideLinks": [
      {
        "name": "Riga",
        "slug": "riga",
        "guides": [
          {
            "title": "Moving to Riga",
            "url": "https://www.internations.org/riga-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Riga",
            "url": "https://www.internations.org/riga-expats/guide/living-short"
          },
          {
            "title": "Working in Riga",
            "url": "https://www.internations.org/riga-expats/guide/working-short"
          },
          {
            "title": "Moving to Latvia",
            "url": "https://www.internations.org/latvia-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Latvia",
            "url": "https://www.internations.org/latvia-expats/guide/living-short"
          },
          {
            "title": "Working in Latvia",
            "url": "https://www.internations.org/latvia-expats/guide/working-short"
          }
        ],
        "location_type": "city"
      }
    ]
  }
}