• Resolved Endymion00

    (@endymion00)


    Starting a new thread as requested from here:
    https://wordpress.org/support/topic/when-activiated-woocommerce-does-not-work-fatal-error/

    I’m not the primary developer for the site with the issue so I don’t know all of what they have going on that’s the specific trigger. Likely some Woocommerce process that happens after some time.

    After updating to 3.9.0 and some delay, the login and pages of the site started crashing.

    [13-Sep-2023 11:48:12 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method ActionScheduler_ActionFactory::create() in /wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/functions.php:94
    Stack trace:
    #0 /wp-content/plugins/audience-manager/includes/libraries/woocommerce/action-scheduler/classes/migration/Scheduler.php(89): as_schedule_single_action(1694605752, 'action_schedule...', Array, 'action-schedule...')
    #1 /wp-content/plugins/audience-manager/includes/libraries/woocommerce/action-scheduler/classes/migration/Controller.php(119): Action_Scheduler\Migration\Scheduler->schedule_migration()
    #2 /wp-includes/class-wp-hook.php(310): Action_Scheduler\Migration\Controller->schedule_migration('')
    #3 /wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
    #4 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #5 /wp-settings.php(654): do_ in /wp-content/plugins/wp-mail-smtp/vendor/woocommerce/action-scheduler/functions.php on line 94

    Errors were generated with these versions:

    Woocommerce 8.0.3 – ActionScheduler 3.6.1
    WP Mail SMTP 3.9.0 – ActionScheduler 3.6.1

    Reverted to WP Mail SMTP and issue went away.

    Woocommerce 8.0.3 – ActionScheduler 3.6.1
    WP Mail SMTP 3.8.2 – ActionScheduler 3.5.4

    Haven’t tested:

    Woocommerce 8.1.0 – ActionScheduler 3.6.2
    WP Mail SMTP 3.9.0 – ActionScheduler 3.6.1

    Unfortunately this site has some outdated software that’s outside of my control until the developer improves their customizations so it doens’t break when more recent versions. So this may be a factor, although we have been keeping Woocommerce relatively up-to-date.

    WordPress 6.3.1
    Woocommerce 8.0.3
    PHP 7.4.33

    Active plugins:

    Admin Menu Editor 1.11.1 by Janis Elsts
    Admin Trim Interface 3.5.1 by Scott Reilly
    Advanced Custom Fields PRO 6.2.1.1 by WP Engine
    All In One WP Security 5.2.4 by All In One WP Security & Firewall Team
    Antispam Bee 2.11.4 by pluginkollektiv
    Audience Manager 1.0.0 by WordPress
    Better Notifications for WP 1.9.3 by Made with Fuel
    Classic Editor 1.6.3 by WordPress Contributors | Auto-updates enabled
    Code Snippets 3.5.0 by Code Snippets Pro
    Contact Form 7 5.8 by Takayuki Miyoshi
    Contact Form CFDB7 1.2.6.7 by Arshid
    Crop Thumbnails 1.7.2 by Volkmar Kantor
    Disable auto-update Email Notifications 1.4.0 by Blogies Tools
    Disable XML-RPC Pingback 1.2.2 by Samuel Aguilera
    Download Plugin 2.0.5 by metagauss
    Easy Updates Manager 9.0.17
    Elementor 3.16.2
    Elementor Pro 3.16.0
    EWWW Image Optimizer 7.2.1
    GA Google Analytics 20230721
    Geolocation IP Detection 5.3.1
    GTM4WP 1.18.1
    Hala Member Count Shortcode .2
    Import Users from CSV 1.1
    Interactive Geo Maps PRO 1.5.6
    Login as User 1.4.7
    Login or Logout Menu Item 1.2.3
    LoginPress - Customizing the WordPress Login Screen. 1.8.0
    LoginWP (Formerly Peter's Login Redirect) 3.0.8.5
    Meta pixel for WordPress 3.0.13
    Order / Coupon / Subscription Export Import Plugin for WooCommerce 2.4.4
    Page Restrict 2.5.5
    Paid Memberships Pro 2.10.3
    Paid Memberships Pro - Add Member From Admin 0.7.1
    Paid Memberships Pro - Add Name to Checkout Add On 0.6.1
    Paid Memberships Pro - Advanced Levels Page Shortcode Add On 0.2.5
    Paid Memberships Pro - Custom Level Cost Text Add On 0.4.1
    Paid Memberships Pro - Import Users from CSV Add On 0.4
    Paid Memberships Pro - Mailchimp Add On 2.3.3
    Paid Memberships Pro - Set Expiration Dates Add On 0.6.1
    Paid Memberships Pro - Shipping Add On 1.1
    Paid Memberships Pro - Sponsored Members Add On 0.10.2
    Paid Memberships Pro - Subscription Delays Add On 0.5.5
    PMPro Members Custom 1.1.0
    PMPro Redirect .2
    Robots.txt Editor 1.1.4
    Shortcodes Ultimate 5.13.2
    Toolset Types 2.3.5
    User Menus 1.3.2
    User Role Editor 4.64
    W3 Total Cache 2.4.1
    Wordfence Security 7.10.3
    WordPress Importer 0.8.1
    WP All Export - User Export Add-On Pro 1.0.4
    WP All Export - WooCommerce Export Add-On Pro 1.0.8
    WP All Export Pro 1.8.5
    WP FullCalendar 1.5
    WP Magic Link Login 1.5.8
    WP Mail Log 1.1.2
    WP Mail SMTP 3.8.2 currently 3.9.0 when it was crashing
    WP Rollback 1.7.3
    WP Table Builder 1.4.11
    Yoast SEO 21.1
    YotuWP - YouTube Gallery
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Endymion00

    (@endymion00)

    I was just digging into the site more closely. I didn’t realize they no longer even used Woocommerce. It’s installed but not active. The Audience Manager plugin is a mystery and highly suspect. It doesn’t have proper author and other information and I can’t seem to find it only other than 1 or 2 other people asking what it is as well. Going to inquire with my client and their developers to see if this is a homespun plugin or if they don’t know either.

    Plugin Support Dake

    (@dakeg)

    Hi @endymion00

    Thank you for sharing the requested information.

    Considering your follow-up message, is there a chance that you can create a staging website based on your client’s website to confirm if the issue persists when all plugins, your theme etc. are up to date?

    Thread Starter Endymion00

    (@endymion00)

    We’ve removed the Audience Manager plugin. It may have been used by WooNinjas which had done some work for them, not always with the best results, so I wouldn’t be surprised if some old custom plugin was causing an issue.

    I won’t be re-updating the WP Mail SMTP plugin until the weekend at a less potentially disruptive time.

    Since the Audience Manager plugin also had it’s own copy of Action Scheduler at 3.5.4 for use with Woocommerce and Woocommerce itself was no longer in use, it seems that it would be the prime suspect for causing some issue.

    I’ll report back over the weekend once WP Mail SMTP is updated and hopefully confirm no longer crashing.

    Thread Starter Endymion00

    (@endymion00)

    Confirming that removing that left behind Audience Manager plugin appears to have done the trick and there’s no longer any crashes.

    Plugin Support Dake

    (@dakeg)

    Hi @endymion00

    Thank you very much for getting back to us and confirming that the issue was related to the Audience Manager plugin.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Vendor Woocommerce ActionScheduler Fatal Error’ is closed to new replies.