Home / Forums / WoodMart support forum / Multiple fatal errors after updates – DraftOrders + woodmart_get_default_image
Home › Forums › WoodMart support forum › Multiple fatal errors after updates – DraftOrders + woodmart_get_default_image
Multiple fatal errors after updates – DraftOrders + woodmart_get_default_image
- This topic has 3 replies, 2 voices, and was last updated 1 month ago by
Artem Temos.
-
AuthorPosts
-
November 5, 2025 at 4:26 pm #694474
paveld73ParticipantHi,
We are facing several critical errors after recent updates of WooCommerce and WoodMart.
The website goes down randomly with different fatal errors related to Action Scheduler and missing WoodMart functions.Errors observed:
1. Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, function “as_next_scheduled_action” not found
2. Fatal error: Call to undefined function woodmart_get_default_image_sizes()
3. Fatal error: Call to undefined function as_has_scheduled_action()
4. Fatal error: Call to undefined function as_get_datetime_object()Environment:
WordPress (latest version)
WooCommerce (latest)
WoodMart (latest)
PHP 8.x
Plugins: WP Rocket, WoodMart Core, Drip Gang Sheet (custom plugin), PIC Plugin (product image customization)
What we’ve tried:
Full cache purge (WP Rocket + server)
Deactivated all plugins except WooCommerce + WoodMart
Reinstalled WooCommerce (including Action Scheduler package)
Switched to Storefront → all errors disappear
Reinstalled WoodMart from ThemeForest (fresh copy)
Additional notes:
The as_* functions (Action Scheduler) seem to be unavailable during theme init.
The woodmart_get_default_image_sizes() error happens during init hook in woodmart_register_page_metaboxes.
The issues occur intermittently when both Drip Gang Sheet and PIC Plugin are active.
Could you please check if there is any known issue with the latest WoodMart version loading WooCommerce hooks or Action Scheduler too early, or any compatibility issue with DraftOrders, Drip Gang Sheet, or PIC Plugin?
Thank you very much for your help!
November 5, 2025 at 5:31 pm #694485
Artem TemosKeymasterHello,
Thank you so much for contacting our support center.
To better assist you, could you kindly test the functionality with default WordPress themes such as TwentyTwenty or WooCommerce Storefront? This will help us determine whether the issue stems from our theme or elsewhere.
Regards
November 5, 2025 at 7:11 pm #694501
paveld73ParticipantHi Artem,
I already tested with the default WordPress themes (Twenty Twenty-Four and Storefront) everything works fine there.
The issue only happens when WoodMart + WooCommerce + the GangSheet plugin are active at the same time.
If I deactivate either WooCommerce or GangSheet, the site works normally again.So it seems to be a conflict between WoodMart and WooCommerce, possibly triggered by how the theme calls woodmart_get_default_image() or another WooCommerce-related function.
Could you please check if there are any recent changes in WoodMart that affect image handling or WooCommerce hooks?
November 6, 2025 at 10:10 am #694555
Artem TemosKeymasterHello,
Since the errors only occur when WoodMart and the Drip Gang Sheet plugin are active together, it is very likely a compatibility issue caused by the custom plugin. WoodMart’s core functions and WooCommerce hooks are stable and have not introduced changes that would cause such fatal errors.
We recommend consulting with the developers of the Drip Gang Sheet plugin to investigate how it interacts with WooCommerce and WoodMart, especially regarding the timing of WooCommerce hooks and image functions. They may need to adjust their plugin’s initialization to ensure compatibility.
Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register