0

I created a custom post type in my WordPress site and I filled it with the ACF Plugin. When I want to display a page from my custom post type in front page, it takes a long time and I get a 500 error:

Maximum execution time of 30 seconds exceeded in [...]/web/content/wp-includes/plugin.php on line 178

Any ideas why is this happening?

Julien Marrec
  • 11,605
  • 4
  • 46
  • 63
Kévin HURON
  • 60
  • 1
  • 10
  • 1
    Related: http://stackoverflow.com/questions/5164930/fatal-error-maximum-execution-time-of-30-seconds-exceeded – Henders Dec 05 '16 at 10:45

1 Answers1

0

Try to improve the performance of your code through caching, etc. You can also increase the "maximum execution time" for PHP scripts as described here: How can I set the maximum execution time for a PHP script?

Community
  • 1
  • 1
actc
  • 672
  • 1
  • 9
  • 23
  • Thanks you! I did this. My page load correctly now but It takes a long time again... I don't understand because I had two other custom post type which load correctly but this one no... – Kévin HURON Dec 05 '16 at 10:58