Failed to render HTML

The error occurred on the page: /san-salvador-expats/irish

While trying to render the HTML for "/san-salvador-expats/irish" 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": "/san-salvador-expats/irish",
  "slicesMap": {},
  "pageContext": {
    "wpCorePageId": "cG9zdDoxNjE2NA==",
    "events": [
      {
        "id": "1000a7f2-b51e-5de6-848e-7da1f8d9bb27",
        "name": "InterNations December Event @ AZTECA Restaurant ",
        "startDate": "2025-12-06T19:30:00-0600",
        "endDate": "2025-12-06T22:30:00-0600",
        "url": "https://www.internations.org/event/promotion/details/1060554",
        "image": "https://assets.in-cdn.net/image/{format}/2025/11/24/7ac190a207d93ce9f44a2cf9a78e4e9fe496ca2b6b3bdc5336976b837ebf376a.jpeg",
        "attendees": 9,
        "nationalityCount": 4,
        "localcommunityName": "San Salvador",
        "localcommunityId": 67,
        "countryCode": "esa",
        "isNewcomerOnly": false,
        "description": "Let's celebrate the different shades of happiness the festive season brings to our lives. This time in a nice Mexican restaurant with great food and drinks!\n\nCome share a great time with us and your fellow global minds. It will be a great time to relax and enjoy nice conversations!\nAs always bring your friends and tell them to become part of the community!\n\nKindly confirm your attendance ONLY if you plan to participate.\n\n📍 Venue: Azteca Restaurant\n📅 Date: Saturday, December 6th\n⏰ Time: 7.30 pm\n\nClaudia Calles\nInterNations Ambassador San Salvador\n",
        "location": {
          "name": "AZTECA RESTAURANT "
        }
      },
      {
        "id": "534b152f-bb4e-55d7-aa79-83f32dd517e7",
        "name": "InterNations November Event @ Ricon Argentino Restaurant",
        "startDate": "2025-11-15T19:30:00-0600",
        "endDate": "2025-11-15T22:30:00-0600",
        "url": "https://www.internations.org/event/promotion/details/1060245",
        "image": "https://assets.in-cdn.net/image/{format}/2025/11/04/ec5129a942cc1146bbbfc5e8e358a1ac227c6a998f34915195362f6330a18fff.jpeg",
        "attendees": 9,
        "nationalityCount": 3,
        "localcommunityName": "San Salvador",
        "localcommunityId": 67,
        "countryCode": "esa",
        "isNewcomerOnly": false,
        "description": "Join us For a Hawaiian-themed Get Together, wear a vibrant floral shirt with linen pants for a classic look, or opt for a floral dress, sundress, or maxi dress for a more comfortable option (examples). Complete the outfit with accessories like flowers, grass skirt, or seashell necklace, etc. See attached pictures.\n\nShare a great time with us and your fellowp global minds. It will be a great time to relax and enjoy nice conversations, music, food and drinks.\n\nKindly confirm your attendance ONLY if you plan to participate.\n\n📍 Venue: Restaurante El Rincon Argentino\n📅 Date: Saturday, November 15th\n⏰ Time: 7.30 pm\n\n🎶 Expect an evening filled with international vibes, good food, drinks,  and plenty of reasons to raise a glass together.\n\n",
        "location": {
          "name": "Ricon Argentino"
        }
      },
      {
        "id": "a8997179-afcb-5b0c-be6d-3894003c900a",
        "name": "InterNations 18th Anniversary @ Restaurante El Corcho",
        "startDate": "2025-10-17T20:00:00-0600",
        "endDate": "2025-10-17T22:30:00-0600",
        "url": "https://www.internations.org/event/promotion/details/1059823",
        "image": "https://assets.in-cdn.net/image/{format}/2025/10/09/a1ffc4932e38cbf1de120e627c8f992b9d2f74ce502166a94848c695b11f7683.jpeg",
        "attendees": 12,
        "nationalityCount": 6,
        "localcommunityName": "San Salvador",
        "localcommunityId": 67,
        "countryCode": "esa",
        "isNewcomerOnly": false,
        "description": "Join us as we CELEBRATE 18 YEARS of global connections, friendships, and unforgettable memories!\n\nShare a great time with us and your fellow global minds. It will be a great time to relax and enjoy nice conversations, music, food and drinks.\n\nKindly confirm your attendance ONLY if you plan to participate.\n\n📍 Venue: Restaurante EL Corcho\n📅 Date: Friday, October 17th\n⏰ Time: 8:00 pm\n\nCover $5.00 ( The cover charge includes a complimentary beverage)\n\n🎶 Expect an evening filled with international vibes, live music,  and plenty of reasons to raise a glass together.",
        "location": {
          "name": "Restaurante El Corcho"
        }
      },
      {
        "id": "2c8d7855-baf4-53e9-a452-ca712792cb44",
        "name": "InterNations San Salvador August Event @ Casa Fuego Restaurant",
        "startDate": "2025-08-23T19:30:00-0600",
        "endDate": "2025-08-23T22:30:00-0600",
        "url": "https://www.internations.org/event/promotion/details/1059004",
        "image": "https://assets.in-cdn.net/image/{format}/2025/08/15/5339cd68c83549534eecd9b959f28ec6bf033303d3109bfdddeb3f354bc1ff8c.jpeg",
        "attendees": 11,
        "nationalityCount": 4,
        "localcommunityName": "San Salvador",
        "localcommunityId": 67,
        "countryCode": "esa",
        "isNewcomerOnly": false,
        "description": "We're looking forward to welcoming you to a nice evening with great people around! It is the opportunity to close the month with a special event!\n\nWe would appreciate if you confirm your attendance to this event by clicking on the Accept Invitation button. \n\nFeel free to bring your international friends and coworkers, but please have them sign up on InterNations first.",
        "location": {
          "name": "Casa Fuego"
        }
      }
    ],
    "groups": [
      {
        "localcommunityId": 67,
        "moodImage": "https://assets.in-cdn.net/image/{format}/2023/12/04/ffd37c2248221ddac643a775326467ddd9723a53677a58d982a2e78e8f26ee57.jpeg",
        "title": "San Salvador Community Group",
        "url": "https://www.internations.org/activity-group/40823/activities",
        "memberCount": 2073,
        "nationalityCount": 93,
        "type": "general_group"
      }
    ],
    "guideLinks": [
      {
        "name": "San Salvador",
        "slug": "san-salvador",
        "guides": [
          {
            "title": "Moving to San Salvador",
            "url": "https://www.internations.org/san-salvador-expats/guide/moving-to-short"
          },
          {
            "title": "Living in San Salvador",
            "url": "https://www.internations.org/san-salvador-expats/guide/living-short"
          },
          {
            "title": "Working in San Salvador",
            "url": "https://www.internations.org/san-salvador-expats/guide/working-short"
          },
          {
            "title": "Moving to El Salvador",
            "url": "https://www.internations.org/el-salvador-expats/guide/moving-to-short"
          },
          {
            "title": "Living in El Salvador",
            "url": "https://www.internations.org/el-salvador-expats/guide/living-short"
          },
          {
            "title": "Working in El Salvador",
            "url": "https://www.internations.org/el-salvador-expats/guide/working-short"
          }
        ],
        "location_type": "city"
      }
    ]
  }
}