Beta 6: Upgrading site breaks headers / footers if logged out

Just a quick thread so I can give you my login.

On an existing site that I upgraded if you are logged in you see the Pro headers and footers.

If you are logged out you see the default header and footer for integrity.

Thank you! I’m taking a look and will let you know what I find out.

Well, I can confirm I was seeing the issue - until I resaved the assignment rules. It’s working now, but I’ll still need to do some digging to figure out the actual problem. Do you recall if this header was creating using a beta version, or with a previous version of Pro?

To anyone who’s seeing this happen, before saving your assignment rules it would be super helpful to get this info:

  • Enable the Dev Console
  • Open it to the settings tab
  • Copy the assignments field. It should look like JSON.
  • Paste whatever your assignment data is to this thread or a new one.

After that, try saving the assignments again to see if it starts working on your site. The data above will help me narrow the root cause since I’ve still not identified it.

Thanks!

This was built with a previous version of Pro. I have literally done nothing except upgrade from the current version of pro straight to beta 6.

I left it like thar as I figured you may want to have a look…

If it is helpful you are welcome to restore the updraft back up and run the upgrade again.

1 Like

Thank you! That helps! After some more tinkering I think I’m onto something. I’ll leave you to it for now and I don’t need to restore the backup since I think I can recreate that locally. I think it might be how the old assignment rules are being converted. I’ll reach back out when it’s resolved.

2 Likes

Just so you know the beta 7 upgrade has killed this site in the secure notes.

The footer is also available if logged in and reverts to the default footer if logged out. All other content seems to be missing and the navigation is completely broken. I have reassigned the footers so long so they display.

What I have figured out is that my menu has a global block in the off canvas area and this is what is breaking the site. If I remove the global block from the off canvas area then the site loads as expected.

I have put the global block back in place and you are welcome to take a look at the site if you need to.

1 Like

Same here. My staging website has two global blocks inside the off-canvas modal element. The page gets broken in Beta 7. As soon as I remove the Global Block Shortcodes, the site looks normal.

2 Likes

It looks like this is only happening on sites that were built with a previous version of Pro i.e. Pro 3.

My test build that has a fresh install seems to be working OK.

Thanks! Regarding Global Blocks, that issue has been corrected for the next patch. Standby on the Header/Footer assignments issue.

Update: The logged in/out issue is fixed. Also, the automatic conversion process wasn’t accounting for priorities. At this point we shouldn’t see headers/footers change after updating. There’s still a possibility of assignments not being correct if you’re on a beta, but after updating it should be fixed by saving your headers/footers. This won’t be needed on installs that haven’t used one of the beta versions yet.