While trying to render the HTML for "/mogadishu-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": "/mogadishu-expats",
"slicesMap": {},
"pageContext": {
"wpCorePageId": "cG9zdDoxNjMx",
"events": [
{
"id": "7b557561-61bb-512e-8e40-4f27c1752c42",
"name": "Somalida Maanta, The Somalis of Today",
"startDate": "2009-08-06T20:00:00+0300",
"endDate": "2009-08-06T23:59:00+0300",
"url": "https://www.internations.org/event/promotion/details/3848",
"image": null,
"attendees": 1,
"nationalityCount": 1,
"localcommunityName": "Mogadishu",
"localcommunityId": 146,
"countryCode": "som",
"isNewcomerOnly": false,
"description": "At Bakaraha:\nNew Mugadishu Restaurant \nContact;\nHashim Ali \n2521-558-36982",
"location": {
"name": ""
}
},
{
"id": "7a99a737-c234-521d-928e-729c431b06b0",
"name": "Prayer for Peace in Somalia.",
"startDate": "2009-06-03T20:00:00+0300",
"endDate": "2009-06-03T23:59:00+0300",
"url": "https://www.internations.org/event/promotion/details/3160",
"image": "https://assets.in-cdn.net/image/{format}/2009/06/03/df1c70b8d3315d2259fbcddc8a82fbea_wico_e_3160.jpg",
"attendees": 1,
"nationalityCount": 1,
"localcommunityName": "Mogadishu",
"localcommunityId": 146,
"countryCode": "som",
"isNewcomerOnly": false,
"description": "On behalf of WICO org. International Prayer Day for Peace in Somalia. Friday, 5 June 2009 starting 6:00 AM.\\r\\nWar, drought and malnutrition are thrusting Somalia towards even greater catastrophe. Tens of thousands are on the move, hundreds of thousands are displaced and more than three million are in dire need of aid.\\r\\n\\r\\nDr. Dalia Steiner\\r\\nWICO Founder and Int. President\\r\\n\\\"Ambassador for Peace\\\"",
"location": {
"name": ""
}
}
],
"groups": [
{
"localcommunityId": 146,
"moodImage": "https://assets.in-cdn.net/image/{format}/2024/02/15/bcac3aa9f71d170d71e0eee2512d2fc981af381ae15cb08c733fd076792234f4.jpeg",
"title": "Mogadishu Community Group",
"url": "https://www.internations.org/activity-group/41341/activities",
"memberCount": 1486,
"nationalityCount": 92,
"type": "general_group"
}
],
"guideLinks": [
{
"name": "Mogadishu",
"slug": "mogadishu",
"guides": [
{
"title": "Moving to Mogadishu",
"url": "https://www.internations.org/mogadishu-expats/guide/moving-to-short"
},
{
"title": "Living in Mogadishu",
"url": "https://www.internations.org/mogadishu-expats/guide/living-short"
},
{
"title": "Working in Mogadishu",
"url": "https://www.internations.org/mogadishu-expats/guide/working-short"
},
{
"title": "Moving to Somalia",
"url": "https://www.internations.org/somalia-expats/guide/moving-to-short"
},
{
"title": "Living in Somalia",
"url": "https://www.internations.org/somalia-expats/guide/living-short"
},
{
"title": "Working in Somalia",
"url": "https://www.internations.org/somalia-expats/guide/working-short"
}
],
"location_type": "city"
}
]
}
}