• I’m trying to evaluate the Newsletter Plugin but any attempt to use it throws a generic error modal. The only content of the modal is ‘error’. I’ve disabled all other plugins other than Akismet and Events Calendar & Events Calendar Pro but no dice. Same error.

    From the logs it might be a problem with recurring events.

    Here are the error logs —

    PHP Fatal error:??Uncaught TypeError: TEC\Events_Pro\Custom_Tables\V1\Updates\Controller::add_off_pattern_flag_to_rule(): Return value must be of type array?string returned in /srv/htdocs/wp-content/plugins/events-calendar-pro/src/Events_Pro/Custom_Tables/V1/Traits/With_Event_Recurrence.php:430Stack trace:#0 /srv/htdocs/wp-content/plugins/events-calendar-pro/src/Events_Pro/Custom_Tables/V1/Traits/With_Event_Recurrence.php(495): TEC\Events_Pro\Custom_Tables\V1\Updates\Controller->add_off_pattern_flag_to_rule(‘1’56568?false)#1 [internal function]: TEC\Events_Pro\Custom_Tables\V1\Updates\Controller->TEC\Events_Pro\Custom_Tables\V1\Traits\{closure}(‘1’)#2 /srv/htdocs/wp-content/plugins/events-calendar-pro/src/Events_Pro/Custom_Tables/V1/Traits/With_Event_Recurrence.php(496): array_map(Object(Closure)?Array)#3 /srv/htdocs/wp-content/plugins/events-calendar-pro/src/Events_Pro/Custom_Tables/V1/Updates/Provider.php(524): TEC\Events_Pro\Custom_Tables\V1\Updates\Controller->add_off_pattern_flag_to_meta_value(Array?56568)#4 /wordpress/core/6.2/wp-includes/class-wp-hook.php(308): TEC\Events_Pro\Custom_Tables\V1\Updates\Provider->add_off_pattern_start_flag(Array?56568)#5 /wordpress/core/6.2/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array?Array)#6 /srv/htdocs/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence/Meta.php(854): apply_filters(‘tec_events_pro_…’?Array?56568)#7 /srv/htdocs/wp-content/plugins/events-calendar-pro/src/Tribe/Recurrence/Meta.php(1381): Tribe__Events__Pro__Recurrence__Meta::getRecurrenceMeta(56568)#8 /srv/htdocs/wp-content/plugins/events-calendar-pro/src/functions/template-tags/general.php(139): Tribe__Events__Pro__Recurrence__Meta::recurrenceToTextByPost(56568)#9 /srv/htdocs/wp-content/plugins/event-calendar-newsletter/includes/ecncalendarfeedtheeventscalendar.class.php(123): tribe_get_recurrence_text()#10 /srv/htdocs/wp-content/plugins/event-calendar-newsletter/includes/ecnadmin.class.php(419): ECNCalendarFeedTheEventsCalendar->get_events(16805664001688428800?Array)#11 /srv/htdocs/wp-content/plugins/event-calendar-newsletter/includes/ecnadmin.class.php(377): ECNAdmin->get_events(Array)#12 /srv/htdocs/wp-content/plugins/event-calendar-newsletter/includes/ecnadmin.class.php(357): ECNAdmin->get_output_from_data(Array)#13 /srv/htdocs/wp-content/plugins/event-calendar-newsletter/includes/ecnadmin.class.php(290): ECNAdmin->process_output(Array)#14 /wordpress/core/6.2/wp-includes/class-wp-hook.php(308): ECNAdmin->ajax_fetch_events(”)#15 /wordpress/core/6.2/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”?Array)#16 /wordpress/core/6.2/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#17 /wordpress/core/6.2/wp-admin/admin-ajax.php(188): do_action(‘wp_ajax_fetch_e…’)

Viewing 1 replies (of 1 total)
  • Plugin Author Brian Hogg

    (@brianhogg)

    Hi @dharrod !

    Thanks for the message. Yes, it does appear to be some data that isn’t formed correctly with one or more recurring events when we try to fetch it (using the function they provide to do so). While we don’t maintain and didn’t create The Events Calendar PRO, we can try to pass along details to them. Alternatively you can open a support ticket with them here:

    https://theeventscalendar.com/support/

    From speaking with someone at StellarWP (makers of The Events Calendar), there might be something corrupted in the rule data. If they are able to get the _EventRecurrence data for that event, it would give them some more insight. Is that something you’re able to provide?

    Cheers!

Viewing 1 replies (of 1 total)
  • The topic ‘Error on generating content’ is closed to new replies.