Failed to render HTML

The error occurred on the page: /tirana-expats

While trying to render the HTML for "/tirana-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": "/tirana-expats",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDoxNzMz",
    "events": [
      {
        "id": "455a342f-8395-5d71-b3fd-1947df8b9770",
        "name": "InterNations Tirana Main Event March. AT Mimis",
        "startDate": "2026-03-12T19:00:00+0100",
        "endDate": "2026-03-12T21:00:00+0100",
        "url": "https://www.internations.org/event/promotion/details/1061508",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/16/cd3db5073b957191b2d40da11cb676758fc40e834e88beaefabf712fe83f2f7e.jpeg",
        "attendees": 5,
        "nationalityCount": 3,
        "localcommunityName": "Tirana",
        "localcommunityId": 1,
        "countryCode": "alb",
        "isNewcomerOnly": false,
        "description": "Hello, Hello\n\nHow are you all\n\nHope everything well\n\nHere we are in a new season changings\n\nAs you know Mimosas are sprung that means is already spring so I couldn't find the best venue that represents spring as well as Mimosa Bar & Cocktail in the most exclusive only walking area close to city centre Tirana best place to hang out for a couple of hours together so something to not miss out \n\nTo the new season of changes of jobs projects and friends family \n\nAs always invite friends and colleagues and share the event with who ever wants to join our community by simply registering so they don't miss our future events \n\nAnd last but not least with alot of love from me ",
        "location": {
          "name": "Mimoza Bar & Cocktail "
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 1,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2024/02/16/85f7744c9db3b582c96c5fdae2296945d39173b4efaf1440a9ffc12fdd1dcfb6.jpeg",
        "title": "Tirana Community Group",
        "url": "https://www.internations.org/activity-group/41365/activities",
        "memberCount": 5680,
        "nationalityCount": 151,
        "type": "general_group"
      }
    ],
    "guideLinks": [
      {
        "name": "Tirana",
        "slug": "tirana",
        "guides": [
          {
            "title": "Moving to Tirana",
            "url": "https://www.internations.org/tirana-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Tirana",
            "url": "https://www.internations.org/tirana-expats/guide/living-short"
          },
          {
            "title": "Working in Tirana",
            "url": "https://www.internations.org/tirana-expats/guide/working-short"
          },
          {
            "title": "Moving to Albania",
            "url": "https://www.internations.org/albania-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Albania",
            "url": "https://www.internations.org/albania-expats/guide/living-short"
          },
          {
            "title": "Working in Albania",
            "url": "https://www.internations.org/albania-expats/guide/working-short"
          }
        ],
        "location_type": "city"
      }
    ]
  }
}