Fatal error
-
Using the elementor widget to embed the eventbrite widget.
Fatal error: Uncaught Error: Call to undefined function WidgetForEventbriteAPI\Includes\as_get_scheduled_actions() in /Users/deebryant/Local Sites/standardledger/app/public/wp-content/plugins/widget-for-eventbrite-api/includes/class-eventbrite-api-widget.php on line 75Latest version of WordPress / Display Eventbrite Events / Elementor / Astra theme
PHP 7.4Error coming from this block of code. (I’ve commented it out on my site for now)
widget-for-eventbrite-api/includes/class-eventbrite-api-widget.php
// if ( current_user_can( 'manage_options' ) ) { // $admin_msg = '<div class="wfea error">' . esc_html__( 'Display Eventbrite Plugin Admin Notice! ( this shows to admins only ): ', 'widget-for-eventbrite-api' ) . '</div>'; // $failed_batches = as_get_scheduled_actions( array( // 'group' => 'wfea', // 'status' => ActionScheduler_Store::STATUS_FAILED, // ) ); // if ( !empty($failed_batches) ) { // $html .= $admin_msg . '<div class="wfea error">' . esc_html( 'Background processing has some failed events: ', 'widget_for_eventbrite_api' ) . '<a href="' . admin_url( 'tools.php?page=action-scheduler&status=failed' ) . '">' . esc_html( 'Review the logs for details', 'widget_for_eventbrite_api' ) . '</a>' . '</div>'; // } // }I can’t find this function definition in the plugin code : as_get_scheduled_actions()
Any insights? Does this mean background processing has failed for my site?
The topic ‘Fatal error’ is closed to new replies.