There is PHP Warning showing call_user_func_array() expects parameter.
-
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 .
- This topic was modified 4 years, 10 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘There is PHP Warning showing call_user_func_array() expects parameter.’ is closed to new replies.