The posts_page variable is looking for a page set as the “blog” page in the reading settings. At some point this was unset or the blog page was removed, it is not clear, but simply making a blank page and setting it as the “blog” page under settings->reading resolved the issue.
Related Posts:
- Changing the Order of Admin Menu Sections?
- Remove unusable metaboxes in nav menu management screen
- Remove Pagination in Appearance -> Menus -> Categories
- How do I fix this error: Warning: invalid argument supplied for foreach()?
- Menu is invisible in admin panel but it’s visible in front-end [closed]
- Hide pages depending on role
- WP /wp-admin/admin-ajax.php produces 404
- Sort wp_nav_menu() by menu order
- Theme menu in Admin Panel
- show different admin menu to different user roles
- Navigation Menus Depth for specific menus
- Change search results order for Admin -> Appearance -> Menus -> Pages -> View all
- Ad custom admin page like WordPress customizer [closed]
- How to remove menu installed in wp-admin by a theme? [closed]
- Custom Menu Broken WP 3.8.1 Update
- Limit User Iinterface for Admin?
- In the Admin Dashboard, can I choose which sections to display?
- Rename menu items for All except super admin
- WP admin style not refreshing
- In admin edit-menu screen, newly added menu items always go to the bottom of the list
- Additional navigation bar in header
- How to remove empty menu space when creating admin page without menu title using add_submenu_page
- How to work with a custom theme that someone else created before me? (details below)
- Need Help Regarding Menu Magement in admin
- how to configure this type of menu
- Menus not visible in Appearance after being registered
- How to separate sub-menu output and keep associated with parent
- wp_is_mobile() inside js
- Customizing label/title output of admin nav_menu selecter
- Create custom page and custom menu
- Rename Menu icon in Twenty seventeen theme
- Filter wp_nav_menu()
- remove “edit your profile” from admin menu bar
- add custom class to wp_nav_menu using filter hook nav_menu_css_class
- Show just one level of child pages, wp_list_pages woe
- Using filters to change href of nav menu page link
- replace current_page_item class in menu
- Adding attributes to link in wp_nav_menu using custom Walker function
- How to add current, parent, and ancestor menu item IDs to body_class()?
- How to manually add an item to a submenu in a menu generated by wp_nav_menu?
- Walker_Nav_Menu: put custom code between a particular
- Remove navigation from header in custom page template
- How to create a custom menu item
- Change image based on menu item id
- Add Bootstrap dropdown class to a nav menu
- WordPress Add javascript:void(0); to menu link item?
- Making WordPress’ page and menus visible only for logged in users, checking session variables
- How can I put two menus in the same div?
- Add static item to wp_nav_menu
- WordPress – site with 2 stylesheets and more…
- Add nav menu CSS class to body
- Menu Custom link – using relative link when WP is in a subdirectory
- How to add a CSS class to the tooltip on a navigation menu?
- Using Shortcodes in WP-Menus in WP 3.1 (via nav_menu_objects)?
- WooCommerce dynamic menus
- Auto add pages to primary menu with functions.php
- Add id to menu items in wp_nav_menu
- Add dynamic Sitemap to footer
- Possible Menu Hack?
- how can i add css class on current page in wordpress wp_nav_menu
- How to rewrite the output of wordpress nav menu?
- Return Page/Post ID’s of Child WP_Nav_Menu items
- I need my dropdown sub-sub-menu box to show sub-menu title above
- Custom Links menu items include in Search Results
- When clicking on menu item not going to specific page
- Menu items suddenly are displayed all over the page [closed]
- Custom navigation structure with walker class
- CSS Classes (optional) on menu is not showing
- Why is only the first operation run in my loop – except for on the last repeat? [closed]
- Move Sticky Nav Menu Below WordPress Tool bar when tool bar enabled
- Add custom link on the fly to nav menu
- URL links consistent with menus?
- Strange menu behaviour wordpress admin [duplicate]
- How to check if current page is a parent item or child item in a given menu
- changing the labels inside appearance -> menus for some for the fields
- Lost admin “manage_link” capability WordPress. No “Links” menu item in admin menu
- dropdown menu, with walker
- Add function to custom menu
- Custom menu with additional logic for display
- Menu item that hides when you click the previous submenu
- Putting footer links into different columns
- adding drop down menu item to existing menu
- wordpress walker add class to submenu a href
- Display searchform in the menu
- Unable to remove page from primary menu
- Show navigation header menu by post and categery
- How to add a toggle on the left side of my page?
- How to add buddypress sub-menu items to other menus
- add custom entries to menu options
- Showing a link with Javascript based on log-in status
- Building Menus with the latest posts included
- Cannot control wp_nav_menu properly
- How to add drop down sub menu from database fields in the particular menu slug
- wordpress superfish dropdown menu
- Drop down menus css in custom menus
- Creating a custom menu
- What is the point of new confirm admin email process?
- How to change the markup created by menu item only on chosen items?
- Using walker to display all menu branches at once?
- How to add a class directly on a unordered list element that is a primary navigation