• Resolved pattyok

    (@pattyok)


    I am working on a site where on the search results page, I just get a blank page. Im not seeing any errors (the admin bar loads, but the page content is blank).

    The page content is an empty site-blocks div which makes me think that the site is trying to load a block template for this page?

    <div class="wp-site-blocks">
    
    <main class="wp-container-615b6fbcb5cdc wp-block-group"></main>
    <style>.wp-container-615b6fbcb5cdc > * {max-width: 100%;margin-left: auto !important;margin-right: auto !important;}.wp-container-615b6fbcb5cdc > .alignwide { max-width: 100%;}.wp-container-615b6fbcb5cdc .alignfull { max-width: none; }.wp-container-615b6fbcb5cdc .alignleft { float: left; margin-right: 2em; }.wp-container-615b6fbcb5cdc .alignright { float: right; margin-left: 2em; }</style>
    
    </div>

    I have no idea why it thinks it should load a block template. I am not using full site editing or block templates on this site. I’ve made a copy of this site with all of the same plugins and settings in my local environment and I am not able to reproduce the issue. Any ideas on what would trigger the site to think that it should load a block template for the search results page? I am stumped.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter pattyok

    (@pattyok)

    Welp I figured this out, though Im not sure exactly why it ended up causing the problem.

    I had, early on in working on this site, experimented with a full site editing theme. That created an entry in the database of a post type ‘wp_template’. That template was associated with a different theme though, so thats the part I dont understand, but deleting that entry in the database fixed the problem.

Viewing 1 replies (of 1 total)
  • The topic ‘Getting a blank search page’ is closed to new replies.