Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter zonezero

    (@zonezero)

    Hello.
    Thank you for your reply.

    After applying the suggested change and short testing session, the error log stays silent and the aforementioned error is not generated.

    Thread Starter zonezero

    (@zonezero)

    Hello.
    Sent the system status as requested.

    Thread Starter zonezero

    (@zonezero)

    Hello.
    Nothing on server side that would indicate a server/php error.
    So far, it seems that this is client-facing error.

    What I have seen from browser end(not a JS developer):
    Javascript engine shows that “.success” is not a valid function and crashes.
    However, the XHR is triggered, receives a reply from server, but doesn’t know what to do with reply, as “.success” callback is not available.

    Another place where this error is present – Category mapping section.
    JS screams that “.success” is not a valid function.
    XHR is processed, Google categories are received by browser from server.
    JS fails to populate the autocomplete category mappings.

    Might be something to do with this?
    (source : https://api.jquery.com/jquery.ajax/)
    “Deprecation Notice: The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks are removed as of jQuery 3.0. You can use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead.”

    Thread Starter zonezero

    (@zonezero)

    Thread Starter zonezero

    (@zonezero)

    Link to the screenshot: https://imgur.com/a/7PrY1UA
    Error happens while clicking on the “View Log” button

    Thread Starter zonezero

    (@zonezero)

    Hi.
    Orders have been placed with coupons on Woocommerce version 5.7.1
    Update has been made directly from 5.7.1 to 5.9.0 version, (skipping 5.8.0, IIRC).
    Browsing the old database dumps show the coupon codes as having wp_posts.post_status: “publish”, for 5.7.1 version.
    The same value, upon error was “private”.
    Either some update/caching mechanism/plugin has made some changes, or some-one from our admin personel has changed the value…

    Way too many unknowns to debug more precisely.
    I presume let’s close this for now, unless there is something that caches your attention.

    TLDR – Make sure your coupons are set as “Visibility: Public”, before trying to apply them to an order.

    Thread Starter zonezero

    (@zonezero)

    Found a work-around.
    Coupons were previously working, when published with following parameter:
    Visibility: Private.

    Now, coupons work only, if set as “Visibility: Public”

    Will add my vote to any coupon codes not working
    Using check-conflicts plugin, and default twenty-twenty-one theme, coupon codes don’t work in desktop or mobile view.
    Yes, coupons were verified to be active, available, and not limited

    System status card:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://theo.lv
    Site address (URL): https://theo.lv
    WC Version: 5.9.0
    REST API Version: ? 5.9.0
    WC Blocks Version: ? 6.1.0
    Action Scheduler Version: ? 3.3.0
    WC Admin Version: ? 2.8.0
    Log Directory Writable: ?
    WP Version: 5.8.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: –
    Language: lv
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.51 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/1.1.1f
    PHP Version: 7.4.25
    PHP Post Max Size: 100 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 1000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.6.5-MariaDB-1:10.6.5+maria~focal
    Max Upload Size: 100 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.9.0
    WC Database Prefix: wp_
    Kopējais datu bāzes lielums: 126.85MB
    Datu bāzes datu izmērs: 90.88MB
    Datubāzes indeksa izmērs: 35.97MB
    wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.14MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 1.52MB + Index: 0.78MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.22MB + Index: 0.16MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.33MB + Index: 0.28MB + Engine InnoDB
    wp_dpd_barcodes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_dpd_manifests: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_dpd_terminals: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_languages_translations: Data: 0.20MB + Index: 0.17MB + Engine InnoDB
    wp_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_mo_files_domains: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wp_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_strings: Data: 4.52MB + Index: 8.77MB + Engine InnoDB
    wp_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_string_packages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_string_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_icl_string_positions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB
    wp_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_string_translations: Data: 3.52MB + Index: 1.91MB + Engine InnoDB
    wp_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_icl_translate: Data: 4.52MB + Index: 0.30MB + Engine InnoDB
    wp_icl_translate_job: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_icl_translations: Data: 1.52MB + Index: 1.34MB + Engine InnoDB
    wp_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_icl_translation_status: Data: 3.42MB + Index: 0.09MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_mc_banklinks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 12.50MB + Index: 0.39MB + Engine InnoDB
    wp_postmeta: Data: 18.55MB + Index: 8.02MB + Engine InnoDB
    wp_posts: Data: 5.52MB + Index: 2.34MB + Engine InnoDB
    wp_stock_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.08MB + Index: 0.11MB + Engine InnoDB
    wp_terms: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.31MB + Index: 0.17MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.34MB + Index: 0.25MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.36MB + Index: 0.55MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_makecommerce_sc: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpml_mails: Data: 15.52MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_bounceVisits: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_browsers: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_countries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wsm_dailyHourlyReport: Data: 0.22MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_dateWiseBounce: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_dateWiseBounceRate: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_dateWiseFirstVisitors: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_dateWisePageViews: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_dateWiseVisitors: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_datewise_report: Data: 0.36MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_hourWiseBounce: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_hourWiseBounceRate: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_hourWiseFirstVisitors: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_hourWisePageViews: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_hourWiseVisitors: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_logUniqueVisit: Data: 2.02MB + Index: 0.77MB + Engine InnoDB
    wp_wsm_logVisit: Data: 4.02MB + Index: 3.27MB + Engine InnoDB
    wp_wsm_monthlyDailyReport: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_monthWiseBounce: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_monthWiseBounceRate: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_monthWiseFirstVisitors: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_monthWisePageViews: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_monthWiseVisitors: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_monthwise_report: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_oSystems: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_pageViews: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_regions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_resolutions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_searchEngines: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_toolBars: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_uniqueVisitors: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_url_log: Data: 2.52MB + Index: 0.63MB + Engine InnoDB
    wp_wsm_visitorInfo: Data: 0.00MB + Index: 0.00MB + Engine
    wp_wsm_yearlyMonthlyReport: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wsm_yearwise_report: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 5.52MB + Index: 3.92MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.20MB + Index: 0.28MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.08MB + Index: 0.06MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 4697
    custom_css: 2
    customize_changeset: 6
    flamingo_contact: 97
    flamingo_inbound: 3
    mailpoet_page: 1
    nav_menu_item: 77
    page: 24
    post: 2
    product: 652
    product_variation: 2149
    revision: 344
    shop_coupon: 5
    shop_order: 274
    shop_order_refund: 1
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (26) ###
    
    WPML Multilingual CMS: OnTheGoSystems rakstīja – 4.4.12
    WPML SEO: OnTheGoSystems rakstīja – 2.0.1
    Brands for WooCommerce: BeRocket rakstīja – 3.7
    Check Conflicts: ioannup rakstīja – 1.1.4
    Contact Form 7 Multilingual: OnTheGoSystems rakstīja – 1.1.0
    Contact Form 7: Takayuki Miyoshi rakstīja – 5.5.2
    Flamingo: Takayuki Miyoshi rakstīja – 2.2.2
    Gutenslider — The last WordPress slider you will ever need.: eedee rakstīja – 5.4.6
    Index WP MySQL For Speed: Ollie Jones rakstīja – 1.3.3
    MakeCommerce: Maksekeskus AS rakstīja – 3.0.10
    Omniva piegādes veidu: Omniva rakstīja – 1.8.4
    SVG Support: Benbodhi rakstīja – 2.3.19
    WooCommerce Shipping - DPD baltic: DPD rakstīja – 1.2.5
    Additional Variation Images Gallery for WooCommerce: Emran Ahmed rakstīja – 1.2.8
    WooCommerce Multilingual: OnTheGoSystems rakstīja – 4.12.1
    WooCommerce PayPal Payments: WooCommerce rakstīja – 1.6.1
    Stock Manager for WooCommerce: StoreApps rakstīja – 2.8.2.1
    WooCommerce: Automattic rakstīja – 5.9.0
    WooSidebars: WooCommerce rakstīja – 1.4.5
    Yoast SEO: Team Yoast rakstīja – 17.5
    WP Mail Logging: Wysija rakstīja – 1.9.9
    WP Visitor Statistics (Real Time Traffic): osamaesh rakstīja – 4.7
    WPML String Translation: OnTheGoSystems rakstīja – 3.1.10
    WPML Translation Management: OnTheGoSystems rakstīja – 2.10.8
    WP Performance Tester: <a href="https://reviewsignal.com">Kevin Ohashi</a> rakstīja – 1.1.1
    YITH WooCommerce Order Tracking: YITH rakstīja – 1.5.0
    
    ### Inactive Plugins (2) ###
    
    W3 Total Cache: BoldGrid rakstīja – 2.1.9
    WebP Express: Bj?rn Rosell rakstīja – 0.22.1
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    Currency Position: left
    Thousand Separator: 
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    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 ###
    
    Veikala bāze: #7 - /veikals/
    Grozs: #8 - /grozs/
    Pirkums: #9 - /pirkuma-veiksana/
    Mans konts: #10 - /mans-konts/
    Noteikumi un nosacījumi: #263 - /distances-ligums/
    
    ### Theme ###
    
    Name: Flatsome Child
    Version: 3.0
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Flatsome
    Parent Theme Version: 3.14.3
    Parent Theme Author URL: https://www.uxthemes.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: flatsome/woocommerce/archive-product.php
    flatsome/woocommerce/cart/cart-empty.php
    flatsome/woocommerce/cart/cart-shipping.php
    flatsome/woocommerce/cart/cart.php
    flatsome/woocommerce/checkout/form-checkout.php
    flatsome/woocommerce/checkout/form-coupon.php
    flatsome/woocommerce/checkout/terms.php
    flatsome/woocommerce/checkout/thankyou.php
    flatsome/woocommerce/content-product-cat.php
    flatsome/woocommerce/content-product.php
    flatsome/woocommerce/content-single-product.php
    flatsome/woocommerce/content-widget-product.php
    flatsome-child/woocommerce/emails/customer-completed-order.php
    flatsome/woocommerce/global/breadcrumb.php
    flatsome/woocommerce/global/quantity-input.php
    flatsome/woocommerce/global/wrapper-end.php
    flatsome/woocommerce/global/wrapper-start.php
    flatsome/woocommerce/loop/loop-end.php
    flatsome/woocommerce/loop/loop-start.php
    flatsome/woocommerce/loop/pagination.php
    flatsome/woocommerce/loop/result-count.php
    flatsome/woocommerce/loop/sale-flash.php
    flatsome/woocommerce/myaccount/form-login.php
    flatsome/woocommerce/myaccount/navigation.php
    flatsome/woocommerce/notices/error.php
    flatsome/woocommerce/notices/notice.php
    flatsome/woocommerce/notices/success.php
    flatsome/woocommerce/product-searchform.php
    flatsome/woocommerce/single-product/photoswipe.php
    flatsome/woocommerce/single-product/price.php
    /home/theolv/web/theo.lv/public_html/wp-content/plugins/woo-variation-gallery/templates/product-images.php
    /home/theolv/web/theo.lv/public_html/wp-content/plugins/woo-variation-gallery/templates/product-thumbnails.php
    flatsome/woocommerce/single-product/rating.php
    flatsome/woocommerce/single-product/related.php
    flatsome/woocommerce/single-product/review.php
    flatsome/woocommerce/single-product/sale-flash.php
    flatsome/woocommerce/single-product/share.php
    flatsome/woocommerce/single-product/short-description.php
    flatsome/woocommerce/single-product/tabs/tabs.php
    flatsome/woocommerce/single-product/title.php
    flatsome/woocommerce/single-product/up-sells.php
    flatsome/woocommerce/single-product-reviews.php
    flatsome/woocommerce/single-product.php
    flatsome/woocommerce/content-product_cat.php
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: Yes
    Shop country code: LV
    PayPal card processing available in country: No
    Pay Later messaging available in country: No
    Vault enabled: Yes
    
    ### Action Scheduler ###
    
    Pabeigt: 307
    Oldest: 2021-10-19 19:09:34 +0300
    Newest: 2021-11-15 21:14:12 +0200
    
    ### Status report information ###
    
    Generated at: 2021-11-15 22:39:18 +02:00
    

    Update:
    Adding coupon code to an order pending for processing also fails.
    Steps to reproduce:
    Create an order with BACS payment
    Open order in woocommerce admin view
    Click Add coupon code
    Insert a valid coupon code into prompt
    Coupon code not found

    • This reply was modified 3 years, 4 months ago by zonezero.
Viewing 8 replies - 1 through 8 (of 8 total)