Title: Time out error when saving Elementor Posts
Last modified: June 25, 2021

---

# Time out error when saving Elementor Posts

 *  Resolved [alhuth](https://wordpress.org/support/users/alhuth/)
 * (@alhuth)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/time-out-error-when-saving-elementor-posts/)
 * We have had to disable relevanssi to save some of our elementor pages. The error
   in the file is that relevanssi has timed out – and causes a 500 server error (
   can’t save the page in elementor).
 * Is there anyway to extend the time out for relevanssi? The website is very large
   spanning over multiple years and looks like an indexing issue by relevanssi on
   certain pages when making an update.
 * The error is:
    PHP Fatal error: Maximum execution time of 30 seconds exceeded
   in /wp-content/plugins/relevanssi/lib/utils.php on line 1038

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/time-out-error-when-saving-elementor-posts/#post-14597718)
 * You can adjust the PHP maximum execution time in server PHP settings. [Here’s a guide for doing that](https://www.simplified.guide/php/increase-max-execution-time).
 * However, timing out while saving a single post sounds odd, and would suggest 
   there’s something else wrong there. What do you mean exactly with a “very large”
   website? How many indexed posts? Tens of thousands, hundreds of thousands?
 * How complicated are these pages that can’t be saved? Are there any specific elements
   used in them?
 *  Thread Starter [alhuth](https://wordpress.org/support/users/alhuth/)
 * (@alhuth)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/time-out-error-when-saving-elementor-posts/#post-14605224)
 * Thanks Mikko – adjusting the PHP maximum execution time helped avoid 500 errors
   when saving certain pages.
 * In regards to our indexed posts here are some stats:
    1. Size of wp_relevanssi: 99360
    2. Size of wp_posts: 7744
    3. Size of wp_postmeta: 89272
 * It appears when the relevanssi plugin is enabled – all saving in elementor pro
   on posts & pages extends the time it takes to complete by several seconds, however
   raising the max execution time did avoid 500 server errors. Thank you for your
   response and let me know if there is something we can do to optimize.
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/time-out-error-when-saving-elementor-posts/#post-14605882)
 * Is Relevanssi set to index “all” or “visible” custom fields? If so, try disabling
   that. Does that make the post saving faster?
 *  Thread Starter [alhuth](https://wordpress.org/support/users/alhuth/)
 * (@alhuth)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/time-out-error-when-saving-elementor-posts/#post-14608634)
 * I can confirm that changing custom field indexing to none made saving the posts
   extremely faster. Thank you!!
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/time-out-error-when-saving-elementor-posts/#post-14609707)
 * Very good. Elementor probably has heavy custom fields, so it’s wise to only index
   only the ones that are necessary.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Time out error when saving Elementor Posts’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/time-out-error-when-saving-elementor-posts/#post-14609707)
 * Status: resolved