I have an graphql call on my website that is set to auto-fetch and ssr. Inside the editor the call is working just fine and instantly triggering when the page gets loaded.
On my testing and live website it doesn't get triggered at all. Network panel in dev tools stays empty, even when I change the api call to onload.
get a weird error though from page.main.js
page.main.js?v=ef88939:7 Uncaught TypeError: Cannot read properties of null (reading 'type')
at page.main.js?v=ef88939:7:5165
at Array.some (<anonymous>)
at Ko (page.main.js?v=ef88939:7:5155)
at wu (page.main.js?v=ef88939:7:34632)
at Ec (page.main.js?v=ef88939:7:33247)
at RBt-KiH7UQ.js?t=1786615695553:8:1
which is referenced to this function
var Ko = e => {
if (!e)
return {};
let r = {};
for (let t in e) {
let o = e[t];
(j(o.content) && o.content.type !== "value" || Object.values(o.attrs ?? {}).some(a => a.type !== "value")) && (r[t] = o)
}
return r
}