Last updated on June 5th, 2019 by Editorial Staff | Reader DisclosureDisclosure: Our nội dung is reader-supported. This means if you click on some of our links, then we may earn a commission. See how efix.vn is funded, why it matters, & how you can tư vấn us.

Bạn đang xem: How to fix wordpress "fatal error: maximum execution time exceeded"


Shares 362 mô tả Tweet nội dung pin sạc Facebook Messenger WhatsApp email

Are you seeing ‘Fatal error: Maximum execution time of 30 seconds exceeded’ on your screen when trying lớn update a WordPress plugin or theme?

Typically this problem occurs when a PHP code in WordPress takes a long time to lớn run and reaches the maximum time limit set by your WordPress hosting server. The time limit is important because it helps prevent the abuse of server resources.

In this article, we will show you how to fix the fatal error: maximum execution time exceeded in WordPress.

*
*
*
*
*
*
*

Once done, save your file.

This code simply sets the value for maximum execution time to lớn 300 seconds (5 minutes). You can now visit your website to see if the error is resolved.

If you still get the error, then try increasing the value to 600.

Xem thêm: Cách Đặt Quảng Cáo Google Adsense, Google Adsense Là Gì

If you found this method easier, then kiểm tra out these most useful .htaccess tricks for WordPress.

Another method lớn fix the maximum execution time exceeded error in WordPress is by modifying your php.ini file.

The php.ini tệp tin is a configuration tệp tin that defines settings for PHP on your server. On many WordPress hosting platforms, you may not see it inside your WordPress folder.

In that case, you can create a new php.ini file inside your WordPress root folder. After that, edit the php.ini file and showroom the following line.

max_execution_time = 60Don’t forget to lớn save và upload your changes back khổng lồ the server. You can now visit your website và to see if the error has gone.

In most cases, increasing maximum execution time using either of these two methods will resolve the error. However if it doesn’t, then you need to contact your WordPress hosting provider for assistance.

We hope this article helped you fix the fatal error: maximum execution time exceeded in WordPress. You may also want to see our guide on how lớn fix the error establishing a database connection in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress đoạn phim tutorials. You can also find us on Twitter và Facebook.


Shares 362 nội dung Tweet tóm tắt pin Facebook Messenger WhatsApp email