Synced gcal events causing max_input_vars errors

Issue #518 resolved
Valentina R created an issue

While increasing max_input_vars does resolve the issue for now, I consider it a workaround and request that perhaps the developers look at saving this data in a different way, instead of one huge form. At this rate it won’t take long for me to run into php execution time errors. Inspecting the data in the network tab shows most of the form rules are for availability rules, and a lot of the rules are for dates that are already passed. I think that once the time frame for a gcal synced availability rule is passed it can be deleted (only the rule, please, not also the google calendar event itself that happens when I manually delete one of these synced rules).

Reported here: https://bookingwp.com/forums/topic/synced-gcal-events-causing-max_input_vars-errors/

and here: https://bookingwp.com/forums/topic/error-message-after-update-to-4-4-9-3/

Comments (4)

  1. Željan Topić

    Initially, we’ll split gcal rules and availability rules, which should reduce it a bit. After that rules will be saved through Ajax individually - this will eliminate all issues.

  2. Log in to comment