Failed to render HTML

The error occurred on the page: /porto-expats/polish

While trying to render the HTML for "/porto-expats/polish" 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": "/porto-expats/polish",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDo5MDM3",
    "events": [
      {
        "id": "41c17486-ba54-5492-913f-ab374d3edb95",
        "name": "Café E Conversa – Practise Spoken European Portuguese",
        "startDate": "2026-02-25T11:30:00+0000",
        "endDate": "2026-02-25T13:00:00+0000",
        "url": "https://www.internations.org/activity-group/41352/activity/658080",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/20/dedf96af85a104594a84090287e4b725101fc35f6dc7eef5f069697fdd698993.png",
        "attendees": 8,
        "nationalityCount": 6,
        "localcommunityName": "Porto",
        "localcommunityId": 280,
        "countryCode": "por",
        "isNewcomerOnly": false,
        "description": "A relaxed Portuguese-only conversation hour for learners at A1–B1 level who want real speaking practice.\nNot for complete beginners, not for fluent speakers, and not a social or networking meetup — just speaking Portuguese over coffee.\n\nAre you interested in improving your spoken Portuguese? Then why not join us at Café e Conversa? We meet every other Wednesday or Thursday at Starbucks in Peninsular Boutique Center to practise Portuguese over a cup of coffee.\n\nThe conversation class starts at 11:30, so try to arrive at about 11:20.\n\nThe class will last about one and a half hours.\nDuring the first hour we will converse only in Portuguese!\nWe will not cover grammar in details, but afterwards there will be an opportunity to ask questions in English for those who wish.\n\nAll are welcome but Café e Conversa is primarily aimed at those with A1 to B1 knowledge of the language, rather than complete beginners, or those already fluent.\n\nThe purpose is to practise speaking EUROPEAN Portuguese; not to socialize, network, have lunch, or chat in a language other than Portuguese.\nAnd it is not about speaking perfect Portuguese either - it's all about speaking Portuguese at all.\n\nIf you are joining us for the first time, be prepared to introduce yourself to the group in Portuguese.",
        "location": {
          "name": ""
        }
      },
      {
        "id": "5a3eaf1c-6776-5bf9-8987-b2c7cc8ca2db",
        "name": "InterNations Porto Carnival Time! ",
        "startDate": "2026-02-26T19:00:00+0000",
        "endDate": "2026-02-26T22:30:00+0000",
        "url": "https://www.internations.org/event/promotion/details/1061394",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/07/730499fa92f005ef97152689f4b2dc1b5915442896fa1c378808050af944776c.jpeg",
        "attendees": 25,
        "nationalityCount": 15,
        "localcommunityName": "Porto",
        "localcommunityId": 280,
        "countryCode": "por",
        "isNewcomerOnly": false,
        "description": "As a tribute to Rio de Janeiro's Carnival, our February event will be held at an iconic Brazilian bar: Igrejinha, Boteco Brasileiro. In a unique and vibrant atmosphere, we await you to enjoy some great drinks accompanied by unique Brazilian delicacies during Carnival season. We hope to see you all there; if we stay home, we won't have any fun!",
        "location": {
          "name": "Igrejinha boteco"
        }
      },
      {
        "id": "05d997af-71a4-5cad-b5b2-f04d020acc45",
        "name": "Caffeine & Careers: A Women’s Series",
        "startDate": "2026-02-28T15:00:00+0000",
        "endDate": "2026-02-28T17:00:00+0000",
        "url": "https://www.internations.org/activity-group/41352/activity/656889",
        "image": "https://assets.in-cdn.net/image/{format}/2026/02/07/5a362fa273b86358af7ed4b03dc08a8d4653d8354ae84e2c6fe3fbaeb565b873.jpeg",
        "attendees": 8,
        "nationalityCount": 6,
        "localcommunityName": "Porto",
        "localcommunityId": 280,
        "countryCode": "por",
        "isNewcomerOnly": false,
        "description": "A new caffeine collective  for career-minded women in Porto. Come and talk about challenges of working remotely or dealing with employees and clients in a new setting. Or just come and vent over a coffee with engaging women.\n\nPlease note: The venue has a one drink per guest minimum. So have a coffee!",
        "location": {
          "name": ""
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 280,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2024/02/15/53f34abcaeb6d38608a90f696d09a7b180c48d5b07327c1deb2bef9b9a73b885.jpeg",
        "title": "Porto Community Group",
        "url": "https://www.internations.org/activity-group/41352/activities",
        "memberCount": 17016,
        "nationalityCount": 172,
        "type": "general_group"
      }
    ],
    "guideLinks": [
      {
        "name": "Porto",
        "slug": "porto",
        "guides": [
          {
            "title": "Moving to Porto",
            "url": "https://www.internations.org/porto-expats/guide/moving-to-short"
          },
          {
            "title": "Living in Porto",
            "url": "https://www.internations.org/porto-expats/guide/living-short"
          },
          {
            "title": "Working in Porto",
            "url": "https://www.internations.org/porto-expats/guide/working-short"
          },
          {
            "title": "Moving to Portugal",
            "url": "https://www.internations.org/portugal-expats/guide/moving-to"
          },
          {
            "title": "Relocating to Portugal",
            "url": "https://www.internations.org/portugal-expats/guide/relocating"
          },
          {
            "title": "Visas & Work Permits in Portugal",
            "url": "https://www.internations.org/portugal-expats/guide/visas-work-permits"
          },
          {
            "title": "Housing in Portugal",
            "url": "https://www.internations.org/portugal-expats/guide/housing"
          },
          {
            "title": "Healthcare in Portugal",
            "url": "https://www.internations.org/portugal-expats/guide/healthcare"
          },
          {
            "title": "Banks & Taxes in Portugal",
            "url": "https://www.internations.org/portugal-expats/guide/banks-taxes"
          },
          {
            "title": "Education in Portugal",
            "url": "https://www.internations.org/portugal-expats/guide/education"
          },
          {
            "title": "Working in Portugal",
            "url": "https://www.internations.org/portugal-expats/guide/working"
          },
          {
            "title": "Living in Portugal",
            "url": "https://www.internations.org/portugal-expats/guide/living"
          }
        ],
        "location_type": "city"
      }
    ]
  }
}