• Resolved alhuth

    (@alhuth)


    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

    (@msaari)

    You can adjust the PHP maximum execution time in server PHP settings. Here’s a guide for doing that.

    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

    (@alhuth)

    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

    (@msaari)

    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

    (@alhuth)

    I can confirm that changing custom field indexing to none made saving the posts extremely faster. Thank you!!

    Plugin Author Mikko Saari

    (@msaari)

    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.