• Resolved darrenc4

    (@darrenc4)


    Hi,

    we had this warning/error logs on some of our websites.

    PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘filter_upsells_order’ not found or invalid function name in /home/augertor/public_html/wp-includes/class-wp-hook.php on line 307

Viewing 3 replies - 1 through 3 (of 3 total)
  • Roxy

    (@roxannestoltz)

    Hi @darrenc4 ,

    Thanks for reaching out!

    This would indicate that some function named filter_upsells_order was passed to call_user_func_array, however that function was not found. You can read about the PHP call_user_func_array function here:
    https://www.php.net/manual/en/function.call-user-func-array.php

    This could be coming from a plugin that you currently have active on your sites. As a first step, please could you disable all plugins except for WooCommerce and see if the problem persists?

    If the problem is no longer present, to figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each until you find the one causing conflict.

    Additionally, if you have any custom code added to your sites, please also temporarily disable this to see if this makes any difference?

    If the issue is still not resolved after this, please could you share a copy of the following:

    – System status report: WooCommerce > Status. Select ‘Get system report’ and then ‘Copy for support’.
    – Fatal errors: a copy of any fatal error log found under WooCommerce > Status > Logs

    Once you do this, you can paste your response here.

    Thanks!

    Hello,

    Can you describe the steps made on your site for this warning to be visible?

    I’d need to ask for additional pieces of information in order to get a better idea, please provide the following:

    — Share a copy of any fatal error log found under WooCommerce > System Status > Logs (if any).

    • This reply was modified 2 years, 8 months ago by Igor H.

    We haven’t heard back from you in a while, (I think that you have been able to find a solution) so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Best.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘filter_upsells_order’ is closed to new replies.