Failed to render HTML

The error occurred on the page: /cameroon-expats/guide/working-short

While trying to render the HTML for "/cameroon-expats/guide/working-short" 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": "/cameroon-expats/guide/working-short",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDo3NDI5MQ==",
    "events": [
      {
        "id": "721c551b-27a7-5bc8-9dcc-8f6ebb68a2c5",
        "name": "InterNations Yaoundé - Open Mic Afternoon in Douala",
        "startDate": "2026-02-28T16:00:00+0100",
        "endDate": "2026-02-28T17:00:00+0100",
        "url": "https://www.internations.org/event/promotion/details/1061507",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/16/16c0a782e547d74acc104e7a9ec3b5ddc67a96fceffa89bf64aedd7842910b8d.jpeg",
        "attendees": 2,
        "nationalityCount": 1,
        "localcommunityName": "Yaoundé",
        "localcommunityId": 115,
        "countryCode": "cmr",
        "isNewcomerOnly": false,
        "description": "This will be a great opportunity for you to meet your fellow InterNations members in Douala, grab a drink, and get to know each other. \n\nYou will also have the chance to read, sing a song, or perform a piece of your choice (if you want to) at the free open mic session that will be taking place.\n\nThe event will take place at The Forest Creative Loft in Bali, Douala. Join us!\n\nhttps://www.tiktok.com/@tutudiscovery/video/7539097117688630584",
        "location": {
          "name": "The Forest Creative Loft"
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 115,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/23/6408bb922ab715434be55126c2615824604fbd860347c7dd8bad561bda8ffd81.jpeg",
        "title": "Yaoundé Community Group",
        "url": "https://www.internations.org/activity-group/41107/activities",
        "memberCount": 4854,
        "nationalityCount": 135,
        "type": "general_group"
      }
    ],
    "guideLinks": [
      {
        "name": "Cameroon",
        "slug": "cameroon",
        "guides": [
          {
            "title": "Moving to Cameroon",
            "url": "https://www.internations.org/cameroon-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Cameroon",
            "url": "https://www.internations.org/cameroon-expats/guide/living-short"
          },
          {
            "title": "Working in Cameroon",
            "url": "https://www.internations.org/cameroon-expats/guide/working-short"
          },
          {
            "title": "Moving to Yaoundé",
            "url": "https://www.internations.org/yaounde-expats/guide/moving-to-short"
          }
        ],
        "location_type": "country"
      }
    ]
  }
}