Failed to render HTML

The error occurred on the page: /lesser-antilles-expats/swiss/fr

While trying to render the HTML for "/lesser-antilles-expats/swiss/fr" 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/.cache/page-ssr/routes/webpack:/content-platform/src/components/core/GlobalPartners.tsx:11:5)
    at Fb (/var/lib/jenkins/workspace/in-content-platform_main/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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": "/lesser-antilles-expats/swiss/fr",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDoyNzg5Ng==",
    "events": [
      {
        "id": "9d30af80-50fb-50cd-9b51-dae113da6467",
        "name": "InterNations Lesser Antilles New Year's Eve Beach Party",
        "startDate": "2025-12-31T18:00:00-0400",
        "endDate": "2026-01-01T05:00:00-0400",
        "url": "https://www.internations.org/event/promotion/details/1060758",
        "image": "https://assets.in-cdn.net/image/{format}/2025/12/10/5df6aaf2290c1fe58fb848dba8ffc49e07c18d2146e799c909c2d118a25b6289.jpeg",
        "attendees": 3,
        "nationalityCount": 3,
        "localcommunityName": "Lesser Antilles",
        "localcommunityId": 91,
        "countryCode": "tri",
        "isNewcomerOnly": false,
        "description": "This is the unique party going on 2 years at once, this is it : New Year's eve coing!!! \nAs usuel, fun, excipients and souvenirs that fill memory with Joy ans happiness. \n\n  So les meet at beach of La Datcha in Gosier in Guadeloupe from 6 p.m. to 5 a.m. on the 31st of December 2025. \n\n  No entre fées, Just a smile 😁 🤪",
        "location": {
          "name": "La datcha"
        }
      },
      {
        "id": "f117ed50-b282-5dea-96bc-62d1adfd444d",
        "name": "InterNations Lesser Antilles Community Meeting in Disneyland",
        "startDate": "2025-08-31T18:00:00-0400",
        "endDate": "2025-08-31T19:00:00-0400",
        "url": "https://www.internations.org/event/promotion/details/1058904",
        "image": "https://assets.in-cdn.net/image/{format}/2025/08/10/67a9504876f4327e333acaafe2c093c7ed3e304903323a276b093ca4c31f1d11.jpeg",
        "attendees": 2,
        "nationalityCount": 2,
        "localcommunityName": "Lesser Antilles",
        "localcommunityId": 91,
        "countryCode": "tri",
        "isNewcomerOnly": false,
        "description": "Come and meet your fellow InterNations classmate within fun in a well-known wonderful park. \n\nSee you there then!",
        "location": {
          "name": "Disneyland"
        }
      },
      {
        "id": "7de80a93-a707-5d18-bb26-06c28fc3709e",
        "name": "InterNations August Official Event at Plage Du Bourg",
        "startDate": "2024-08-31T10:00:00-0400",
        "endDate": "2024-08-31T16:00:00-0400",
        "url": "https://www.internations.org/event/promotion/details/1053493",
        "image": "https://assets.in-cdn.net/image/{format}/2024/08/12/2a81394fc4822792118ae42bf04487358b78e80d9f7f6f5f782e661073266e05.jpeg",
        "attendees": 2,
        "nationalityCount": 1,
        "localcommunityName": "Lesser Antilles",
        "localcommunityId": 91,
        "countryCode": "tri",
        "isNewcomerOnly": false,
        "description": "Join us at Plage du Bourg in Sainte-Anne for a fun-filled day! Enjoy Olympic moments on a giant screen that you can watch even while swimming in the sea. Whether you’re relaxing on the beach or splashing in the water, it’s the perfect way to spend your day.\n\nSee you there!",
        "location": {
          "name": "Plage du bourg"
        }
      },
      {
        "id": "c2b1b768-bfa3-53f6-a09c-35a2bf8a9fe3",
        "name": "InterNations Lesser Antilles March: Youth Meeting ",
        "startDate": "2024-03-31T10:00:00-0400",
        "endDate": "2024-03-31T14:00:00-0400",
        "url": "https://www.internations.org/event/promotion/details/1051041",
        "image": "https://assets.in-cdn.net/image/{format}/2024/03/10/b14385aa93cbda59b91f52ecd6fcd0a85c7314ad4dd12b105adcd68a344e2df8.jpeg",
        "attendees": 3,
        "nationalityCount": 2,
        "localcommunityName": "Lesser Antilles",
        "localcommunityId": 91,
        "countryCode": "tri",
        "isNewcomerOnly": false,
        "description": "Come and get to know one another in a very nice space in the Lesser Antilles.  You'll be talking and eating specialties from the island. Nice time together and further more as there will be a little discussion about Caribbean youth opportunities. \n     \nSee you😊",
        "location": {
          "name": "Espace régional du Raizet "
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 91,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/26/4c46fcba57d26e63f0a487149853972e1fe232d681b537c711b0e4323500d7bf.jpeg",
        "title": "Lesser Antilles Community Group",
        "url": "https://www.internations.org/activity-group/41240/activities",
        "memberCount": 1061,
        "nationalityCount": 101,
        "type": "general_group"
      }
    ],
    "guideLinks": []
  }
}