While trying to render the HTML for "/sofia-expats/brazilians/pt" 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/.cache/page-ssr/routes/webpack:/content-platform/src/components/core/GlobalPartners.tsx:11:5)
at Fb (/var/lib/jenkins/workspace/in-content-platform_main/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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": "/sofia-expats/brazilians/pt",
"slicesMap": {},
"pageContext": {
"wpCorePageId": "cG9zdDoyNzI0OA==",
"events": [
{
"id": "acbe16f5-5bf2-5e15-85e5-85da8bf991ac",
"name": "InterNations Sofia 11th Masquerade Party",
"startDate": "2026-02-27T19:00:00+0200",
"endDate": "2026-02-27T23:00:00+0200",
"url": "https://www.internations.org/activity-group/41677/activity/655854",
"image": "https://assets.in-cdn.net/image/{format}/2026/01/28/30cc3da2e1c02110e9f759364ca41adafd79a84ba50a4601d3ef195f15e52330.jpeg",
"attendees": 29,
"nationalityCount": 11,
"localcommunityName": "Sofia",
"localcommunityId": 7,
"countryCode": "bul",
"isNewcomerOnly": false,
"description": "🎠Join Us for the 11th Annual Masquerade Event!\n\nWe’re excited to welcome you to an unforgettable evening at Regale Bar & Terrace in the Hilton Hotel. This stylish venue sets the perfect mood for a night of live music, great drinks, and plenty of fun.\nAnd of course — don’t forget your masks!\n\n✨ Free entry for our group\n\nPlease RSVP by clicking the Accept Invitation button. Register only if you’re certain you can attend, as it helps us plan the evening properly. Feel free to bring friends — just ask them to sign up for InterNations first.\n\nLooking forward to celebrating with you!",
"location": {
"name": ""
}
}
],
"groups": [
{
"localcommunityId": 7,
"moodImage": "https://assets.in-cdn.net/image/{format}/2025/05/07/4c9de05bfea59d99be98ad9584f2a2971abffefacfceacc82f55f09ffabf4094.jpeg",
"title": "Sofia Community Group",
"url": "https://www.internations.org/activity-group/41677/activities",
"memberCount": 17293,
"nationalityCount": 169,
"type": "general_group"
}
],
"guideLinks": [
{
"name": "Sofia",
"slug": "sofia",
"guides": [
{
"title": "Moving to Sofia",
"url": "https://www.internations.org/sofia-expats/guide/moving-to-short"
},
{
"title": "Living in Sofia",
"url": "https://www.internations.org/sofia-expats/guide/living-short"
},
{
"title": "Working in Sofia",
"url": "https://www.internations.org/sofia-expats/guide/working-short"
},
{
"title": "Moving to Bulgaria",
"url": "https://www.internations.org/bulgaria-expats/guide/moving-to-short"
},
{
"title": "Living in Bulgaria",
"url": "https://www.internations.org/bulgaria-expats/guide/living-short"
},
{
"title": "Working in Bulgaria",
"url": "https://www.internations.org/bulgaria-expats/guide/working-short"
}
],
"location_type": "city"
}
]
}
}