简体   繁体   中英

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

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?

尝试通过缓存等方法提高代码的性能。您还可以按如下所述增加PHP脚本的“最大执行时间”: 如何设置PHP脚本的最大执行时间?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM