WooCommerce REST API 500 Error
-
This endpoint should return
[]in json format
however when 404page plugin is active, it produces a 500 internal server error instead.
Error Log: when 404page plugin is active.
[20-Oct-2018 11:16:31 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_id() on boolean in /home/druid/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-rest-crud-controller.php:358 Stack trace: #0 /home/druid/public_html/wp-includes/rest-api/class-wp-rest-server.php(936): WC_REST_CRUD_Controller->get_items(Object(WP_REST_Request)) #1 /home/druid/public_html/wp-includes/rest-api/class-wp-rest-server.php(321): WP_REST_Server->dispatch(Object(WP_REST_Request)) #2 /home/druid/public_html/wp-includes/rest-api.php(266): WP_REST_Server->serve_request('/wc/v2/products') #3 /home/druid/public_html/wp-includes/class-wp-hook.php(286): rest_api_loaded(Object(WP)) #4 /home/druid/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #5 /home/druid/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array) #6 /home/druid/public_html/wp-includes/class-wp.php(373): do_action_ref_array('parse_request', Array) #7 /home/druid/public_html/wp-includes/class-wp.php(713): WP->parse_request('') #8 in /home/druid/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-rest-crud-controller.php on line 358
- This topic was modified 6 years, 5 months ago by .
- This topic was modified 6 years, 5 months ago by .
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WooCommerce REST API 500 Error’ is closed to new replies.