Uncaught TypeError: EventsCalendar::deactivate_logic()
-
Hi!
After Upgrading to 2.4.3 a lot of my The Events Calender-Events are broken.
Error:
Uncaught TypeError: Legacy\EmailEncoderBundle\Integration\EventsCalendar::deactivate_logic(): Argument #1 ($filtered_email) must be of type string, null given, called
I reviewed the coding. This was changed in plugins/email-encoder-bundle/core/includes/integrations/classes/the_events_calendar.php:
OLD:
public function deactivate_logic( $filtered_email, $unfiltered_email ) {
return $unfiltered_email;
}NEW:
public function deactivate_logic( string $filtered_email, string $unfiltered_email ): string {
return $unfiltered_email;
}
You must be logged in to reply to this topic.