• Error Message:


    function eg_define_custom_user_agent( $args ) {
    $versions = ActionScheduler_Versions::instance();
    $args['user-agent'] = 'Action Scheduler/' . $versions->latest_version();

    return $args;
    }
    add_filter( 'as_async_request_queue_runner_post_args', 'eg_define_custom_user_agent', 10, 1 );

    I have no idea how to remedy this.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Rezwan Shiblu

    (@rezwanshiblu1952)

    That block you pasted looks like a code snippet, not an actual error message. Could you share the exact error text you’re seeing, and where it shows up? A screenshot of the Scheduled Actions screen with the past due items would help too.

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi @dougklim

    I understand that you’re seeing 77 past-due actions in Action Scheduler and are unsure how to address the issue.

    The code you shared appears to be a custom filter that modifies the user-agent used by Action Scheduler when processing its background queue. To determine why these actions are past due and whether this code is related, Could you please let us know where exactly you’re seeing this error message and what action you’re taking when it appears?

    To help us investigate further, please also share:

    • Your WooCommerce → Status → System Status Report.
    • The relevant fatal error log from WooCommerce → Status → Logs.

    You can share the logs using Pastebin and enable the Burn After Read option so the information is automatically removed after it has been viewed.

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.