Skip to content

Previews working for some pages, and not working for other pages #136

Closed
@austinblanchard

Description

@austinblanchard

I'm noticing some inconsistency in the preview functionality. Some pages it works fine, and others I get a 500 error.

Here is a backend link for a page where the preview is working fine:

https://gnet.flywheelsites.com/wp-admin/post.php?post=1207&action=edit

And here is the preview link it generates:

https://gnet-fh.netlify.app/work/call-of-duty-black-ops-6-launch-trailer/?id=1207&type=page&status=publish&preview=true&slug=call-of-duty-black-ops-6-launch-trailer&uri=/work/call-of-duty-black-ops-6-launch-trailer/&_thumbnail_id=1308

Now here is a new page I just created in the backend:

https://gnet.flywheelsites.com/wp-admin/post.php?post=1664&action=edit

And here is the preview link it generates, which is showing me a 500 error:

https://gnet-fh.netlify.app/work/another-test-page/?id=1664&type=page&status=publish&preview=true&slug=another-test-page&uri=/work/another-test-page/

For some more context - I created this page earlier today:

https://gnet.flywheelsites.com/wp-admin/post.php?post=1605&action=edit

And the preview wasn't working there either. But now I'm checking it a few hours later, and now the preview is working fine. This makes me think that it needed to deploy for the preview to start working, which defeats the purpose of a preview right? Can we fix this so that the previews work before deploying?

https://gnet-fh.netlify.app/work/test-page/?id=1605&type=page&status=publish&preview=true&slug=test-page&uri=/work/test-page/&_thumbnail_id=1499

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions