Forum Replies Created

Viewing 15 replies - 31 through 45 (of 72 total)
  • hi @room34
    after i read this i have tried with version 8, and the same error. by the way the same with the quick edit.
    then i have added my custom templates to the theme.json and the errors gone, also with the quick edit.

    the issue is that if you add a template from within the post editor, the errors come back.
    so eventually it is their code which does not check for array and type.

    @room34
    you are not doing anything wrong. i have tested it a lot. and they have an issue there. see my post: my issue

    Thread Starter derrida

    (@derrida)

    hi @rdeari
    so after checking and testing a lot, the issue is not with my theme. you have an issue with templates, and with the in_array function. i have no idea why you bring post templates, and then you get NULL for the checking if the post-types is product. you need to change the if statement or whenever in your code you ask for the templates.

    to check it: use twenty twenty two theme, then add a new post template (call it what ever), then try to add or edit a procust. you will get that error.

    i have tried writing manually a template and adding a post template in the editor itself: the same error.

    you have issues there with the code: try var_dump and see that somehow you call the post template, and the post type is NULL.

    Thread Starter derrida

    (@derrida)

    Hi
    as i said it is my won custom FSE theme. i deactivated all other plugins.

    this is my status report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): http://shtig2.local
    Site address (URL): http://shtig2.local
    WC Version: 6.5.1
    REST API Version: ✔ 6.5.1
    WC Blocks Version: ✔ 7.6.0
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ✔
    WP Version: 5.9.3
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: he_IL
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: nginx/1.16.0
    PHP Version: 7.4.1
    PHP Post Max Size: 1,000 MB
    PHP Time Limit: 1200
    PHP Max Input Vars: 4000
    cURL Version: 7.67.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.16
    Max Upload Size: 300 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.5.1
    WC Database Prefix: wp_
    הגודל הכולל של בסיס הנתונים: 6.06MB
    גודל הנתונים של בסיס הנתונים: 4.57MB
    גודל האינדקס של בסיס הנתונים: 1.49MB
    wp_woocommerce_sessions: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_woocommerce_api_keys: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_woocommerce_attribute_taxonomies: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_woocommerce_downloadable_product_permissions: נתונים: 0.02MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_woocommerce_order_items: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_woocommerce_order_itemmeta: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_woocommerce_tax_rates: נתונים: 0.02MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_woocommerce_tax_rate_locations: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_woocommerce_shipping_zones: נתונים: 0.02MB + אינדקס: 0.00MB + מנוע InnoDB
    wp_woocommerce_shipping_zone_locations: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_woocommerce_shipping_zone_methods: נתונים: 0.02MB + אינדקס: 0.00MB + מנוע InnoDB
    wp_woocommerce_payment_tokens: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_woocommerce_payment_tokenmeta: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_woocommerce_log: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_actionscheduler_actions: נתונים: 0.02MB + אינדקס: 0.11MB + מנוע InnoDB
    wp_actionscheduler_claims: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_actionscheduler_groups: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_actionscheduler_logs: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_commentmeta: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_comments: נתונים: 0.02MB + אינדקס: 0.08MB + מנוע InnoDB
    wp_links: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_options: נתונים: 2.05MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_postmeta: נתונים: 0.13MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_posts: נתונים: 1.50MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_term_relationships: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_term_taxonomy: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_termmeta: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_terms: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_usermeta: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_users: נתונים: 0.02MB + אינדקס: 0.05MB + מנוע InnoDB
    wp_wc_admin_note_actions: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_wc_admin_notes: נתונים: 0.05MB + אינדקס: 0.00MB + מנוע InnoDB
    wp_wc_category_lookup: נתונים: 0.02MB + אינדקס: 0.00MB + מנוע InnoDB
    wp_wc_customer_lookup: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_wc_download_log: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_wc_order_coupon_lookup: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_wc_order_product_lookup: נתונים: 0.02MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_wc_order_stats: נתונים: 0.02MB + אינדקס: 0.05MB + מנוע InnoDB
    wp_wc_order_tax_lookup: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_wc_product_attributes_lookup: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_wc_product_download_directories: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_wc_product_meta_lookup: נתונים: 0.02MB + אינדקס: 0.09MB + מנוע InnoDB
    wp_wc_rate_limits: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_wc_reserved_stock: נתונים: 0.02MB + אינדקס: 0.00MB + מנוע InnoDB
    wp_wc_tax_rate_classes: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_wc_webhooks: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    
    ### Post Type Counts ###
    
    attachment: 24
    oembed_cache: 1
    page: 8
    post: 5
    product: 19
    product_variation: 7
    revision: 37
    wp_global_styles: 1
    wp_navigation: 1
    wp_template: 4
    wp_template_part: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					החנות לא משתמשת בHTTPS. מידע נוסף על HTTPS ותעודות SSL.
    Hide errors from visitors: ✔
    
    ### Active Plugins (2) ###
    
    WooCommerce Blocks: מאת חברת אוטומטיק – 7.6.0
    ווקומרס: מאת חברת אוטומטיק – 6.5.1
    
    ### Inactive Plugins (12) ###
    
    Cards Slider: מאת Ron Shtigliz – 0.1.0
    Container With Dividers: מאת Ron Shtigliz – 0.1.0
    Gutrs Add Margins: מאת Ron Shtigliz – 0.1.0
    Gutrs Add Paddings: מאת Ron Shtigliz – 0.1.0
    Gutrs Animations: מאת Ron Shtigliz – 0.1.0
    Gutrs Copyrights: מאת Ron Shtigliz – 0.1.0
    Gutrs Icon: מאת Ron Shtigliz – 0.1.0
    Gutrs Make Grid: מאת Ron Shtigliz – 0.1.0
    Gutrs Slider: מאת Ron Shtigliz – 0.1.0
    Gutrs Social Share: מאת Ron Shtigliz – 0.1.0
    Icon Dropdown: מאת Ron Shtigliz – 0.1.0
    Position Z: מאת Ron Shtigliz – 0.1.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: ILS (₪)
    Currency Position: right_space
    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 ###
    
    בסיס חנות: #66 - /shop/
    סל קניות: #67 - /cart/
    תשלום: #68 - /checkout/
    החשבון שלי: #69 - /my-account/
    תנאי שימוש: ❌ דף לא מוגדר
    
    ### Theme ###
    
    Name: Gutrs
    Version: 1.0
    Author URL: http://shtigliz.com/
    Child Theme: ❌ – אם משנים את ווקומרס בערכת נושא אב שלא נבנתה באופן אישי
    מומלץ להשתמש בערכת עיצוב בת. אפשר לראות: כיצד ליצור ערכת עיצוב בת
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    הושלם: 44
    Oldest: 2022-05-11 15:48:58 +0300
    Newest: 2022-05-19 08:44:00 +0300
    
    ממתין לאישור: 2
    Oldest: 2022-05-19 08:44:03 +0300
    Newest: 2022-05-20 08:44:00 +0300
    
    ### Status report information ###
    
    Generated at: 2022-05-19 08:44:47 +03:00
    
    Thread Starter derrida

    (@derrida)

    so i have just installed wordpress manually, and woocommerce. all ok.
    then i installed woocommerce blocks…..and all those 404s….are there again!!!! and it still doesn’t work.

    i stress again: wordpress 5.9.3 with woocommerce and woocommerce blocks. and the default theme.

    this is ridiculous…

    Thread Starter derrida

    (@derrida)

    hi @paulostp
    they do exists. i use wp_cli on xampp

    Thread Starter derrida

    (@derrida)

    hi @paulostp
    this is really bizarre !!!

    anyways, i have tried on another machine with the same result. tried in incognito mode….same result.
    i have noticed an error in the mini cart block in the dev tools. this is a link to the image of the error:
    error

    also i think all the other things there are react issues maybe? but there is definitely a mini cart block error.

    Thread Starter derrida

    (@derrida)

    is there sombody responding?

    Thread Starter derrida

    (@derrida)

    Thread Starter derrida

    (@derrida)

    hi i have made a clean wordpress install with tewnty twenty two as a theme. installed woocommerce and woocommerce blocks, and added a mini cart in the header. there are some problems:
    1 – even though the mini cart shows the price and the number of items. when it opens the mini cart is empty. nothing is displayed and i cannot close the drawer.
    2- if i use the dev tools i can see that the message is: “your cart is empty”, which is wrong, in addition that one cannot see the message.
    3 – if i am on the home page, even with the dev tools there is no message at all.
    this is not usable at all.

    i have made a screen video recording but don’t know how to share it here.

    Thread Starter derrida

    (@derrida)

    anybody?

    Thread Starter derrida

    (@derrida)

    hi
    it is localhost, i am working on my own custom block theme. but i have switched to twenty twenty-two and switched off all my plugins (including things i work on(. still no mini cart block and sidebar issue.

    this is my report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): http://localhost/shtig
    Site address (URL): http://localhost/shtig
    WC Version: 6.4.1
    REST API Version: ✔ 6.4.1
    WC Blocks Version: ✔ 7.2.2
    Action Scheduler Version: ✔ 3.4.0
    WC Admin Version: ✔ 3.3.2
    Log Directory Writable: ✔
    WP Version: 5.9.3
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: he_IL
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.48 (Win64) OpenSSL/1.1.1l PHP/8.0.10
    PHP Version: 8.0.10
    PHP Post Max Size: 40 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 1000
    cURL Version: 7.76.1
    OpenSSL/1.1.1l
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.4.21-MariaDB
    Max Upload Size: 40 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ❌ מחלקת SoapClient אינה פעילה בשרת - שיטות תשלום המשתמשות ב-SOAP עשויות לא לעבוד כמצופה.
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.4.1
    WC Database Prefix: wp_
    הגודל הכולל של בסיס הנתונים: 24.21MB
    גודל הנתונים של בסיס הנתונים: 22.44MB
    גודל האינדקס של בסיס הנתונים: 1.77MB
    wp_woocommerce_sessions: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_woocommerce_api_keys: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_woocommerce_attribute_taxonomies: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_woocommerce_downloadable_product_permissions: נתונים: 0.02MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_woocommerce_order_items: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_woocommerce_order_itemmeta: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_woocommerce_tax_rates: נתונים: 0.02MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_woocommerce_tax_rate_locations: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_woocommerce_shipping_zones: נתונים: 0.02MB + אינדקס: 0.00MB + מנוע InnoDB
    wp_woocommerce_shipping_zone_locations: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_woocommerce_shipping_zone_methods: נתונים: 0.02MB + אינדקס: 0.00MB + מנוע InnoDB
    wp_woocommerce_payment_tokens: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_woocommerce_payment_tokenmeta: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_woocommerce_log: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_actionscheduler_actions: נתונים: 0.06MB + אינדקס: 0.11MB + מנוע InnoDB
    wp_actionscheduler_claims: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_actionscheduler_groups: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_actionscheduler_logs: נתונים: 0.06MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_commentmeta: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_comments: נתונים: 0.02MB + אינדקס: 0.09MB + מנוע InnoDB
    wp_links: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_options: נתונים: 2.02MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_postmeta: נתונים: 0.13MB + אינדקס: 0.09MB + מנוע InnoDB
    wp_posts: נתונים: 19.34MB + אינדקס: 0.22MB + מנוע InnoDB
    wp_termmeta: נתונים: 0.02MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_terms: נתונים: 0.02MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_term_relationships: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_term_taxonomy: נתונים: 0.02MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_usermeta: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_users: נתונים: 0.02MB + אינדקס: 0.05MB + מנוע InnoDB
    wp_wc_admin_notes: נתונים: 0.05MB + אינדקס: 0.00MB + מנוע InnoDB
    wp_wc_admin_note_actions: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_wc_category_lookup: נתונים: 0.02MB + אינדקס: 0.00MB + מנוע InnoDB
    wp_wc_customer_lookup: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_wc_download_log: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_wc_order_coupon_lookup: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_wc_order_product_lookup: נתונים: 0.02MB + אינדקס: 0.06MB + מנוע InnoDB
    wp_wc_order_stats: נתונים: 0.02MB + אינדקס: 0.05MB + מנוע InnoDB
    wp_wc_order_tax_lookup: נתונים: 0.02MB + אינדקס: 0.03MB + מנוע InnoDB
    wp_wc_product_attributes_lookup: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_wc_product_meta_lookup: נתונים: 0.02MB + אינדקס: 0.09MB + מנוע InnoDB
    wp_wc_rate_limits: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_wc_reserved_stock: נתונים: 0.02MB + אינדקס: 0.00MB + מנוע InnoDB
    wp_wc_tax_rate_classes: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    wp_wc_webhooks: נתונים: 0.02MB + אינדקס: 0.02MB + מנוע InnoDB
    
    ### Post Type Counts ###
    
    attachment: 69
    oembed_cache: 1
    page: 13
    polylang_mo: 2
    post: 19
    product: 19
    product_variation: 7
    revision: 754
    shop_order: 2
    wp_global_styles: 2
    wp_navigation: 1
    wp_template: 7
    wp_template_part: 4
    
    ### Security ###
    
    Secure connection (HTTPS): ❌
    					החנות לא משתמשת בHTTPS. מידע נוסף על HTTPS ותעודות SSL.
    Hide errors from visitors: ✔
    
    ### Active Plugins (2) ###
    
    WooCommerce PayPal Payments: מאת WooCommerce – 1.7.1
    ווקומרס: מאת חברת אוטומטיק – 6.4.1
    
    ### Inactive Plugins (15) ###
    
    Polylang: מאת WP SYNTEX – 3.2.1
    WooCommerce Blocks: מאת Automattic – 7.4.2
    Woo Shortcodes Kit: מאת Alberto G. – 2.0.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: ILS (₪)
    Currency Position: right_space
    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 ###
    
    בסיס חנות: #847 - /shop/
    סל קניות: #848 - /cart/
    תשלום: #849 - /checkout/
    החשבון שלי: #850 - /my-account/
    תנאי שימוש: ❌ דף לא מוגדר
    
    ### Theme ###
    
    Name: Twenty Twenty-Two
    Version: 1.1
    Author URL: https://wordpress.org/
    Child Theme: ❌ – אם משנים את ווקומרס בערכת נושא אב שלא נבנתה באופן אישי
    מומלץ להשתמש בערכת עיצוב בת. אפשר לראות: כיצד ליצור ערכת עיצוב בת
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ✔
    Shop country code: IL
    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: –
    
    ### Action Scheduler ###
    
    הושלם: 140
    Oldest: 2022-03-22 16:22:18 +0200
    Newest: 2022-04-20 16:40:36 +0300
    
    ### Status report information ###
    
    Generated at: 2022-04-20 16:41:07 +03:00
    
    Thread Starter derrida

    (@derrida)

    hi
    my wordpress version is: 5.9.3
    my woocommerce version is: 6.4.1
    i entered the full site editor and i cannot see any mini cart block!!!

    regarding the sidebar. i opened the shop page that is created by woocommerce and placed the loop inside a columns, while one is a sidebar. in the sidebar i have placed a filter by price but it doesn’t filter.

    same issue here. So from now on polylang is not free? cause without a translated menu what is the point of using the free version? i have downloaded 3.2 on wordpress 5.9.2 and tested it:
    1- there is NO language switcher block.
    2 – building your own menu display All languages in the menu. it only works when using page list.

    please confirm if this is right, because if that is the case, there is no point using the free version.

    Thread Starter derrida

    (@derrida)

    can i get an answer? since the menu system has been rewritten in wordpress 5.9, what can one do to make a different language menu?

Viewing 15 replies - 31 through 45 (of 72 total)