Title: Critical Error
Last modified: August 9, 2021

---

# Critical Error

 *  [abdulraheem222](https://wordpress.org/support/users/abdulraheem222/)
 * (@abdulraheem222)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/critical-error-224/)
 * Hi, iam getting below error in my wordpress site. please help.
 *     ```
       WordPress version 5.8
       Current theme: OceanWP (version 2.1.1)
       Current plugin: WooCommerce (version 5.5.2)
       PHP version 7.3.12
   
       Error Details
       =============
       An error of type E_ERROR was caused in line 127 of the file /var/www/wp-content/plugins/woocommerce/includes/queue/class-wc-action-queue.php. Error message: Uncaught Error: Call to undefined function as_next_scheduled_action() in /var/www/wp-content/plugins/woocommerce/includes/queue/class-wc-action-queue.php:127
       Stack trace:
       #0 /var/www/wp-content/plugins/woocommerce/includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php(200): WC_Action_Queue->get_next('woocommerce_upd...')
       #1 /var/www/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-assets.php(473): WC_Marketplace_Suggestions::get_suggestions_api_data()
       #2 /var/www/wp-includes/class-wp-hook.php(303): WC_Admin_Assets->admin_scripts('edit.php')
       #3 /var/www/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(NULL, Array)
       #4 /var/www/wp-includes/plugin.php(470): WP_Hook->do_action(Array)
       #5 /var/www/wp-admin/admin-header.php(102): do_action('admin_enqueue_s...', 'edit.php')
       #6 /var/www/wp-admin/edit.php(396): require_once('/var/www/wp-adm...')
       #7 {main}
         thrown
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-error-224%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Ian Sackofwits](https://wordpress.org/support/users/plantprogrammer/)
 * (@plantprogrammer)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/critical-error-224/#post-14748231)
 * Hi, abdulraheem222, since this is related to the WooCommerce, I would recommend
   creating a new support topic in the WooCommerce support threads as their support
   community would be best able to assist you with this issue:
    [https://wordpress.org/support/plugin/woocommerce/#new-topic-0](https://wordpress.org/support/plugin/woocommerce/#new-topic-0)

Viewing 1 replies (of 1 total)

The topic ‘Critical Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Ian Sackofwits](https://wordpress.org/support/users/plantprogrammer/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/critical-error-224/#post-14748231)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
