Failed to render HTML

The error occurred on the page: /cairo-expats/chinese

While trying to render the HTML for "/cairo-expats/chinese" 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": "/cairo-expats/chinese",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDo5NzQ2",
    "events": [
      {
        "id": "3488a872-394a-559a-bf98-3a20c489bb45",
        "name": "Moonlit Iftar",
        "startDate": "2026-02-26T16:00:00+0200",
        "endDate": "2026-02-26T20:00:00+0200",
        "url": "https://www.internations.org/activity-group/41663/activity/658298",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/22/250265924084cf6eb71d137eab66361e0cf5c7fcdbf0fa1a0eec4f64aec60d89.jpeg",
        "attendees": 1,
        "nationalityCount": 1,
        "localcommunityName": "Cairo",
        "localcommunityId": 121,
        "countryCode": "egy",
        "isNewcomerOnly": false,
        "description": "Letโ€™s enjoy Ramadan in a unique, cozy way โœจ\nThis Thursday, 26th of February, weโ€™re heading to Wadi Degla Protectorate for a special potluck gathering surrounded by nature.\n\n๐Ÿ•“ Meeting time: 4:00 PM\n๐Ÿ“ Meeting point: At the gate\nhttps://maps.app.goo.gl/SWXgvNMUWrJ3VS1H9?g_st=ic\n\n๐ŸŽŸ Tickets:\n* Egyptians: 50 EGP\n* Foreigners: 100 EGP\n* Car parking: 20 EGP\n\nThe plan is simple and beautiful:\n๐Ÿ”ฅ Barbecuing together (if you have BBQ gear, please bring it along!)\n๐Ÿฅ— Sharing a delicious potluck meal\n๐Ÿšถโ€โ™€๏ธ A light hike to enjoy the peaceful ambience\n๐ŸŽถ Good music, good company, and calm Ramadan vibes\n\nWhat to bring:\n* A picnic blanket or anything comfy to sit on\n* Your favorite food to share\n* Your favorite music\n* And, of course, your lovely energy ๐ŸŒฟ\n\nWeโ€™ll create a small WhatsApp group for those joining to share suggestions, coordinate logistics, and divide simple tasks.\n\nLooking forward to a relaxed evening, meaningful conversations, and a shared table under the open sky ๐ŸŒ™๐Ÿค\nI'll create a group for the attendees so please share your WhatsApp number if you'd like to join",
        "location": {
          "name": ""
        }
      },
      {
        "id": "64000c03-558c-51c0-8cb1-636a8db289e6",
        "name": "InterNations Cairo Ramadan Official Event",
        "startDate": "2026-02-27T21:00:00+0200",
        "endDate": "2026-02-28T00:00:00+0200",
        "url": "https://www.internations.org/event/promotion/details/1061585",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/23/3a804f7519e28d4acc40d3edbb59ac6e34877a9aa376af7658e43474d18fc205.jpeg",
        "attendees": 5,
        "nationalityCount": 5,
        "localcommunityName": "Cairo",
        "localcommunityId": 121,
        "countryCode": "egy",
        "isNewcomerOnly": false,
        "description": "Let's get together on this special evening for sohour to enjoy the special vibes of this holy month.\n\nDress code: Smart casual\n\nYou may check out the menu here:\nhttps://www.facebook.com/share/r/16v9NnCzXr/\n\n\n** No walk-ins will be allowed Only those who confirm with payment by Thursday 26th will be able to join.",
        "location": {
          "name": "Telal"
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 121,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2025/05/07/2b7ae5b312fdb43ca5621b4f30c8fa4e360c309249401e0a3217941ae8252479.jpeg",
        "title": "Cairo Community Group",
        "url": "https://www.internations.org/activity-group/41663/activities",
        "memberCount": 37342,
        "nationalityCount": 178,
        "type": "general_group"
      }
    ],
    "guideLinks": [
      {
        "name": "Cairo",
        "slug": "cairo",
        "guides": [
          {
            "title": "Moving to Cairo",
            "url": "https://www.internations.org/cairo-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Cairo",
            "url": "https://www.internations.org/cairo-expats/guide/living-short"
          },
          {
            "title": "Working in Cairo",
            "url": "https://www.internations.org/cairo-expats/guide/working-short"
          },
          {
            "title": "Moving to Egypt",
            "url": "https://www.internations.org/egypt-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Egypt",
            "url": "https://www.internations.org/egypt-expats/guide/living-short"
          },
          {
            "title": "Working in Egypt",
            "url": "https://www.internations.org/egypt-expats/guide/working-short"
          }
        ],
        "location_type": "city"
      }
    ]
  }
}