While trying to render the HTML for "/zambia-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": "/zambia-expats",
"slicesMap": {},
"pageContext": {
"wpCorePageId": "cG9zdDoxODEy",
"events": [
{
"id": "c2db8128-e596-583b-8054-ff79a49c9d23",
"name": " Bowling & Chill LSK",
"startDate": "2026-03-14T10:00:00+0200",
"endDate": "2026-03-14T13:00:00+0200",
"url": "https://www.internations.org/activity-group/41164/activity/653820",
"image": "https://assets.in-cdn.net/image/{format}/2026/01/08/1c4ca7fd669915a1b6219644328e35d7b3e766e3c1e1fc58d43c7bcdf0587e94.jpeg",
"attendees": 3,
"nationalityCount": 2,
"localcommunityName": "Lusaka",
"localcommunityId": 156,
"countryCode": "zam",
"isNewcomerOnly": false,
"description": "📅 Date: Sat 14 March\n⏰ Time: 10:00–13:00\n📍 Venue: GameZone – EastPark Mall\n\nDescription:\nStart the year with strikes, spares, and plenty of laughs! Come bowl, mingle, and enjoy a casual morning with fellow InterNations members.\n\n•Each game is ZMW 150 — carry enough cash for a few rounds to fully enjoy yourself.\n•Games are completely optional, but guaranteed fun!\n•Drinks and snacks available for purchase at the venue.\n•Feel free to invite a friend.\n\nRSVP: Please inbox me to secure your spot.",
"location": {
"name": ""
}
}
],
"groups": [
{
"localcommunityId": 156,
"moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/25/4ff3c0622a9e547faf3522b856d3c292cb4309faa0db8cdc4a588d3c672dca3d.jpeg",
"title": "Lusaka Community Group",
"url": "https://www.internations.org/activity-group/41164/activities",
"memberCount": 7354,
"nationalityCount": 150,
"type": "general_group"
}
],
"guideLinks": [
{
"name": "Zambia",
"slug": "zambia",
"guides": [
{
"title": "Moving to Zambia",
"url": "https://www.internations.org/zambia-expats/guide/moving-to-short"
},
{
"title": "Living in Zambia",
"url": "https://www.internations.org/zambia-expats/guide/living-short"
},
{
"title": "Working in Zambia",
"url": "https://www.internations.org/zambia-expats/guide/working-short"
},
{
"title": "Moving to Lusaka",
"url": "https://www.internations.org/lusaka-expats/guide/moving-to-short"
}
],
"location_type": "country"
}
]
}
}