[Resolved] Odd Query

Home Forums Support Odd Query

  • This topic has 2 replies, 2 voices, and was last updated 1 year ago by David.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #996568
    Matthew

    I’m running a query analyzer plugin which shows all the queries to the db during runtime.

    I’m on one of my pages which is static. It doesn’t have anything which should be pulling from the db. It has static elements, static menu, static footer.

    The analyzer is showing two identical queries which invovle a pull of all published posts from the db and the query will seemingly increase as I add more posts…

    Any clue what’s causing this? It seems to originate from generatepress and has something to do with navigation…

    https://www.dropbox.com/s/tss80fro4ye8uex/odd%20query.png?dl=0

    #996581
    Matthew

    I need a coffee. It’s actually pulling the nav menu items themselves which I forgot are stored as posts.

    #996586
    David
    Staff
    Customer Support

    Glad to hear you got it resolved.
    I think i’ll join you on that coffee lol

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.