• Resolved glennearls

    (@glennearls)


    I have been using the plugin for several years and I use it on multiple sites.

    On a couple of my sites, I have a large number of posts (over 9000).

    Issue #1 – I use the plugin to show related posts, but I have to limit the number of related posts that I show on any page to 500 or less, otherwise the page crashes. This only affects 3 or 4 pages that have over 500 related posts so it is not a huge problem.

    Issue #2 – Every time I edit a post and republish, or if I create a new post, I have to deactivate the plugin beforehand or I get the message “There has been a critical error on this website. Please check your site admin email inbox for instructions.” This sometimes happens even on sites with only a few hundred posts (not thousands).

    If I deactivate the plugin first everything works fine.

    Just curious as to what might be happening to cause the site to crash.

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor zymeth25

    (@zymeth25)

    I have to limit the number of related posts that I show on any page to 500 or less, otherwise the page crashes.

    You have not provided any error logs so I cannot say much but this kind of problem is almost certainly PHP hitting memory limit. This is not a LCP specific error, querying so many posts is very resource expensive and it is not the inteded way to use WordPress. You can however raise resource limits WordPress can use which should solve your problem.

    Every time I edit a post and republish, or if I create a new post, I have to deactivate the plugin beforehand or I get the message “There has been a critical error on this website.

    Probably the same reason but could also be theme-related.

Viewing 1 replies (of 1 total)
  • The topic ‘Critical Error on site’ is closed to new replies.