Failed to render HTML

The error occurred on the page: /jeddah-expats/belgians/fr

While trying to render the HTML for "/jeddah-expats/belgians/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@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": "/jeddah-expats/belgians/fr",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDoyNDU2NQ==",
    "events": [
      {
        "id": "7b63336e-bc7d-5fa9-acba-324fc4885d88",
        "name": "InterNations Jeddah March Official Event",
        "startDate": "2026-03-05T00:30:00+0300",
        "endDate": "2026-03-05T02:30:00+0300",
        "url": "https://www.internations.org/event/promotion/details/1061524",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/18/80cd6f09e3ae113c5fac611285333952421d4bba0623e37f3187e0c3718d81f6.png",
        "attendees": 37,
        "nationalityCount": 17,
        "localcommunityName": "Jeddah",
        "localcommunityId": 175,
        "countryCode": "ksa",
        "isNewcomerOnly": false,
        "description": "Greetings InterNations Jeddah Community Members,\n\nIn the spirit of the blessed month of Ramadan, we are pleased to invite you to a Social & Cultural Networking gathering over a Suhoor buffet.\n\nThis special gathering brings together professionals, community members, and cultural leaders for an evening of meaningful conversations, shared experiences, and community connection in a warm and reflective atmosphere.\n\n✨ What to Expect:\n• Engaging social and cultural dialogue\n• Opportunity to expand your professional network\n• Exchange of ideas and community initiatives\n• Strengthening bonds across diverse backgrounds\n\nLet’s come together to celebrate unity, collaboration, and the true essence of Ramadan — connection and community.\n\nWe look forward to welcoming you for a memorable Suhoor evening. 🌙\n\nPlease note a pre-payment at least 3 days prior event date is mandatory to reserve your seat.",
        "location": {
          "name": "Casa Di Ora Hotel"
        }
      }
    ],
    "groups": [],
    "guideLinks": [
      {
        "name": "Jeddah",
        "slug": "jeddah",
        "guides": [
          {
            "title": "Moving to Jeddah",
            "url": "https://www.internations.org/jeddah-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Jeddah",
            "url": "https://www.internations.org/jeddah-expats/guide/living-short"
          },
          {
            "title": "Working in Jeddah",
            "url": "https://www.internations.org/jeddah-expats/guide/working-short"
          },
          {
            "title": "Moving to Saudi Arabia",
            "url": "https://www.internations.org/saudi-arabia-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Saudi Arabia",
            "url": "https://www.internations.org/saudi-arabia-expats/guide/living-short"
          },
          {
            "title": "Working in Saudi Arabia",
            "url": "https://www.internations.org/saudi-arabia-expats/guide/working-short"
          }
        ],
        "location_type": "city"
      }
    ]
  }
}