While trying to render the HTML for "/south-africa-expats/guide/living-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": "/south-africa-expats/guide/living-short",
"slicesMap": {},
"pageContext": {
"wpCorePageId": "cG9zdDo3NDQ3MQ==",
"events": [
{
"id": "d1c0803f-aaad-55de-a7a6-779a55cdb6d4",
"name": "Slave Lodge: a Chapter of History in the Cape",
"startDate": "2026-03-21T09:00:00+0200",
"endDate": "2026-03-21T10:00:00+0200",
"url": "https://www.internations.org/activity-group/41137/activity/653373",
"image": "https://assets.in-cdn.net/image/{format}/2026/01/03/24bbdbc57af7414e106ab97a10fcfafacb60013c9589a8d546232b27b1fd032e.jpeg",
"attendees": 1,
"nationalityCount": 1,
"localcommunityName": "Cape Town",
"localcommunityId": 149,
"countryCode": "rsa",
"isNewcomerOnly": false,
"description": "The Slave Lodge is one of the oldest buildings in Cape Town. It has answered to many names over the last three centuries, namely the Slave Lodge, Government Offices Building, Old Supreme Court, and South African Cultural History Museum. All these names reflect the long and rich history of the building.\n\nExhibitions on the lower-level of this museum explore the long history of slavery in South Africa addressing issues focused on human rights awareness. ",
"location": {
"name": ""
}
},
{
"id": "4a79bbb8-efe8-5db2-8497-f94cddbdd8b6",
"name": "Castle of Good Hope",
"startDate": "2026-03-21T11:00:00+0200",
"endDate": "2026-03-21T12:30:00+0200",
"url": "https://www.internations.org/activity-group/41137/activity/653375",
"image": "https://assets.in-cdn.net/image/{format}/2026/01/03/9b097e9317f26b5d5007a24f98049a1e1a4eeac102aae89870345d78a226ef75.jpeg",
"attendees": 2,
"nationalityCount": 1,
"localcommunityName": "Cape Town",
"localcommunityId": 149,
"countryCode": "rsa",
"isNewcomerOnly": false,
"description": "(This event follows the Slave Lodge event and it may start 15 minutes later depending on the previous event.)\n\nBuilt between 1666 and 1679 by the Dutch East India Company, the Castle of Good Hope is regarded as the oldest remaining colonial building in South Africa – and stands as a distinct reminder of the country’s complex colonial past. Known locally as “The Castle”, today this 17th century bastion fort is home to a number of historical collections, including the William Fehr Collection managed by Iziko Museums of South Africa.\n\nContained in the collection is a wealth of historical information concerning the peoples and landscapes of early colonial South Africa. It is one of the most important public collections of artefacts of the period.\n\nThe Castle of Good Hope was not built by Jan Van Riebeeck. A four-pointed clay and timber fort was the first building to be erected in his time, and it was his suggestion that this be replaced by a more permanent structure that could withstand the elements and possible attacks. The existing stone “star fort” was built four years after Jan van Riebeeck left the Cape.\n\nThe Castle of Good Hope was referred to as “Kui keip” (Stone Kraal) by the Khoi and sometimes “Citadel” by Dutch settlers\nYellow paint was originally chosen for the walls because it reduced the effects of the hot African sun.",
"location": {
"name": ""
}
},
{
"id": "a3c8c087-d08a-5ea6-9ae2-0e89f7f76f05",
"name": "A Walking Tour of Stellenbosch",
"startDate": "2026-03-22T09:00:00+0200",
"endDate": "2026-03-22T10:30:00+0200",
"url": "https://www.internations.org/activity-group/41137/activity/653710",
"image": "https://assets.in-cdn.net/image/{format}/2026/01/07/1209cdbf68056c6e3819ba9a07132c88b9b6204c35733d9e77f1ad874925cd04.jpeg",
"attendees": 3,
"nationalityCount": 2,
"localcommunityName": "Cape Town",
"localcommunityId": 149,
"countryCode": "rsa",
"isNewcomerOnly": false,
"description": "Stellenbosch is a historic South African university town in the Western Cape, famous for its oak-lined streets, Cape Dutch architecture, vibrant student life, and world-renowned wine region. \n\nFounded in 1679 by Simon van der Stel, it's South Africa's second-oldest formal settlement, offering a blend of natural beauty, cultural heritage, top-tier education (Stellenbosch University), and a thriving food and wine scene. \n\nSee historic buildings, museums (like the Stellenbosch Museum), and charming streets such as Dorp Street, showcasing Cape Dutch, Georgian, and Victorian styles.\n\nPlease make your booking with Booking.com website direct.\n\nhttps://www.booking.com/attractions/za/pr2u86mpkr77-walking-tour-of-stellenbosch.en-gb.html?url_code=AT_UjLOQ4k-DBKmZ6Y-50dTvmvCOBazYxrCJriT55p5Loy36NYp-fKixMTNaMsuL1W5lUOlhg&adplat=ios-BOOKING_HOTEL_INDEX-UPCOMING_TRIP-attraction-missing_creative-7EnL2X5YdhuG16BcI7vV8z&source=ios_attractions_native_launchpad&aid=303948&label=mkt123sc-b45fcddb-5447-4549-b219-8a66c30848a2&ufi=-1287082&date=2026-01-07×lot=ATS-PR2u86mPkr77-202601071100-nullnull&ticket_type=OFMyvEfRy8hb",
"location": {
"name": ""
}
},
{
"id": "fcaf6609-853e-5c11-b1aa-d1c0603afd10",
"name": "InterNations Johannesburg: Mid-Vibe Games Night 🎲",
"startDate": "2026-03-28T19:00:00+0200",
"endDate": "2026-03-28T21:00:00+0200",
"url": "https://www.internations.org/event/promotion/details/1061213",
"image": "https://assets.in-cdn.net/image/{format}/2026/01/22/aa59416372ebe0f2e383ebebe187b5f625ed38898f7a2a984fef6a710211ac25.png",
"attendees": 6,
"nationalityCount": 4,
"localcommunityName": "Johannesburg",
"localcommunityId": 148,
"countryCode": "rsa",
"isNewcomerOnly": false,
"description": "How about an evening of board games, card games, and maybe even some retro arcade games? \n\nServe snacks, have a few rounds of games, and let people mingle. Perfect for gamers and those who love a chill vibe 😊. ",
"location": {
"name": "The Mornach Hotel, Rosebank"
}
}
],
"groups": [
{
"localcommunityId": 147,
"moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/23/e3967389ab0e3dbd7fb4214d881f8cbeea776da6557e60e2518804c2e93a1154.jpeg",
"title": "Pretoria Community Group",
"url": "https://www.internations.org/activity-group/41141/activities",
"memberCount": 9513,
"nationalityCount": 160,
"type": "general_group"
},
{
"localcommunityId": 148,
"moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/23/744d7670620f12b81a236a33791217bcf9c93fd8c4c08b31f7cb7c8fd7c7cd16.jpeg",
"title": "Johannesburg Community Group",
"url": "https://www.internations.org/activity-group/41139/activities",
"memberCount": 13289,
"nationalityCount": 163,
"type": "general_group"
},
{
"localcommunityId": 149,
"moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/23/c8934b0a94b46768e5971743b63c62b82f33c598cdd9172e3edf0bd65883ab7c.jpeg",
"title": "Cape Town Community Group",
"url": "https://www.internations.org/activity-group/41137/activities",
"memberCount": 11945,
"nationalityCount": 167,
"type": "general_group"
},
{
"localcommunityId": 150,
"moodImage": "https://assets.in-cdn.net/image/{format}/2024/01/23/5cf4e12163639b56ad485d9146f06f4b9fd66c27dc67b6e4917b6977b81bc5ed.jpeg",
"title": "Durban Community Group",
"url": "https://www.internations.org/activity-group/41138/activities",
"memberCount": 5181,
"nationalityCount": 130,
"type": "general_group"
}
],
"guideLinks": [
{
"name": "South Africa",
"slug": "south-africa",
"guides": [
{
"title": "Moving to South Africa",
"url": "https://www.internations.org/south-africa-expats/guide/moving-to-short"
},
{
"title": "Living in South Africa",
"url": "https://www.internations.org/south-africa-expats/guide/living-short"
},
{
"title": "Working in South Africa",
"url": "https://www.internations.org/south-africa-expats/guide/working-short"
},
{
"title": "Moving to Cape Town",
"url": "https://www.internations.org/cape-town-expats/guide/moving-to-short"
},
{
"title": "Moving to Durban",
"url": "https://www.internations.org/durban-expats/guide/moving-to-short"
},
{
"title": "Moving to Johannesburg",
"url": "https://www.internations.org/johannesburg-expats/guide/moving-to-short"
},
{
"title": "Moving to Pretoria",
"url": "https://www.internations.org/pretoria-expats/guide/moving-to-short"
}
],
"location_type": "country"
}
]
}
}