Forum Replies Created

Viewing 15 replies - 31 through 45 (of 79 total)
  • Thread Starter theblueli

    (@theblueli)

    Now I understand what happened.. The highlight targeted to the alt text. Once I removed the alt text from that image. Everything seem fine now…

    Thread Starter theblueli

    (@theblueli)

    Would you try this on your end?
    I made another try, on a freshly installed site. No cache, or object cache. Still no restock when refunding an order. Thanks
    https://ibb.co/0YXG5HS

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://oxygen-qz5n2dadxgbnl.oxygen-demo.qsandbox.me
    Site address (URL): https://oxygen-qz5n2dadxgbnl.oxygen-demo.qsandbox.me
    WC Version: 6.7.0
    REST API Version: ✔ 6.7.0
    WC Blocks Version: ✔ 7.8.3
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: 6.0.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.2.24-0ubuntu0.18.04.13
    PHP Post Max Size: 256 MB
    PHP Time Limit: 90
    PHP Max Input Vars: 1000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.1.48-MariaDB-0ubuntu0.18.04.1
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.7.0
    WC Database Prefix: wp_
    Total Database Size: 9.35MB
    Database Data Size: 7.37MB
    Database Index Size: 1.98MB
    wp_woocommerce_sessions: Data: 0.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.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + 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.02MB + Index: 0.11MB + 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.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 4.48MB + Index: 0.06MB + Engine InnoDB
    wp_postmeta: Data: 1.48MB + Index: 0.06MB + Engine InnoDB
    wp_posts: Data: 0.09MB + Index: 0.06MB + Engine InnoDB
    wp_relevanssi: Data: 0.34MB + Index: 0.30MB + Engine InnoDB
    wp_relevanssi_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_relevanssi_stopwords: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.02MB + 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_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + 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_wpgb_cards: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpgb_facets: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wpgb_grids: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpgb_index: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 7
    ct_template: 6
    page: 21
    post: 13
    product: 1
    revision: 16
    shop_order: 3
    shop_order_refund: 3
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (1) ###
    
    WooCommerce: by Automattic – 6.7.0
    
    ### Inactive Plugins (3) ###
    
    Oxygen: by Soflyy – 4.0.2
    Oxygen Elements for WooCommerce: by Soflyy – 2.0
    Oxygen Gutenberg Integration: by Soflyy – 1.4.3
    
    ### Must Use Plugins (1) ###
    
    sandbox.php: by  –
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    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: –
    Enforce Approved Product Download Directories: ✔
    
    ### WC Pages ###
    
    Shop base: #88 - /shop/
    Cart: #89 - /cart/
    Checkout: #90 - /checkout/
    My account: #91 - /my-account/
    Terms and conditions: ❌ Page not set
    
    ### Theme ###
    
    Name: Twenty Twenty-One
    Version: 1.6
    Author URL: https://ww.wp.xz.cn/
    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: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-08-08 04:59:22 +00:00
    Options: ✔
    Notes: 34
    Onboarding: -
    
    ### Action Scheduler ###
    
    Complete: 14
    Oldest: 2022-08-07 05:00:25 +0000
    Newest: 2022-08-07 05:02:41 +0000
    
    Pending: 4
    Oldest: 2022-08-07 05:02:52 +0000
    Newest: 2022-08-08 04:59:31 +0000
    
    ### Status report information ###
    
    Generated at: 2022-08-07 05:03:11 +00:00
    
    • This reply was modified 3 years, 8 months ago by theblueli.
    Thread Starter theblueli

    (@theblueli)

    Hi. I found there are few differences when using Relevanssi & WordPress default search engine for Chinese characters.
    Like searching for the same keyword.
    with Relevanssi, 17 items for the result
    with WordPress, 18 items for the result

    I want to try this phpjieba.
    https://www.relevanssi.com/knowledge-base/relevanssi-and-languages/

    Step 1: I installed the package on my server
    Wondering the Step 2: php.ini

    php.ini
    extension=jieba.so
    jieba.enable=1
    jieba.dict_path=/data/softs/phpjieba/cjieba/dict
    

    *jieba.dict_path Point to the corresponding directory where the dictionary is located, please replace and change according to your own compilation directory`

    I am not sure what the path should be in this case.
    Would you have some clues?

    Thanks again!

    Thread Starter theblueli

    (@theblueli)

    Hello. yes, without the snippet I mentioned. The restock won’t work when refunding an order.
    I don’t have any fatal error log during the day.
    *I have tried disabled all plugins except for the woocommerce. to Test Refunding an order

    Please take a look
    Thanks

    
    2022-08-04T05:43:04+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T05:43:05+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T05:44:14+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T05:44:16+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T05:53:59+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T05:53:59+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T07:03:39+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T07:03:39+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T07:50:27+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T07:50:28+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T12:37:54+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T12:41:53+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T12:42:24+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T12:42:58+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T12:44:25+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T14:03:55+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    
    2022-08-04T14:03:56+00:00 CRITICAL Uncaught Error: Call to a member function get_stock_status() on null in /tmp/421-woo-shortcode-sale.php:8
    Stack trace:
    #0 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): ds_replace_sale_text()
    #1 [internal function]: do_shortcode_tag()
    #2 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #3 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/shortcode.class.php(58): do_shortcode()
    #4 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(356): CT_Shortcode->add_shortcode()
    #5 [internal function]: do_shortcode_tag()
    #6 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-includes/shortcodes.php(228): preg_replace_callback()
    #7 /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/oxygen/component-framework/components/classes/div-block.class.php(47): do_shortcode()
    #8 /home/xxxxxxx.cloudwaysapps.com/ 於 /tmp/421-woo-shortcode-sale.php 在 8 線上
    

    I will hide the site url

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://xxxxx
    Site address (URL): https://xxxxx
    WC Version: 6.7.0
    REST API Version: ✔ 6.7.0
    WC Blocks Version: ✔ 7.8.3
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: 6.0.1
    WP Multisite: –
    WP Memory Limit: 2 GB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: ✔
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.51 (Debian)
    PHP Version: 7.4.27
    PHP Post Max Size: 100 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 10000
    cURL Version: 7.64.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~buster-log
    Max Upload Size: 100 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.7.0
    WC Database Prefix: wp_
    Total Database Size: 209.82MB
    Database Data Size: 147.83MB
    Database Index Size: 61.99MB
    wp_woocommerce_sessions: Data: 0.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.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.09MB + Index: 0.03MB + 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: 1.02MB + Index: 0.16MB + 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: 1.03MB + Index: 0.13MB + Engine InnoDB
    wp_bv_fw_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_bv_ip_store: Data: 0.34MB + Index: 0.31MB + Engine InnoDB
    wp_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_duplicator_pro_packages: Data: 0.19MB + Index: 0.02MB + Engine InnoDB
    wp_fc_campaigns: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fc_campaign_emails: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_fc_campaign_url_metrics: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fc_funnels: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fc_funnel_metrics: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fc_funnel_sequences: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fc_funnel_subscribers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fc_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fc_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fc_sequence_tracker: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fc_smart_links: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fc_subscribers: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_fc_subscriber_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fc_subscriber_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_fc_subscriber_pivot: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_fc_tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fc_url_stores: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ff_scheduled_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_draft_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_entry_details: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_form_analytics: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_order_items: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_submission_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_subscriptions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fluentform_transactions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_fsmpt_email_logs: Data: 0.42MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_micro_revisions: Data: 59.52MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 8.06MB + Index: 0.17MB + Engine InnoDB
    wp_pmxe_exports: Data: 0.22MB + Index: 0.00MB + Engine InnoDB
    wp_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB
    wp_pmxe_posts: Data: 0.42MB + Index: 0.00MB + Engine InnoDB
    wp_pmxe_templates: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_hash: Data: 0.30MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_images: Data: 0.23MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_imports: Data: 0.50MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_posts: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_templates: Data: 0.20MB + Index: 0.00MB + Engine InnoDB
    wp_postmeta: Data: 29.52MB + Index: 14.86MB + Engine InnoDB
    wp_posts: Data: 12.52MB + Index: 2.08MB + Engine InnoDB
    wp_post_views: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_rank_math_analytics_keyword_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rank_math_internal_links: Data: 0.28MB + Index: 0.14MB + Engine InnoDB
    wp_rank_math_internal_meta: Data: 0.25MB + Index: 0.00MB + Engine InnoDB
    wp_reviewx_criterias: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_reviewx_process_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_reviewx_reminder_email: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_searchwp_index: Data: 9.52MB + Index: 20.06MB + Engine InnoDB
    wp_searchwp_log: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_searchwp_status: Data: 0.08MB + Index: 0.11MB + Engine InnoDB
    wp_searchwp_tokens: Data: 2.52MB + Index: 5.55MB + Engine InnoDB
    wp_shortpixel_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_shortpixel_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_shortpixel_postmeta: Data: 0.16MB + Index: 0.08MB + Engine InnoDB
    wp_shortpixel_queue: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_simple_history: Data: 1.52MB + Index: 0.31MB + Engine InnoDB
    wp_simple_history_contexts: Data: 3.52MB + Index: 4.03MB + Engine InnoDB
    wp_social_users: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_swiss_knife_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 1.52MB + Index: 0.70MB + Engine InnoDB
    wp_terms: Data: 0.30MB + Index: 0.38MB + Engine InnoDB
    wp_term_relationships: Data: 1.38MB + Index: 1.30MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.23MB + Index: 0.28MB + Engine InnoDB
    wp_trp_dictionary_zh_hk_en_hk: Data: 1.52MB + Index: 1.88MB + Engine InnoDB
    wp_trp_dictionary_zh_hk_en_us: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_trp_gettext_en_hk: Data: 0.33MB + Index: 0.39MB + Engine InnoDB
    wp_trp_gettext_en_us: Data: 0.47MB + Index: 0.58MB + Engine InnoDB
    wp_trp_gettext_zh_hk: Data: 1.52MB + Index: 0.75MB + Engine InnoDB
    wp_trp_original_meta: Data: 0.09MB + Index: 0.13MB + Engine InnoDB
    wp_trp_original_strings: Data: 1.52MB + Index: 1.52MB + Engine InnoDB
    wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + 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_bundle_lookup: Data: 0.02MB + Index: 0.09MB + 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_attributes_lookup: Data: 0.11MB + Index: 0.11MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.52MB + Index: 0.94MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + 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_wfpklist_template_data: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_bundled_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpgb_cache: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
    wp_wpgb_cards: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpgb_facets: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wpgb_grids: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wpgb_index: Data: 1.52MB + Index: 3.05MB + Engine InnoDB
    wp_wpsr_caches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpsr_reviews: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wt_abandonment_coupon: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 54
    acf-field-group: 6
    acfe-dop: 2
    attachment: 4365
    ct_template: 23
    faq: 23
    fc_template: 1
    is_search_form: 1
    language_switcher: 4
    nav_menu_item: 36
    oembed_cache: 2
    page: 25
    post: 21
    product: 1493
    product_variation: 1049
    rank_math_schema: 1
    revision: 86
    scorg: 19
    shop_coupon: 2
    shop_order: 12
    shop_order_refund: 3
    wp_block: 3
    wp_global_styles: 1
    wpsr_social_chats: 1
    yaymail_template: 11
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (68) ###
    
    Hydrogen Pack: by Clean Plugins – 1.4.0
    Advanced Custom Fields: Extended: by ACF Extended – 0.8.8.7
    Advanced Custom Fields PRO: by Delicious Brains – 5.12.3
    Advanced Product Fields for WooCommerce: by StudioWombat – 1.5.1
    Breeze: by Cloudways – 2.0.7
    Bulk remove posts from category: by MasterNs – 3.3
    Custom Post Type UI: by WebDevStudios – 1.12.1
    Disable All WordPress Updates: by Oliver Schlöbe – 1.7.0
    Duplicator Pro: by Snap Creek – 4.5.5.2
    Duplicator Pro: by Snap Creek – 4.5.5.2
    Easy Auto SKU Generator for WooCommerce: by Dan Zakirov – 1.1.2
    Advanced Scripts: by Clean Plugins – 2.3.4
    Favorites: by Kyle Phillips – 2.3.2
    Flexible Shipping PRO: by Octolize – 2.10.0
    Flexible Shipping: by Octolize – 4.13.2
    FluentSMTP: by FluentSMTP & WPManageNinja Team – 2.1.2
    Fluent Forms: by Contact Form - WPManageNinja LLC – 4.3.9
    Fluent Forms Pro Add On Pack: by Fluent Forms – 4.3.9
    GazChap's WooCommerce Auto Category Product Thumbnails: by Gareth 'GazChap' Griffiths – 1.4
    HappyFiles Pro: by Codeer – 1.7
    WP All Import - Rank Math SEO Add-On: by WP All Import – 1.1
    MalCare WordPress Security Plugin - Malware Scanner, Cleaner, Security Firewall: by MalCare Security – 4.78
    Microthemer: by Themeover – 7.1.5.3
    mPDF addon for PDF Invoices: by WebToffee – 1.0.6
    My Custom Functionality: by Your Name – 1.0.0
    Nextend Social Login: by Nextendweb – 3.1.5
    Nextend Social Login Pro Addon: by Nextendweb – 3.1.5
    OxyNinja: by OxyNinja – 3.5.2
    Oxy Toolbox: by Gagan S Goraya
    Sridhar Katakam – 1.5.6
    
    OxyExtras: by OxyExtras – 1.4.3
    Oxygen Elements for WooCommerce: by Soflyy – 1.4
    Oxygen: by Soflyy – 3.9
    Oxy Ultimate Woo: by Paul Chinmoy – 1.4.12
    Post Views Counter: by Digital Factory – 1.3.11
    Resize Image After Upload: by ShortPixel – 1.8.6
    SearchWP Live Ajax Search: by SearchWP
    LLC – 1.7.2
    
    SearchWP WooCommerce Integration: by SearchWP – 1.3.10
    SearchWP: by SearchWP – 4.2.3
    Rank Math SEO PRO: by Rank Math – 3.0.15.1
    Rank Math SEO: by Rank Math – 1.0.94
    ShortPixel Image Optimizer: by ShortPixel – 5.0.5
    Simple History: by Pär Thernström – 3.3.0
    TranslatePress - Business: by Cozmoslabs
    Razvan Mocanu
    Madalin Ungureanu – 1.1.6
    
    TranslatePress - Multilingual: by Cozmoslabs
    Razvan Mocanu
    Madalin Ungureanu
    Cristophor Hurduban – 2.3.3
    
    User Role Editor: by Vladimir Garagulya – 4.63
    Shipping Method Description for WooCommerce: by Thomas Charbit – 1.2.6
    Additional Variation Images Gallery for WooCommerce: by Emran Ahmed – 1.3.7
    WooCommerce Custom Payment Gateway Pro: by WPRuby – 2.4.1
    WooCommerce Stripe Gateway: by WooCommerce – 6.5.0
    WooCommerce Min/Max Quantities: by WooCommerce – 2.4.25
    WooCommerce Custom Payment Gateway: by WPRuby – 1.3.5
    WooCommerce PayPal Payments: by WooCommerce – 1.9.1
    WooCommerce Product Bundles: by WooCommerce – 6.15.5
    WooCommerce: by Automattic – 6.7.0
    WP All Export Pro: by Soflyy – 1.7.7
    WP All Import Pro: by Soflyy – 4.7.3
    WP Grid Builder - Oxygen: by Loïc Blascos – 1.1.0
    WP Grid Builder: by Loïc Blascos – 1.6.8
    WP Social Ninja Pro: by WPManageNinja LLC – 3.6.0
    WP Social Ninja: by WPManageNinja LLC – 3.6.1
    WP All Export - ACF Export Add-On Pro: by Soflyy – 1.0.4
    WP All Export - WooCommerce Export Add-On Pro: by Soflyy – 1.0.5
    WP All Import - ACF Add-On: by Soflyy – 3.3.6
    WP All Import - User Import Add-On Pro: by Soflyy – 1.1.6
    WP All Import - WooCommerce Import Add-On Pro: by Soflyy – 3.3.1
    Smart Coupons for WooCommerce  Pro: by WebToffee – 2.0.4
    WooCommerce PDF Invoices, Packing Slips, Delivery Notes & Shipping Labels (Pro): by WebToffee – 4.4.2
    YayMail - WooCommerce Email Customizer: by YayCommerce – 3.0
    
    ### Inactive Plugins (9) ###
    
    FluentCRM - Marketing Automation For WordPress: by Newsletter Team by Fluent CRM – 2.5.93
    FluentCRM Pro: by Fluent CRM – 2.5.93
    Kadence Blocks – Gutenberg Blocks for Page Builder Features: by Kadence WP – 2.4.3
    Query Monitor: by John Blackbourn – 3.9.0
    SearchWP Shortcodes: by SearchWP – 1.8.2
    ShipAny: by ShipAny – 1.0.48
    ShortPixel Adaptive Images: by ShortPixel – 3.4.2
    WP Grid Builder - Caching: by Loïc Blascos – 1.0.7
    WP Sheet Editor - Post Types (Premium): by WP Sheet Editor – 2.24.15.2
    
    ### Dropin Plugins (2) ###
    
    advanced-cache.php: advanced-cache.php
    object-cache.php: Object Cache Pro (Drop-in)
    
    ### Must Use Plugins (1) ###
    
    Object Cache Pro (MU): by Rhubarb Group – 1.14.5
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: HKD (HK$)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 0
    Taxonomies: Product Types: bundle (bundle)
    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: –
    Enforce Approved Product Download Directories: –
    
    ### WC Pages ###
    
    Shop base: #52 - /shop-all/
    Cart: #53 - /cart/
    Checkout: #54 - /checkout/
    My account: ❌ Page does not contain the [woocommerce_my_account] shortcode.
    Terms and conditions: #269 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Twenty Twenty-One
    Version: 1.2 (update to version 1.6 is available)
    Author URL: https://ww.wp.xz.cn/
    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: /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/woo-variation-gallery/templates/product-images.php
    /home/xxxxxxx.cloudwaysapps.com/wmkfpnszey/public_html/wp-content/plugins/woo-variation-gallery/templates/product-thumbnails.php
    
    ### Product Bundles ###
    
    Database Version: 6.15.5
    Loopback Test: ✔
    Template Overrides: –
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ✔
    Shop country code: HK
    WooCommerce currency supported: ✔
    PayPal card processing available in country: –
    Pay Later messaging available in country: –
    Webhook status: –
    Vault enabled: ✔
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-08-07 08:17:15 +08:00
    Options: ✔
    Notes: 72
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 301
    Oldest: 2022-07-07 13:39:28 +0800
    Newest: 2022-08-06 22:30:03 +0800
    
    Pending: 3
    Oldest: 2022-08-07 15:15:02 +0800
    Newest: 2022-08-13 20:45:01 +0800
    
    ### Status report information ###
    
    Generated at: 2022-08-06 22:32:04 +08:00
    
    Thread Starter theblueli

    (@theblueli)

    Sorry, My bad. I did not aware that is mandatory.

    //Add “Local pickup” in Shipping zones to enable Locker/Store List

    Thread Starter theblueli

    (@theblueli)

    Hello, I am using Oxygen Builder for the site. So there is no Theme using. I build the template myself. I can modify the PHP as needed.

    I don’t really understand. In my case, I am using

    $thumbnail_id = get_woocommerce_term_meta( $term->term_id, 'thumbnail_id', $size );
    $image = wp_get_attachment_url( $thumbnail_id );

    to get the product_cat thumbnail image. Should it not suppose to work?
    Any ideas about what I am missing?

    Many Thanks!!

    $parentid = get_queried_object_id();
    $args = array(
    	'parent' => $parentid
    );
    $terms = get_terms( 'product_cat', $args );
    if ( $terms ) {
    	echo '<ul class="product-cat-items">';
    	foreach ( $terms as $term ) {
    
    		$size = 'thumbnail';
    		$thumbnail_id = get_woocommerce_term_meta( $term->term_id, 'thumbnail_id', $size );
    		$image = wp_get_attachment_url( $thumbnail_id );
    
    		echo '<li class="product-cat-item">';  
    		echo '<img src="'. $image . '">';
    		echo $term->name;
    		echo '</li>';	
    	}
    	echo '</ul>';
    }
    • This reply was modified 3 years, 9 months ago by theblueli.
    • This reply was modified 3 years, 9 months ago by theblueli.
    Thread Starter theblueli

    (@theblueli)

    I’m seeing more and more reports of incompatibilities with specific themes, which suggests to me that more and more themes are doing things “their own way” rather than using the standard WooCommerce hook for outputting the category thumbnail.

    Just saw your reply from another thread. Would you care to share which one is the standard WooCommerce hook, so I can try it?

    Thanks

    Thread Starter theblueli

    (@theblueli)

    Good to know. Dont understand the fix but I’ve found an workaround. fixed it with if ($term->count > 0)

    $parentid = 175;
    $args = array(
        'parent' => $parentid
    );
    $terms = get_terms( 'product_cat', $args );
    $count = count($terms);
    if ( $terms ) {
    echo '<ul>';
    foreach ( $terms as $term ) {
            if ($term->count > 0){
        echo '<li>';
            echo '<a href="' . esc_url( get_term_link( $term ) ) . '" class="' . $term->slug . '">';
            echo $term->name;
            echo '</a>';
        echo '</li>';
    }
    }
    echo '</ul>';
    }
    Thread Starter theblueli

    (@theblueli)

    Hello, how can we do responsive when the plugin only allows users to set a fixed width. Ideally, if we can set 100% width for smaller devices will solve the issue
    Thanks

    FYI
    https://ibb.co/S5b5zy8

    • This reply was modified 3 years, 10 months ago by theblueli.
    Thread Starter theblueli

    (@theblueli)

    Alright!! That is very nice. Thank you~

    Thread Starter theblueli

    (@theblueli)

    OK Thanks, will try it later, the site is not ready yet

    Thread Starter theblueli

    (@theblueli)

    Hello, the code breaks the site
    https://ibb.co/nwDkqKd

    But If I change ‘modified_column_register_sortable’ > to something else like ‘custom_column_register_sortable’

    It works. Thanks~

    Thread Starter theblueli

    (@theblueli)

    So I have a CPT named ‘school’
    I use the Advance script plugin to enable this snippet
    with

    The snippet doesnt not add sortby for the modified date column. but also remove the sortby from other default columns. e.g. Date

    https://ibb.co/99rhRZP
    https://ibb.co/jfyQxGF

    <?php
    
    add_filter( 'manage_edit-school_sortable_columns', 'my_set_sortable_columns' );

    Am I doing something wrong?

    thanks

    • This reply was modified 4 years, 1 month ago by theblueli.
    Thread Starter theblueli

    (@theblueli)

    Hi, I see.
    However, it seems to be only working on the default post post type
    Would you care to make it also available for the custom post type?

    thanks

    Thread Starter theblueli

    (@theblueli)

    Hi, this is because I changed the medium size to 960px width, did not aware the media library is pulling the ‘medium’ size which I thought it is pulling ‘thumbnail’ sizes. Therefore I was looking for a way to improve the speed.
    Eventually, I hired someone to correct it for those who may want to know the solution.

    Thanks bcworkz for the hints as well

    add_filter( 'wp_prepare_attachment_for_js', 'custom_wp_prepare_attachment_for_js', 10, 3 );
    function custom_wp_prepare_attachment_for_js( $response, $attachment, $meta ) {
    $use_size = 'thumbnail'; // Edit this to your needs.
    if( 'image' === $response['type'] ) {
    if( isset( $response['sizes'][$use_size] ) ) {
    //echo $response['sizes'];
    $response['sizes']['medium']['url'] = $response['sizes']['thumbnail']['url'];
    } else {
    $response['sizes']['medium'] = wp_get_attachment_image_src( $response['id'], $use_size );
    }
    }
    return $response;
    };

    Hooks: admin_init
    Priority: 999

    • This reply was modified 4 years, 2 months ago by theblueli.
Viewing 15 replies - 31 through 45 (of 79 total)