woocommerce / woocommerce

A customizable, open-source ecommerce platform built on WordPress. Build any commerce solution you can imagine.
https://woocommerce.com
9.42k stars 10.77k forks source link

Blank page when creating a wishlist using the REST API #25749

Closed simplenotezy closed 4 years ago

simplenotezy commented 4 years ago

Describe the bug I am sending a POST request to: /wp-json/wc/v3/wishlist/create

I use the JWT Token plugin to authenticate users (not WooCommerce REST API).

I get a blank code 200 response, no matter if I include the authorization code or not.

This is my request:

image

This is my request headers:

image

Why?

Expected behavior A response including the shared key.

Isolating the problem (mark completed items with an [x]):

WordPress Environment

``` ### WordPress Environment ### WordPress address (URL): https://domain.test Site address (URL): https://domain.test WC Version: 3.8.1 REST API Version: ✔ 1.0.2 Log Directory Writable: ✔ WP Version: 5.3.2 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: ✔ WP Cron: ✔ Language: en_US External object cache: – ### Server Environment ### Server Info: nginx/1.17.3 PHP Version: 7.3.9 PHP Post Max Size: 128 MB PHP Time Limit: 180 PHP Max Input Vars: 1000 cURL Version: 7.65.3 OpenSSL/1.1.1d SUHOSIN Installed: – MySQL Version: 5.7.27 Max Upload Size: 128 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 3.8.1 WC Database Prefix: wpf9_ MaxMind GeoIP Database: ❌ The MaxMind GeoIP Database does not exist - Geolocation will not function. You can download and install it manually from https://dev.maxmind.com/geoip/geoip2/geolite2/ to the path: . Scroll down to "Downloads" and download the "MaxMind DB binary gzipped" file next to "GeoLite2 Country". Please remember to uncompress GeoLite2-Country_xxxxxxxx.tar.gz and upload the GeoLite2-Country.mmdb file only. Total Database Size: 699.89MB Database Data Size: 506.87MB Database Index Size: 193.02MB wpf9_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpf9_woocommerce_order_items: Data: 0.13MB + Index: 0.06MB + Engine InnoDB wpf9_woocommerce_order_itemmeta: Data: 1.52MB + Index: 1.97MB + Engine InnoDB wpf9_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpf9_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_blogs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_blog_versions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_comments: Data: 2.52MB + Index: 1.64MB + Engine InnoDB wpf9_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_feedmanager_channel: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_feedmanager_country: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_feedmanager_feed_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_feedmanager_field_categories: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_feedmanager_product_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_feedmanager_product_feedmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_feedmanager_source: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_icl_languages_translations: Data: 0.20MB + Index: 0.13MB + Engine InnoDB wpf9_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_icl_mo_files_domains: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_icl_strings: Data: 5.52MB + Index: 9.00MB + Engine InnoDB wpf9_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_icl_string_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_icl_string_positions: Data: 1.52MB + Index: 0.20MB + Engine InnoDB wpf9_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_icl_string_translations: Data: 1.52MB + Index: 0.53MB + Engine InnoDB wpf9_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_icl_translate: Data: 7.52MB + Index: 1.52MB + Engine InnoDB wpf9_icl_translate_job: Data: 0.48MB + Index: 0.20MB + Engine InnoDB wpf9_icl_translations: Data: 6.52MB + Index: 17.06MB + Engine InnoDB wpf9_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_icl_translation_status: Data: 10.52MB + Index: 0.47MB + Engine InnoDB wpf9_jewellery_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_jewellery_import_status: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_litespeed_img_optm: Data: 34.56MB + Index: 32.20MB + Engine InnoDB wpf9_litespeed_optimizer: Data: 6.52MB + Index: 0.14MB + Engine InnoDB wpf9_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_mclean_refs: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wpf9_mclean_scan: Data: 1.52MB + Index: 0.13MB + Engine InnoDB wpf9_options: Data: 14.38MB + Index: 6.03MB + Engine InnoDB wpf9_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_pinterest_automatic: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_pmlca_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_pmxi_images: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wpf9_pmxi_imports: Data: 2.52MB + Index: 0.00MB + Engine InnoDB wpf9_pmxi_posts: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wpf9_pmxi_templates: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wpf9_postmeta: Data: 360.75MB + Index: 78.23MB + Engine InnoDB wpf9_posts: Data: 17.52MB + Index: 10.06MB + Engine InnoDB wpf9_pprh_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_registration_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_signups: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpf9_site: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_sitemeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wpf9_sm_sync: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_swp_cf: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpf9_swp_index: Data: 6.52MB + Index: 7.03MB + Engine InnoDB wpf9_swp_log: Data: 2.52MB + Index: 5.55MB + Engine InnoDB wpf9_swp_tax: Data: 2.52MB + Index: 4.55MB + Engine InnoDB wpf9_swp_terms: Data: 0.19MB + Index: 0.25MB + Engine InnoDB wpf9_termmeta: Data: 0.22MB + Index: 0.30MB + Engine InnoDB wpf9_terms: Data: 0.31MB + Index: 0.33MB + Engine InnoDB wpf9_term_relationships: Data: 1.52MB + Index: 1.52MB + Engine InnoDB wpf9_term_taxonomy: Data: 0.36MB + Index: 0.36MB + Engine InnoDB wpf9_tinvwl_analytics: Data: 0.09MB + Index: 0.05MB + Engine InnoDB wpf9_tinvwl_items: Data: 0.17MB + Index: 0.00MB + Engine InnoDB wpf9_tinvwl_lists: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wpf9_tinvwl_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_usermeta: Data: 0.31MB + Index: 0.25MB + Engine InnoDB wpf9_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpf9_w3tc_cdn_pathmap: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_w3tc_cdn_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_wc_customer_lookup: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wpf9_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_wc_order_product_lookup: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wpf9_wc_order_stats: Data: 0.09MB + Index: 0.05MB + Engine InnoDB wpf9_wc_order_tax_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wpf9_wc_product_meta_lookup: Data: 3.52MB + Index: 10.09MB + Engine InnoDB wpf9_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_woof_query_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpf9_woos_search_analytics: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wpf9_woos_search_trends: Data: 1.52MB + Index: 1.52MB + Engine InnoDB wpf9_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpf9_wrc_caches: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpf9_wrc_relations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpf9_yoast_seo_links: Data: 0.14MB + Index: 0.06MB + Engine InnoDB wpf9_yoast_seo_meta: Data: 4.52MB + Index: 0.00MB + Engine InnoDB wp_pinterest_automatic: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ❌Error messages should not be shown to visitors. ### Active Plugins (45) ### WPML Multilingual CMS: by OnTheGoSystems – 4.3.6 Yoast SEO Multilingual: by OnTheGoSystems – 1.0.3 Advanced Custom Fields Multilingual: by OnTheGoSystems – 1.5.0 Advanced Custom Fields PRO: by Elliot Condon – 5.8.7 AJAX Thumbnail Rebuild: by junkcoder ristoniinemets – 1.13 Akismet Anti-Spam: by Automattic – 4.1.3 Contact Form 7: by Takayuki Miyoshi – 5.1.6 Elementor: by Elementor.com – 2.8.3 GatewayAPI: by OnlineCity ApS – 1.6.2 Health Check & Troubleshooting: by The WordPress.org community – 1.4.2 JWT Authentication for WP-API: by Enrique Chavez – 1.2.6 Mailchimp for WooCommerce: by Mailchimp – 2.3 – Not tested with the active version of WooCommerce Pre* Party Resource Hints: by Sam Perrow – 1.6.44 SearchWP Live Ajax Search: by Jonathan Christopher – 1.4.4 SearchWP WooCommerce Integration: by SearchWP LLC – 1.2.2 – Not tested with the active version of WooCommerce SearchWP WPML Integration: by SearchWP LLC – 1.5.3 SearchWP: by SearchWP LLC – 3.1.6 SendGrid: by SendGrid – 1.11.8 SVG Support: by Benbodhi – 2.3.15 Term Management Tools: by scribu – 1.1.4 TI WooCommerce Wishlist Premium: by TemplateInvaders – 1.16.0 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.16.21 Velvet Blues Update URLs: by VelvetBlues.com – 3.2.9 WooCommerce Product Feed Pro: by WebAppick – 3.2.9 WooCommerce PensoPay: by PensoPay – 5.1.7 WooCommerce Admin: by WooCommerce – 0.23.3 WooCommerce Multilingual: by OnTheGoSystems – 4.7.6 WooCommerce Pretty Emails: by MB Création – 1.8.6 – Not tested with the active version of WooCommerce Woocommerce Products Per Page: by Jeroen Sormani – 1.2.6 – Not tested with the active version of WooCommerce WooCommerce: by Automattic – 3.8.1 – 3.9.2 is available Yoast SEO Premium: by Team Yoast – 12.7.1 WP All Import Pro: by Soflyy – 4.5.9 WP Crontrol: by John Blackbourn & crontributors – 1.7.1 Instant Butler BETA: by Rasmus Wølk & Mattias Fjellvang – 2.0.0 Wordpress Pinterest Automatic: by ValvePress – 4.14.1 REST API Log: by Pete Nelson – 1.6.7 WP All Import - ACF Add-On: by Soflyy – 3.2.5 WP All Import - WooCommerce Add-On Pro: by Soflyy – 3.1.1 WPML All Import: by OnTheGoSystems – 2.1.1 MailChimp for WordPress Multilingual: by OnTheGoSystems – 0.0.3 WPML Media: by OnTheGoSystems – 2.5.5 WPML String Translation: by OnTheGoSystems – 3.0.6 WPML Translation Management: by OnTheGoSystems – 2.9.4 Yoast SEO: WooCommerce: by Team Yoast – 7.4 – Not tested with the active version of WooCommerce ### Inactive Plugins (13) ### Bugsnag Error Monitoring: by Bugsnag Inc. – 1.4.0 ElasticPress: by 10up – 3.3 Facebook for WooCommerce: by Facebook – 1.9.15 – Not tested with the active version of WooCommerce Instant Butler: by Rasmus Wølk & Mattias Fjellvang – 2.0.0 LiteSpeed Cache: by LiteSpeed Technologies – 2.9.9.2 Media Cleaner Pro: by Jordy Meow – 5.5.1 PW WooCommerce Gift Cards: by Pimwick LLC – 1.101 Query Monitor: by John Blackbourn – 3.5.2 TI WooCommerce Wishlist Plugin: by TemplateInvaders – 1.16.0 WooCommerce Reepay Checkout Gateway: by AAIT – 1.1.24 – Not tested with the active version of WooCommerce WP REST Cache: by Acato – 2020.1.0 YITH Infinite Scrolling: by YITH – 1.1.13 YITH WooCommerce Gift Cards Premium: by YITH – 3.0.2 ### Must Use Plugins (2) ### marketplace-plugin.php: by – wp-cli.php: by – ### Settings ### API Enabled: ✔ Force SSL: – Currency: EUR (€) Currency Position: left_space Thousand Separator: , Decimal Separator: . Number of Decimals: 0 Taxonomies: Product Types: external (external) gift-card (gift-card) grouped (grouped) pw gift card (pw-gift-card) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog-da) exclude-from-search (exclude-from-search-da) featured (featured) outofstock (outofstock) outofstock (outofstock-2) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ✔ ### WC Pages ### Shop base: #89 - /shop/ Cart: #91 - /cart/ Checkout: #93 - /checkout/ My account: #688 - /my-account/ Terms and conditions: #756 - /termsandconditions/ ### Theme ### Name: Market Place The Jewellery Room Version: 1.0.0 Author URL: Child Theme: ❌ – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ✔ ### Templates ### Overrides: marketplace/woocommerce/archive-product.php marketplace/woocommerce/cart/cart-empty.php marketplace/woocommerce/cart/cart-item-data.php marketplace/woocommerce/cart/cart-shipping.php marketplace/woocommerce/cart/cart-totals.php marketplace/woocommerce/cart/cart.php version 3.7.0 is out of date. The core version is 3.8.0 marketplace/woocommerce/cart/cross-sells.php marketplace/woocommerce/cart/mini-cart.php marketplace/woocommerce/cart/proceed-to-checkout-button.php marketplace/woocommerce/checkout/form-billing.php marketplace/woocommerce/checkout/form-checkout.php marketplace/woocommerce/checkout/form-pay.php marketplace/woocommerce/checkout/form-shipping.php marketplace/woocommerce/checkout/order-receipt.php marketplace/woocommerce/checkout/payment-method.php marketplace/woocommerce/checkout/payment.php marketplace/woocommerce/checkout/review-order.php version 3.3.0 is out of date. The core version is 3.8.0 marketplace/woocommerce/checkout/terms.php marketplace/woocommerce/checkout/thankyou.php marketplace/woocommerce/content-product.php marketplace/woocommerce/content-single-product.php marketplace/woocommerce/content-widget-price-filter.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/admin-cancelled-order.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/admin-failed-order.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/admin-new-order.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/customer-completed-order.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/customer-invoice.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/customer-new-account.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/customer-note.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/customer-on-hold-order.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/customer-processing-order.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/customer-refunded-order.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/customer-reset-password.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/email-addresses.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/email-customer-details.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/email-footer.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails//emails/themes/email-header-centered.php /Users/myuser/Projects/domain/wp-content/plugins/woocommerce-pretty-emails/emails/email-order-items.php marketplace/woocommerce/global/breadcrumb.php marketplace/woocommerce/global/form-login.php marketplace/woocommerce/global/quantity-input.php marketplace/woocommerce/global/sidebar.php marketplace/woocommerce/global/wrapper-end.php marketplace/woocommerce/global/wrapper-start.php marketplace/woocommerce/loop/add-to-cart.php marketplace/woocommerce/loop/loop-end.php marketplace/woocommerce/loop/loop-start.php marketplace/woocommerce/loop/no-products-found.php marketplace/woocommerce/loop/orderby.php marketplace/woocommerce/loop/pagination.php marketplace/woocommerce/loop/price.php marketplace/woocommerce/loop/result-count.php marketplace/woocommerce/loop/sale-flash.php marketplace/woocommerce/myaccount/dashboard.php marketplace/woocommerce/myaccount/downloads.php marketplace/woocommerce/myaccount/form-add-payment-method.php marketplace/woocommerce/myaccount/form-edit-account.php marketplace/woocommerce/myaccount/form-edit-address.php marketplace/woocommerce/myaccount/form-login.php marketplace/woocommerce/myaccount/form-lost-password.php marketplace/woocommerce/myaccount/form-reset-password.php marketplace/woocommerce/myaccount/lost-password-confirmation.php marketplace/woocommerce/myaccount/my-account.php marketplace/woocommerce/myaccount/my-address.php marketplace/woocommerce/myaccount/my-downloads.php marketplace/woocommerce/myaccount/my-orders.php marketplace/woocommerce/myaccount/navigation.php marketplace/woocommerce/myaccount/orders.php marketplace/woocommerce/myaccount/payment-methods.php marketplace/woocommerce/myaccount/view-order.php marketplace/woocommerce/notices/error.php marketplace/woocommerce/notices/notice.php marketplace/woocommerce/notices/success.php marketplace/woocommerce/order/order-details-customer.php marketplace/woocommerce/order/order-details-item.php marketplace/woocommerce/order/order-details.php marketplace/woocommerce/single-product/add-to-cart/simple.php marketplace/woocommerce/single-product/add-to-cart/variable.php marketplace/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php marketplace/woocommerce/single-product/add-to-cart/variation.php marketplace/woocommerce/single-product/meta.php marketplace/woocommerce/single-product/photoswipe.php marketplace/woocommerce/single-product/price.php marketplace/woocommerce/single-product/product-attributes.php marketplace/woocommerce/single-product/product-image.php marketplace/woocommerce/single-product/product-thumbnails.php marketplace/woocommerce/single-product/related.php marketplace/woocommerce/single-product/share.php marketplace/woocommerce/single-product/stock.php marketplace/woocommerce/single-product/tabs/additional-information.php marketplace/woocommerce/single-product/tabs/description.php marketplace/woocommerce/single-product/tabs/tabs.php version 2.4.0 is out of date. The core version is 3.8.0 marketplace/woocommerce/single-product/title.php marketplace/woocommerce/single-product/up-sells.php marketplace/woocommerce/single-product.php Outdated Templates: ❌ Learn how to update ### TI WooCommerce Wishlist Templates ### Overrides: marketplace/ti-addtowishlist-dialogbox.php marketplace/ti-wishlist-empty.php version 1.0.0 is out of date. The core version is 1.15.5 marketplace/ti-wishlist-header.php marketplace/ti-wishlist-manage.php version 1.9.0 is out of date. The core version is 1.15.5 marketplace/ti-wishlist-navigation.php marketplace/ti-wishlist-null.php version 1.0.0 is out of date. The core version is 1.9.0 marketplace/woocommerce/ti-wishlist-product-counter.php marketplace/ti-wishlist-social.php marketplace/ti-wishlist-user.php version 1.13.0 is out of date. The core version is 1.15.5 marketplace/ti-wishlist.php version 1.12.2 is out of date. The core version is 1.15.5 ### Action Scheduler ### Complete: 1,719 Oldest: 2020-01-25 10:23:19 +0000 Newest: 2020-02-25 09:28:07 +0000 Pending: 2 Oldest: 2020-02-25 10:28:07 +0000 Newest: 2020-02-25 10:28:07 +0000 Canceled: 18 Oldest: 2020-01-27 11:50:50 +0000 Newest: 2020-02-18 15:52:24 +0000 In-progress: 0 Oldest: – Newest: – Failed: 12 Oldest: – Newest: – ```
simplenotezy commented 4 years ago

This does not happen if I include user_id, status and title in the request. I would expect an error code if required fields was not typed in.

How do I create a wishlist for a user, that is NOT logged in?