• Resolved lara323

    (@lara323)


    I am getting this error when I run the woocommerce database update:
    Uncaught ArgumentCountError: Too few arguments to function WC_Install (it continues on for a while after that)

    I have checked and PHP is 7.4+

    It never runs by itself, saying “There was a failure fetching this action”

    So when I learnt you can press “run”, I first got another error to the above, then got the above top error about too few arguments.

    I’ve never had this problem on another site, can anyone help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @lara323

    It appears the Action Scheduler may be failing to execute. Navigate to Tools > Site Health to see if there are any issues there to resolve.

    If resolving those issues do not fix the problem, try switching back to a default theme like Twenty Twenty and disabling all plugins except for WooCommerce to see if this resolves the issue and allows the database to run.

    Here is a link that better outlines that process:

    https://docs.woocommerce.com/document/woocommerce-self-service-guide/#section-4

    If this fixes the issue, then re-enable each plugin one at a time, then the theme, until you find the one that’s causing the conflict.

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hello @lara323

    We’ll mark this thread as resolved now that we haven’t heard back. Please feel free to open a new thread if you have any additional questions or concerns.

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Database update fails when manually ran and fails to fetch when left to run’ is closed to new replies.