Forums

WP Super Cache
500 HTTP error on first load for a custom post type (2 posts)

  1. DanCoulter
    Member
    Posted 1 year ago #

    Has anyone ever seen this issue? We've got a custom post type that always fails to display (500 error) if the post has not been cached. However, it does create the cached version of it, so when you hit refresh, it displays the cached version properly.

    For now, I've solved this by blocking those pages from using the cache at all, but I'd like them to be included if I could.

    And just as an additional data point, we have other custom post types on the same site that are not displaying this behavior.

    Here's a log of the two requests, if that sheds any light on it: http://pastie.org/private/ihk9q4ay2l7j2zy4carsw

  2. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Does your custom post type send a different header, or use lots of memory? Anything in your PHP error log?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic