Failed to render HTML

The error occurred on the page: /rwanda-expats

While trying to render the HTML for "/rwanda-expats" 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": "/rwanda-expats",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDoxNDI3",
    "events": [
      {
        "id": "837aff08-ca47-5d8d-993e-fd4d781b738e",
        "name": "InterNations Kigali November Gathering",
        "startDate": "2025-11-28T19:00:00+0200",
        "endDate": "2025-11-28T22:00:00+0200",
        "url": "https://www.internations.org/event/promotion/details/1060540",
        "image": "https://assets.in-cdn.net/image/{format}/2025/11/23/4e87d335152e08e4a2c113b86d4b14cb98bd8831c03481cb5c2eec9955373d60.jpeg",
        "attendees": 21,
        "nationalityCount": 8,
        "localcommunityName": "Kigali",
        "localcommunityId": 143,
        "countryCode": "rwa",
        "isNewcomerOnly": false,
        "description": "As November winds down, we’re coming together once again for our monthly Kigali Gathering! \n\nThis time, we’ll meet at Mikida’s Garden Kitchen in Nyarutarama: a cozy spot that’s perfect for an easy Friday evening with good company and meaningful conversation.\n\nWhether you’re new to Kigali, new to InterNations, or already part of our familiar circle, you’re warmly invited to join us!\n\nOur gatherings are all about creating a relaxed space where people can connect, unwind, and feel part of our international community.\n\n📅 Friday, 28 November | 7:00 PM\n📍 Mikida’s Garden Kitchen, Kigali\nAddress: 41 KG 9 Ave (near MTN Nyarutarama)\n\nMaps link: https://maps.app.goo.gl/JaiZY3mGzU8sRW5L7\n\n💬 No entry fee – simply pay for what you order.\n\nThere’s no set program\nJust our beloved introductory round to help everyone get to know each other. \nThe rest of the evening is all about good food, good energy, and the easy conversations that make these gatherings special.\n\nLooking forward to spending another great evening together!",
        "location": {
          "name": "Mikida's Garden Kitchen"
        }
      },
      {
        "id": "9cb005c9-f980-56ae-89c1-f481b452fd62",
        "name": "InterNations Kigali October Gathering @ Cap99",
        "startDate": "2025-10-24T19:00:00+0200",
        "endDate": "2025-10-24T22:00:00+0200",
        "url": "https://www.internations.org/event/promotion/details/1060038",
        "image": "https://assets.in-cdn.net/image/{format}/2025/10/21/5a0b5d738e5fa29ba68a2e8b0b7249bbe184975d7088eab5d4808b90cf063f75.png",
        "attendees": 18,
        "nationalityCount": 7,
        "localcommunityName": "Kigali",
        "localcommunityId": 143,
        "countryCode": "rwa",
        "isNewcomerOnly": false,
        "description": "October is here! And with it, another chance to unwind, connect, and enjoy an evening with our international community. This month, we’re meeting at Cap99 in Gishushu.\n\nWhether you’re new to town, new to InterNations, or already part of the circle, come join us for a friendly night out! As always there is no agenda (apart from introducing each other ;-). Just people, laughter, and the city’s best atmosphere.\n\nAs always...\n\n📅 Last Friday of the Month: 24th of October\n7 pm / 19:00\n\n📍 CAP99, Kigali (KG 599 - Gishushu - close to intersection of RDB)\nhttps://maps.app.goo.gl/YCwRiMNRdrYf6aJn7\n\n💬 No entry fee - just pay for what you order\n\nLooking forward to another great evening together!",
        "location": {
          "name": "CAP99"
        }
      },
      {
        "id": "d561843b-ff52-5286-b5f0-6ecfaba42091",
        "name": "InterNations Kigali 18th Anniversary Celebration at Gate10",
        "startDate": "2025-09-18T19:00:00+0200",
        "endDate": "2025-09-18T22:00:00+0200",
        "url": "https://www.internations.org/event/promotion/details/1059313",
        "image": "https://assets.in-cdn.net/image/{format}/2025/09/08/71be0efd0d661406bf33a8c6e30e3387482f944605eb02f7c856805540b6a18e.png",
        "attendees": 34,
        "nationalityCount": 13,
        "localcommunityName": "Kigali",
        "localcommunityId": 143,
        "countryCode": "rwa",
        "isNewcomerOnly": false,
        "description": "InterNations is turning 18, and we’re marking the occasion right here in Kigali! 🎉\n\nJoin us for a special evening at \"Gate10\" in Kimihurura, a cozy spot that’s perfect for connecting, celebrating, and raising a glass together.\n\nWe'll bring together familiar faces and new friends to honor 18 years of international connections and shared stories.\n\n📅 Date: THURSDAY September 18th\n📍 Venue: Gate10, Kimihurura\n💬 No entry fee—just cover what you order\n\nCome celebrate with us and be part of this milestone in true InterNations spirit!",
        "location": {
          "name": "Gate 10 / Gate Ten Café Resto"
        }
      },
      {
        "id": "41dc64a5-16e3-530b-a43a-7dfc69ff7c3d",
        "name": "InterNations Kigali Awesome August Community Gathering",
        "startDate": "2025-08-29T19:00:00+0200",
        "endDate": "2025-08-29T22:00:00+0200",
        "url": "https://www.internations.org/event/promotion/details/1059122",
        "image": "https://assets.in-cdn.net/image/{format}/2025/08/22/e76f4c3f5375e8f92781ae00cae446980d5114bfc2091fd2d026e8f79d79e729.jpeg",
        "attendees": 29,
        "nationalityCount": 13,
        "localcommunityName": "Kigali",
        "localcommunityId": 143,
        "countryCode": "rwa",
        "isNewcomerOnly": false,
        "description": "This August, we’re meeting at the cozy and vibrant Murugo Rwanda Hostel & Bar — a spot that’s all about great atmosphere and easy connection. \nExpect a relaxed evening with familiar faces, new introductions, and plenty of conversation over food and drinks.\n\n📅 As always, last Friday of the month: August 29th\n📍 Murugo Rwanda Hostel & Bar (Kacyiru), KG 571 st./KG 548 st\n💬 No entry fee—just cover what you order\n\nCome join us for an evening that’s all about community, laughter, and making Awesome August live up to its name!\n",
        "location": {
          "name": "Murugo Rwanda Hostel"
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 143,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/23/2157e150b9d92407830ce5074861e05c227406e2d29d357dbdb2b7afa0833088.jpeg",
        "title": "Kigali Community Group",
        "url": "https://www.internations.org/activity-group/41134/activities",
        "memberCount": 6279,
        "nationalityCount": 148,
        "type": "general_group"
      }
    ],
    "guideLinks": [
      {
        "name": "Rwanda",
        "slug": "rwanda",
        "guides": [
          {
            "title": "Moving to Rwanda",
            "url": "https://www.internations.org/rwanda-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Rwanda",
            "url": "https://www.internations.org/rwanda-expats/guide/living-short"
          },
          {
            "title": "Working in Rwanda",
            "url": "https://www.internations.org/rwanda-expats/guide/working-short"
          },
          {
            "title": "Moving to Kigali",
            "url": "https://www.internations.org/kigali-expats/guide/moving-to-short"
          }
        ],
        "location_type": "country"
      }
    ]
  }
}