WPIntell

Source evidence

Fatal Error Call to undefined function as_has_scheduled_action()

FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce · support · 2023-06-16T20:12:00+00:00

mixedsentiment
highseverity
0.89relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 36 rows with source links

16.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

30 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Luciano Castro resolved
Hello, I’ve just encountered an issue with your plugin that was stopping my clients from buying upsells PHP Fatal error: Uncaught Error: Call to undefined function as_has_scheduled_action() in /public_html/wp-content/plugins/wp-marketing-automations/woofunnels/contact/class-woofunnels-db-updater.php:1163 Stack trace: 0 /home/710205.cloudwaysapps.com/kcctzesgcr/public_html/wp-content/plugins/wp-marketing-automations/woofunnels/contact/class-woofunnels-db-updater.php(1135): WooFunnels_DB_Updater->schedule_order_reindex_action() 1 /home/710205.cloudwaysapps.com/kcctzesgcr/public_html/wp-includes/class-wp-hook.php(310): WooFunnels_DB_Updater->bwf_update_cancel_order() 2 /home/710205.cloudwaysapps.com/kcctzesgcr/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 3 /home/710205.cloudwaysapps.com/kcctzesgcr/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 4 /home/710205.cloudwaysapps.com/kcctzesgcr/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(397): do_action() 5 /home/710205.cloudwaysapps.com/kcctzesgcr/public_html/wp-content/pl in /home/710205.cloudwaysapps.com/kcctzesgcr/public_html/wp-content/plugins/wp-marketing-automations/woofunnels/contact/class-woofunnels-db-updater.php on line 1163 I added a check on this file wp-content/plugins/wp-marketing-automations/woofunnels/contact/class-woofunnels-db-updater.php to make sure the function exists before it runs, and now my error is gone if (function_exists(‘as_has_scheduled_action’)) { if ( ! as_has_scheduled_action( $hook, $args, ‘funnelkit’ ) ) { as_schedule_recurring_action( time(), 60, $hook, $args, ‘funnelkit’ ); } } But I think this is worth looking into, my site has virtually no custom development and it doesn’t seem to be a plugin conflict, so IDK why that function is not available on my install, any help is appreciated. Hi Luciano @luchomatic Thanks for notifying the issue. That is strange, we can definitely add the check but that function exists inside our product already so how it can’t be available when called. Will check it out. Thanks!

Comments

1 shown
Aman 2023-06-20T09:03:00+00:00

Hi Luciano @luchomatic Thanks for notifying the issue. That is strange, we can definitely add the check but that function exists inside our product already so how it can’t be available when called. Will check it out. Thanks!