Closed blakeswitchco closed 8 years ago
It appears the navigation the server is attempting to find from the API JSON is null
. It looks like the most likely reason this would happen is if a navigation with the ID
specified in the template tag is not found within your sites layout API data. The layout API data can be referenced by hitting this path off of your Squarespace site's domain: /api/commondata/GetSiteLayout/
.
Thanks! You are 100% correct, had a secondary nav block kicking around in the mobile nav that was cut from the site.
After upgrading I am seeing the following issue when starting up the server.
The startup creates two empty files in sqs-cache, page-homepage.html and page-homepage.json which need to be busted otherwise an unexpected input error is kicked back.
Not too sure what I should do to address this, everything I've tried is coming up fruitless (commenting out nav sections in the templates/removing links on the prod site/busting busting busting). I am using the Wexley template and have sqs-server/middleware/logger/jsont updated to the latest versions. I am praying there's something I am missing with the update or a simple fix to get this back into action.
Thanks so much!