While trying to render the HTML for "/muscat-expats/es" 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": "/muscat-expats/es",
"slicesMap": {},
"pageContext": {
"wpCorePageId": "cG9zdDoyNjU0Nw==",
"events": [
{
"id": "c78df936-e897-5254-8827-84a0be6d9003",
"name": "InterNations Muscat March Official Ramadan Iftar ",
"startDate": "2026-02-26T18:00:00+0400",
"endDate": "2026-02-26T19:00:00+0400",
"url": "https://www.internations.org/event/promotion/details/1061596",
"image": "https://assets.in-cdn.net/image/{format}/2026/02/23/f7122be43c1ed38ccbb1f6bff0e4443e22febed4152dce41c61d6fa06963c723.jpeg",
"attendees": 2,
"nationalityCount": 1,
"localcommunityName": "Muscat",
"localcommunityId": 171,
"countryCode": "oma",
"isNewcomerOnly": false,
"description": "We are delighted to invite you all to join us for a blessed Iftar gathering at Al Diyar restaurant with a great atmosphere for Ramadan. π\n\nMay this Iftar be filled with peace, happiness, and the joy of sharing.π«Άπ»\nWe look forward to enjoying delicious food, engaging in meaningful conversations.ππΌ\n\nPlease RSVP in advance, thanks.ππΌ\n",
"location": {
"name": "Al Deyar Cafe"
}
}
],
"groups": [
{
"localcommunityId": 171,
"moodImage": "https://assets.in-cdn.net/image/{format}/2025/05/07/d83b227e4f72598dc9b99b21af4d970cdeb7954e27e0224198bc12dd75229837.jpeg",
"title": "Muscat Community Group",
"url": "https://www.internations.org/activity-group/41673/activities",
"memberCount": 35302,
"nationalityCount": 181,
"type": "general_group"
}
],
"guideLinks": [
{
"name": "Muscat",
"slug": "muscat",
"guides": [
{
"title": "Moving to Muscat",
"url": "https://www.internations.org/muscat-expats/guide/moving-to-short"
},
{
"title": "Living in Muscat",
"url": "https://www.internations.org/muscat-expats/guide/living-short"
},
{
"title": "Working in Muscat",
"url": "https://www.internations.org/muscat-expats/guide/working-short"
},
{
"title": "Moving to Oman",
"url": "https://www.internations.org/oman-expats/guide/moving-to-short"
},
{
"title": "Living in Oman",
"url": "https://www.internations.org/oman-expats/guide/living-short"
},
{
"title": "Working in Oman",
"url": "https://www.internations.org/oman-expats/guide/working-short"
}
],
"location_type": "city"
}
]
}
}