Installed Plugins:
The Events Calendar v5.8.2 issue starts in v5.5.0.1
Toolset Blocks: v1.6
Toolset Forms: v2.6.10
Toolset Types: v3.4.11
Theme: Twenty Twenty-One v1.4
WordPress: v5.8
PHP 7.4.6
---
When I create a Post Form & Content Template in Toolset and have it set to edit on a front-end page using the below post form with The Event Calendar version 5.5.0.1 or greater installed the data does not save.
Last version of The Event Calendar to work: 5.5.0
Issues start occurring when The Event Calendar version 5.5.0.1 is installed.
The issue occurred when The Event Calendar team removed a single line from the the following file:
The Event Calendar v5.5.0 vs. v5.5.0.1
/plugins/the-events-calendar/common/src/Tribe/Widget/Widget_Abstract.php:138
The Event Calendar changelog for version 5.5.0.1:
hidden link
Please see screenshots for post form and content template settings.
Post Form Used:
[credform]
<div class="container-fluid">
<div class="row">
<div class="form-group col-md-9 ml-0 mr-0">
<div class="row">
<div class="form-group col-md-6">
<label>[cred_i18n name='post_title-label']Organization Title[/cred_i18n]<span class="required">(required)</span></label>
[cred_field field='post_title' required='true' validate_text='Organization Title Required' class='form-control' output='bootstrap']
</div>
</div>
</div>
<div class="row">
<div class="col align-self-end">
[cred_field field='form_submit' output='bootstrap' value='Submit' class='btn btn-primary btn-lg']
</div>
</div>
</div>
[/credform]
I've managed to temporarily fix the issue by adding `$this->setup();` to /plugins/the-events-calendar/common/src/Tribe/Widget/Widget_Abstract.php:138
I've tested this in a clean install of WordPress with only the provided plugins installed. I'm not sure if this is a problem with Toolset expecting this event calendar widget to load or if it's a problem on the event calendar side. The issue only occurs when The Event Calendar at v5.5.0.1 or newer is installed.
Is this a known issue or do you have any assistance you can provide?
I’ve submitted this ticket to both plugin vendors.