Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 32768 bytes) in /home/strivesi/public_html/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/LegacyDataHandler.php on line 1

Fatal error: Uncaught Error: Call to a member function is_enqueued() on null in /home/strivesi/public_html/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/LegacyDataCleanup.php:317 Stack trace: #0 [internal function]: Automattic\WooCommerce\Internal\DataStores\Orders\LegacyDataCleanup->maybe_reset_state('') #1 /home/strivesi/public_html/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php(158): call_user_func_array(Array, Array) #2 /home/strivesi/public_html/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\DataStores\Orders\LegacyDataCleanup->__call('maybe_reset_sta...', Array) #3 /home/strivesi/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #4 /home/strivesi/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #5 /home/strivesi/public_html/wp-includes/load.php(1270): do_action('shutdown') #6 [internal function]: shutdown_action_hook() #7 {main} thrown in /home/strivesi/public_html/wp-content/plugins/woocommerce/src/Internal/DataStores/Orders/LegacyDataCleanup.php on line 317