Conversation
supportHi, after the plugin was enabled, we are unable to use woocopmmerce products api. v3. Error log : Error stack: AxiosError: Request failed with status code 500 at settle (file:///Volumes/Mac%20SSD%20Ex/GitHub/ecma-catalog/node_modules/axios/lib/core/settle.js:19:12) at Unzip.handleStreamEnd (file:///Volumes/Mac%20SSD%20Ex/GitHub/ecma-catalog/node_modules/axios/lib/adapters/http.js:599:11) at Unzip.emit (node:events:531:35) at endReadableNT (node:internal/streams/readable:1696:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (file:///Volumes/Mac%20SSD%20Ex/GitHub/ecma-catalog/node_modules/axios/lib/core/Axios.js:45:41) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async processProduct (/Volumes/Mac SSD Ex/GitHub/ecma-catalog/lib/queue/wpProductTask.ts:592:24) at async Module.updateWooCommerceProducts (/Volumes/Mac SSD Ex/GitHub/ecma-catalog/lib/queue/wpProductTask.ts:1114:22) at async Worker.Worker.connection.connection (/Volumes/Mac SSD Ex/GitHub/ecma-catalog/lib/queue/worker.ts:159:16) at async Worker.processJob (/Volumes/Mac SSD Ex/GitHub/ecma-catalog/node_modules/bullmq/src/classes/worker.ts:807:22) at async Worker.retryIfFailed (/Volumes/Mac SSD Ex/GitHub/ecma-catalog/node_modules/bullmq/src/classes/worker.ts:1009:16) Axios error response: Fatal error : Uncaught Error: Call to a member function get() on null in /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/wmodes-cart-session.php:164 Stack trace: 0 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/wmodes-cart-session.php(94): WModes_Cart_Session->process_customer() 1 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/wmodes-cart-session.php(39): WModes_Cart_Session->get_default_cart_data() 2 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/wmodes-cart.php(34): WModes_Cart_Session->get_cart_data() 3 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/wmodes-cart.php(27): WModes_Cart->get_all_data() 4 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/modules/catalog-mode/catalog-mode-engine.php(279): WModes_Cart::get_data() 5 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/modules/catalog-mode/catalog-mode-engine.php(149): WModes_Catalog_Mode_Engine->get_valid_options() 6 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/modules/catalog-mode/catalog-mode-engine.php(85): WModes_Catalog_Mode_Engine->process_modes() 7 /home/ecma.local/public_html/wp-includes/class-wp-hook.php(324): WModes_Catalog_Mode_Engine->process_product_data() 8 /home/ecma.local/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 9 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/wmodes.php(134): apply_filters() 10 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/wmodes.php(56): WModes::process_product_data() 11 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/pipelines/pipeline.php(67): WModes->get_product_data() 12 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/pipelines/pipeline.php(117): WModes_Pipeline::run_product_data() 13 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/pipelines/pipeline-option-stock.php(58): WModes_Pipeline::get_product_option() 14 /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/pipelines/pipeline-option-stock.php(27): WModes_Pipeline_Stock->get_options() 15 /home/ecma.local/public_html/wp-includes/class-wp-hook.php(324): WModes_Pipeline_Stock->get_manage_stock() 16 /home/ecma.local/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters() 17 /home/ecma.local/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-data.php(884): apply_filters() 18 /home/ecma.local/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(366): WC_Data->get_prop() 19 /home/ecma.local/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1421): WC_Product->get_manage_stock() 20 /home/ecma.local/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php(1449): WC_Product->validate_props() 21 /home/ecma.local/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php(170): WC_Product->save() 22 /home/ecma.local/public_html/wp-content/plugins/woocommerce/includes/rest-api/Controllers/Version3/class-wc-rest-crud-controller.php(205): WC_REST_CRUD_Controller->save_object() 23 /home/ecma.local/public_html/wp-includes/rest-api/class-wp-rest-server.php(1230): WC_REST_CRUD_Controller->create_item() 24 /home/ecma.local/public_html/wp-includes/rest-api/class-wp-rest-server.php(1063): WP_REST_Server->respond_to_request() 25 /home/ecmapro.local/public_html/wp-includes/rest-api/class-wp-rest-server.php(439): WP_REST_Server->dispatch() 26 /home/ecmap.local/public_html/wp-includes/rest-api.php(420): WP_REST_Server->serve_request() 27 /home/ecma.local/public_html/wp-includes/class-wp-hook.php(324): rest_api_loaded() 28 /home/ecma.local/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 29 /home/ecma.local/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 30 /home/ecma.local/public_html/wp-includes/class-wp.php(418): do_action_ref_array() 31 /home/ecma.local/public_html/wp-includes/class-wp.php(813): WP->parse_request() 32 /home/ecma.local/public_html/wp-includes/functions.php(1336): WP->main() 33 /home/ecma.local/public_html/wp-blog-header.php(16): wp() 34 /home/ecma.local/public_html/index.php(17): require('…') 35 {main} thrown in /home/ecma.local/public_html/wp-content/plugins/catalog-mode-pricing-enquiry-forms-promotions/main/public/wmodes-cart-session.php on line 164 {"code":"internal_server_error","message":" Il y a eu une erreur critique sur ce site.<\/p> This topic was modified 1 year, 8 months ago by colevr .
No comments were stored for this source.