left sidebar not appearing: "The Nav container has no containing elements"

ForumCategory: Technicalleft sidebar not appearing: "The Nav container has no containing elements"
marianndavis asked 6 days ago

My left sidebar appears on my Post pages.
But on my Page pages i get this javascript error:
Uncaught Error: The Nav container has no containing elements
at o (scripts.js:2385)
at new v (scripts.js:2385)
at d (scripts.js:2385)
at HTMLDocument.<anonymous> ((index):435)
at j (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.J (jquery.min.js:2)The Nav container has no containing elements
 
What do i have set up incorrectly?
 

marianndavis replied 6 days ago

the site is http://uucsjs.org/

Naomi Moon replied 6 days ago

Did you set the pages up to have parent pages? that is the way the left side menu populates.

Naomi Moon replied 6 days ago

Did you set the pages up to have parent pages? that is the way the left side menu populates.

marianndavis replied 5 days ago

yes they do, but even if they didn’t, why the JS error?

marianndavis replied 5 days ago

wait, they have a parent in the menu, but no parent _page._
how do i get a left sidebar to show up regardless?

marianndavis replied 5 days ago

and why does it show up on Posts?

Naomi Moon replied 4 days ago

For elements to show up in the Left Sidebar of a Page, you have to assign the pages as a child to a parent page. You can do this on the Pages screen. Quick Edit each page and ensure that it is assigned to its appropriate parent. You can also set the order of the left menu by setting the order property of the page after you select the parent.

Margy Levine Young Staff replied 4 days ago

Adding or moving pages on the main menu is a two-step process:

1. Edit the page and specify what menu it goes on. When you save the page, WordPress creates the URL to that page.
2. Edit the main menu and put the page where it goes.

Maybe you aren’t doing the second step?