While trying to render the HTML for "/cardiff-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": "/cardiff-expats/chinese",
"slicesMap": {},
"pageContext": {
"wpCorePageId": "cG9zdDo0NjM0",
"events": [
{
"id": "a1c50c8f-d8bd-5632-8add-b715537cfa82",
"name": "The Cardiff InterNations FEBRUARY Official Event",
"startDate": "2026-02-27T18:00:00+0000",
"endDate": "2026-02-27T21:30:00+0000",
"url": "https://www.internations.org/event/promotion/details/1061546",
"image": "https://assets.in-cdn.net/image/{format}/2026/02/19/01e89efa51ec88a7143425caac2642f59ef8dd6a4f9fea47bcf6a77a7579daab.jpeg",
"attendees": 2,
"nationalityCount": 2,
"localcommunityName": "Cardiff",
"localcommunityId": 360,
"countryCode": "gbr",
"isNewcomerOnly": false,
"description": "This is a new event of internations, let's mingle and banter at this amazing pub",
"location": {
"name": "The Cricketiers "
}
}
],
"groups": [
{
"localcommunityId": 360,
"moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/25/93b8b57b6cded47e9f280b49305f3325a211dd654b7a6e5be46ad3908565f2ef.jpeg",
"title": "Cardiff Community Group",
"url": "https://www.internations.org/activity-group/41177/activities",
"memberCount": 7684,
"nationalityCount": 162,
"type": "general_group"
}
],
"guideLinks": [
{
"name": "Cardiff",
"slug": "cardiff",
"guides": [
{
"title": "Moving to Cardiff",
"url": "https://www.internations.org/cardiff-expats/guide/moving-to-short"
},
{
"title": "Living in Cardiff",
"url": "https://www.internations.org/cardiff-expats/guide/living-short"
},
{
"title": "Working in Cardiff",
"url": "https://www.internations.org/cardiff-expats/guide/working-short"
},
{
"title": "Moving to the UK",
"url": "https://www.internations.org/great-britain-expats/guide/moving-to"
},
{
"title": "Relocating to the UK",
"url": "https://www.internations.org/great-britain-expats/guide/relocating"
},
{
"title": "Visas & Work Permits in the UK",
"url": "https://www.internations.org/great-britain-expats/guide/visas-work-permits"
},
{
"title": "Housing in the UK",
"url": "https://www.internations.org/great-britain-expats/guide/housing"
},
{
"title": "Healthcare in the UK",
"url": "https://www.internations.org/great-britain-expats/guide/healthcare"
},
{
"title": "Banks & Taxes in the UK",
"url": "https://www.internations.org/great-britain-expats/guide/banks-taxes"
},
{
"title": "Education in the UK",
"url": "https://www.internations.org/great-britain-expats/guide/education"
},
{
"title": "Working in the UK",
"url": "https://www.internations.org/great-britain-expats/guide/working"
},
{
"title": "Living in the UK",
"url": "https://www.internations.org/great-britain-expats/guide/living"
}
],
"location_type": "city"
}
]
}
}