• Resolved khmubashar

    (@khmubashar)


    We are using woocommerce rest api and connected with third party ERP. But some time it show orders api url with null value specially if we modify api url with other parameter e.g. &status=completed etc.. But when i check the debug error report its show up the following warning i dont why?

    [20-Jan-2020 10:29:15 UTC] PHP Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘PLLWC_REST_Product’ does not have a method ‘query’ in /var/www/html/wp-includes/class-wp-hook.php on line 288
    [20-Jan-2020 10:29:15 UTC] PHP Notice: Undefined index: orderby in /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-rest-api/src/Controllers/Version3/class-wc-rest-posts-controller.php on line 529
    [20-Jan-2020 10:29:15 UTC] PHP Notice: Undefined index: orderby in /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-rest-api/src/Controllers/Version3/class-wc-rest-posts-controller.php on line 531
    [20-Jan-2020 10:29:15 UTC] PHP Notice: Undefined index: orderby in /var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-rest-api/src/Controllers/Version3/class-wc-rest-posts-controller.php on line 533

    • This topic was modified 4 years, 10 months ago by khmubashar.
    • This topic was modified 4 years, 10 months ago by khmubashar.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support RK a11n

    (@riaanknoetze)

    Hi there,

    When working through the error log here, this seems to be related to the custom API integration you’ve got – specifically in relation to PLLWC_REST_Product class.

    While we don’t have any direct access to your website or the underlying status report, it might be worthwhile reviewing the code that integrates with WC API.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved. Feel free to start a new thread if you have any further questions!

    Thread Starter khmubashar

    (@khmubashar)

    Thanks for your Support & appreciate your immediate response @apmwebdev @riaanknoetze I figure it out.
    Thank You!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘There is PHP Warning showing call_user_func_array() expects parameter.’ is closed to new replies.