Hey all! I seem to need some help. Possibly related to this bugfix PR I made: <https://github.com/ExpressionEngine/ExpressionEngine/pull/5120> I’m excited because the PR just got accepted today 🙂 but even if I patch my local site with the fix, I now have Live Preview showing a 404 page in the preview pane, and only for the channel in question. I’m not sure how to go about debugging this issue. Will add some details in a thread.
I have a News channel and an Events channel. These are both configured as Listing channels within Structure. Previews for the News are working just fine but not for Events. I got TypeError before the patch, but once I apply it, the preview pane is showing a 404.
For the Events channel: some of the client’s events have sub-pages within them. To get that working, I am using Freebie. I wonder if that’s what’s breaking the live preview?
Have you got any custom statuses in use?
If you have you’ll have to add them to the channel entries tag in your template. Here’s one I made earlier that lets preview see entries that are closed or “Draft” status using the status parameter and the is_live_preview_request variable:
status="open{if is_live_preview_request}|Draft|closed{/if}"Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.