Closed mc2tc closed 8 years ago
Hmm. Looks like the {.location?}
predicate is blowing up on you. What is the context in which you are using it?
I fixed the issue thanks. Just hadn't included an address in Squarespace settings.
Ok, cool. Glad it was a simple fix :)
Hi-- I'm wondering if you can help with the following error. Thanks in advance.
mart @ ~/desktop/pands-development [8] → sqs server
TypeError: Cannot read property 'addressTitle' of undefined at module.exports (/usr/local/lib/node_modules/node-squarespace-server/node_modules/node-squarespace-jsont/lib/predicates/location.js:23:27) at /usr/local/lib/node_modules/node-squarespace-server/node_modules/node-squarespace-jsont/lib/predicates/index.js:83:23 at _DoPredicates (/usr/local/lib/node_modules/node-squarespace-server/node_modules/node-squarespace-jsont/lib/jsontemplate.js:488:21) at _Execute (/usr/local/lib/node_modules/node-squarespace-server/node_modules/node-squarespace-jsont/lib/jsontemplate.js:428:7) at _DoSection (/usr/local/lib/node_modules/node-squarespace-server/node_modules/node-squarespace-jsont/lib/jsontemplate.js:469:5) at _Execute (/usr/local/lib/node_modules/node-squarespace-server/node_modules/node-squarespace-jsont/lib/jsontemplate.js:428:7) at Template.render (/usr/local/lib/node_modules/node-squarespace-server/node_modules/node-squarespace-jsont/lib/jsontemplate.js:823:3) at Template.expand (/usr/local/lib/node_modules/node-squarespace-server/node_modules/node-squarespace-jsont/lib/jsontemplate.js:828:8) at Object.render (/usr/local/lib/node_modules/node-squarespace-server/node_modules/node-squarespace-jsont/squarespace-jsont.js:29:25) at Object.renderTemplate (/usr/local/lib/node_modules/node-squarespace-server/squarespace-template.js:540:32)