Support » Plugin: Custom Content Shortcode » CCS loop times out my server

  • I just started using CCS and was amazed at what it does. It solves so many problems that I had using custom post types and the Divi theme. I used it to show upcoming and past events on a page and it worked great with 4 events. When the events got up to 15, the loop timed out my server and the page no longer worked. It actually timed out any page that used the CCS shortcodes to the point where most of the site was unusable in both the frontend and backend. I had to write my own shortcodes to get the site back up and running.

    Has anyone else seen this behavior? What did I do wrong? I want to use this plugin so bad but I can’t have sites be unresponsive.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Hi! Thank you for the comment, and sorry it took so long to reply.

    I’ve heard of server time-outs with the plugin when there are a lot of posts (hundreds or thousands). With just 15 events, that’s unusual.

    I’m not familiar with Divi theme, but visual builders tend to require more server-side processing. You might be able to solve it by increasing the PHP max execution time in your php.ini or hosting server setting, for example: max_execution_time = 60. Sometimes it’s an issue with the server capacity itself, so an upgrade to a faster server could be a solution.

    Otherwise, the Query Monitor plugin may help in finding where it’s taking too much time.

    I found that if I didn’t use ‘exists’ the loop works fine.

    Plugin Author Eliot Akira

    (@miyarakira)

    Interesting, thank you for the info. I’ll look into the parameter exists to see if I can make it more efficient.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CCS loop times out my server’ is closed to new replies.