I reported this problem to @msykes and so I’m assuming it will be fixed in the next version. Meanwhile to fix this make the following changes.
In wp-content/plugins/events-manager/templates/forms/event/when.php change line 11 from this:
<?php if ( $EM_Event->is_recurring( true ) ): ?>
To this:
<?php if ( $EM_Event && $EM_Event->is_recurring( true ) ): ?>
Then in wp-content/plugins/events-manager/templates/forms/event/when/times.php change line 11 from this:
$Timeranges->get_first()->allow_timeslots = false;
To this:
if ($Timeranges->get_first()) {
$Timeranges->get_first()->allow_timeslots = false;
}
The above change eliminates to fatal error. However, I still have problems creating a repeating event. Here’s the error I see:
Your event details are incorrect and recurrences cannot be created, please correct these errors first:
Main recurrence set times are required.
Maybe the best solution is to revert back to version 7.1.7 until these issues are fixed. You can use the WP Rollback plugin to rollback to the earlier version.
-
This reply was modified 6 months ago by
joneiseman.
-
This reply was modified 6 months ago by
joneiseman.
Plugin Author
Marcus
(@msykes)
Hello, we’ve had a lot of reports for this, so updating a few threads at once 🙂 7.2.2 should fix the problem, thanks!