woocommerce_message not showing in safari
-
When product is add to cart in chrome I can see woocommerce_message saying either product was added to cart or something like not enough in stock. Something to give the user feedback.
In Safari this message does not show. Which is very confusing for the users. How can I fix this?
The page I need help with: [log in to see the link]
-
Hey there, @picturingtheamericas! Thanks for contacting us. I’m happy to help you.
I tested adding products to cart on your site on both Chrome and Safari to compare and they both behaved in the same way.
It did not show me any message, for both browsers, when I added something to the cart it automatically redirected me to the cart.
As I understand this is not what is happening on your end, correct?
Can you share screenshots or a screen recording of what happens on your end?
Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.Looking forward to your reply.
Have a wonderful day!
Hi! Thanks for taking the time to look into this.
I have changed this setting for now:
So now when someone tries to add something to cart it will go immediately to the cart after adding the product. If the product can’t be added, the customer still doesn’t see anything but at least the successfull case gives some feedback. That’s definitely not how it should be.
What I expect is that after add to cart user gets either a message saying the add was successful or an error message in the woocommerce_notice. And that for both browsers.
Please see my recording following the link below. It add to cart on chrome first and then in Safari
https://drive.google.com/file/d/1vtBeni8aOBXraHokMNntg5_6LKaLHD8f/view?usp=drive_link
- This reply was modified 7 months ago by IngeOodles.
Thank you for the additional details. As I understand you’re not getting the notifications from the add to cart on your products page when using Safari. I wanted to check the video you shared, but it requires access to be viewed, could you make it public, please? Additionally, can you share the details requested by my colleague? I’m leaving the instructions again:
Please share with us the necessary information below for us to investigate the issue further:
- System Status Report?which you can find via WooCommerce > Status > Get system report > Copy for support.
- Fatal error logs?(if any) under WooCommerce > Status > Logs.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.
Once we have more information, we’ll be able to assist you further.
Thanks!
Sorry about that. I’ve changed the video access rights, you can see it now:
https://drive.google.com/file/d/1vtBeni8aOBXraHokMNntg5_6LKaLHD8f/view?usp=drive_link
` WordPress Environment WordPress address (URL): https://oodlesandpinches.nl Site address (URL): https://oodlesandpinches.nl WC Version: 8.8.2 REST API Version: ? 8.8.2 Action Scheduler Version: ? 3.7.4 Log Directory Writable: ? WP Version: 6.5.2 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: – Server Environment Server Info: Apache/2.4.57 (Debian) PHP Version: 8.3.6 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.88.1 OpenSSL/3.0.11 SUHOSIN Installed: – MySQL Version: 10.11.6-MariaDB-log Max Upload Size: 2 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: 8.8.2 WC Database Prefix: wp_ Total Database Size: 379.55MB Database Data Size: 259.85MB Database Index Size: 119.70MB 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: 1.52MB + Index: 0.33MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 16.52MB + Index: 11.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.05MB + 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: 15.05MB + Index: 16.66MB + 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: 6.05MB + Index: 5.03MB + Engine InnoDB wp_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cmplz_cookies: Data: 0.05MB + Index: 0.00MB + Engine InnoDB wp_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_comments: Data: 3.52MB + Index: 3.17MB + Engine InnoDB wp_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_failed_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gdpr_cc_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_gdpr_consent: Data: 0.47MB + Index: 0.00MB + Engine InnoDB wp_gdpr_userlogs: Data: 1.52MB + Index: 0.00MB + Engine InnoDB wp_groups_capability: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_groups_group: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_groups_group_capability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_groups_user_capability: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_groups_user_group: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_background_task: Data: 0.02MB + Index: 0.00MB + 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.19MB + Index: 0.08MB + 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: 5.52MB + Index: 8.95MB + 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.02MB + Index: 0.02MB + Engine InnoDB wp_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_string_translations: Data: 4.52MB + Index: 4.03MB + Engine InnoDB wp_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_icl_translate: Data: 35.56MB + Index: 4.52MB + Engine InnoDB wp_icl_translate_job: Data: 0.25MB + Index: 0.13MB + Engine InnoDB wp_icl_translations: Data: 1.52MB + Index: 1.34MB + Engine InnoDB wp_icl_translation_batches: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_icl_translation_status: Data: 31.52MB + Index: 0.17MB + Engine InnoDB wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_mailchimp_jobs: Data: 1.05MB + Index: 0.00MB + Engine InnoDB wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_nm_personalized: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 12.44MB + Index: 1.20MB + Engine InnoDB wp_oses_attachments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_oses_clicks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_oses_emails: Data: 1.02MB + Index: 0.02MB + Engine InnoDB wp_oses_email_attachments: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_oses_failures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_oses_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_postmeta: Data: 51.59MB + Index: 36.13MB + Engine InnoDB wp_posts: Data: 40.55MB + Index: 4.75MB + Engine InnoDB wp_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp_revslider_css_bkp: Data: 0.13MB + Index: 0.02MB + Engine InnoDB wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_revslider_sliders: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_revslider_sliders_bkp: Data: 0.11MB + Index: 0.02MB + Engine InnoDB wp_revslider_slides: Data: 1.52MB + Index: 0.02MB + Engine InnoDB wp_revslider_slides_bkp: Data: 1.52MB + Index: 0.02MB + Engine InnoDB wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_social_users: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_termmeta: Data: 0.16MB + Index: 0.22MB + Engine InnoDB wp_terms: Data: 0.13MB + Index: 0.13MB + Engine InnoDB wp_term_relationships: Data: 1.52MB + Index: 1.52MB + Engine InnoDB wp_term_taxonomy: Data: 0.23MB + Index: 0.17MB + Engine InnoDB wp_tm_taskmeta: Data: 1.06MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_usermeta: Data: 0.27MB + Index: 0.16MB + Engine InnoDB wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wcs_payment_retries: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.11MB + Index: 0.06MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_orders: Data: 1.52MB + Index: 0.58MB + Engine InnoDB wp_wc_orders_meta: Data: 9.52MB + Index: 12.11MB + Engine InnoDB wp_wc_order_addresses: Data: 0.50MB + Index: 0.47MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_wc_order_operational_data: Data: 0.39MB + Index: 0.16MB + Engine InnoDB wp_wc_order_product_lookup: Data: 1.52MB + Index: 0.84MB + Engine InnoDB wp_wc_order_stats: Data: 0.28MB + Index: 0.20MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.20MB + Index: 0.17MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 1.52MB + Index: 1.31MB + Engine InnoDB wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 0.45MB + Index: 0.59MB + 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_wc_zapier_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_bundled_itemmeta: Data: 0.30MB + Index: 0.27MB + Engine InnoDB wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_pickup_locations_geodata: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_wtbp_tables: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_yith_wcwl: Data: 0.06MB + Index: 0.02MB + Engine InnoDB wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_yoast_indexable: Data: 2.52MB + Index: 0.89MB + Engine InnoDB wp_yoast_indexable_hierarchy: Data: 0.14MB + Index: 0.20MB + Engine InnoDB wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yoast_primary_term: Data: 0.11MB + Index: 0.16MB + Engine InnoDB wp_yoast_prominent_words: Data: 0.11MB + Index: 0.17MB + Engine InnoDB wp_yoast_seo_links: Data: 0.33MB + Index: 0.22MB + Engine InnoDB wp_yoast_seo_meta: Data: 0.20MB + Index: 0.00MB + Engine InnoDB Post Type Counts attachment: 4875 custom_css: 4 customize_changeset: 1 cwginstocknotifier: 20 izettle_purchase: 7087 jetpack_migration: 2 jp_img_sitemap: 2 jp_img_sitemap_index: 1 jp_sitemap: 1 jp_sitemap_master: 1 jp_vid_sitemap: 1 mc4wp-form: 1 nav_menu_item: 194 oembed_cache: 44 page: 89 post: 19 product: 1398 product_variation: 1467 progressbar_wp_r: 4 revision: 37 shop_coupon: 181 shop_order: 2049 shop_order_refund: 109 shop_subscription: 28 wc_pickup_location: 2 wp_global_styles: 1 yith_wcan_preset: 1 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (43) WPML Multilingual CMS: by OnTheGoSystems – 4.6.8 WPML SEO: by OnTheGoSystems – 2.1.0 Ajax Search Lite: by Ernest Marcinko – 4.11.5 Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3.2 HTML in Category Descriptions: by Arno Esterhuizen – 1.2.4 Back In Stock Notifier for WooCommerce | WooCommerce Waitlist Pro: by codewoogeek – 5.3.1 PublishPress Capabilities: by PublishPress – 2.13.0 Decimal Product Quantity for WooCommerce: by WPGear – 10.36 Flat Rate per State/Country/Region for WooCommerce: by PT Woo Plugins (by Webdados) – 2.9 Groups: by itthinx – 2.20.1 GT3 Photo & Video Gallery - Lite: by GT3 Photo Gallery – 2.7.7.21 GT3 Yez Core: by GT3themes – 1.1.4 Head, Footer and Post Injections: by Stefano Lissa – 3.2.8 HTTP Headers: by Dimitar Ivanov – 1.19.1 WPBakery Page Builder: by Michael M - WPBakery.com – 6.10.0 Login No Captcha reCAPTCHA (Google): by Robert Peake and Contributors – 1.7.3 Mailchimp for WooCommerce: by Mailchimp – 3.7 Mollie Payments for WooCommerce: by Mollie – 7.5.2 Perfect Brands WooCommerce: by QuadLayers – 3.3.7 Slider Revolution: by ThemePunch – 6.6.8 Page Builder by SiteOrigin: by SiteOrigin – 2.29.13 SiteOrigin Widgets Bundle: by SiteOrigin – 1.59.0 Checkout Field Editor for WooCommerce: by ThemeHigh – 2.0.1 WooCommerce.com Update Manager: by Automattic – 1.0.2 Customizer for WooCommerce: by SkyVerge – 2.8.0 WooCommerce Dynamic Pricing: by Element Stark – 3.2.6 Google Analytics for WooCommerce: by WooCommerce – 2.0.6 WooCommerce Grid / List toggle: by jameskoster – 1.2.1 WooCommerce Legacy REST API: by WooCommerce – 1.0.1 WooCommerce Multilingual & Multicurrency: by OnTheGoSystems – 5.3.6 MyParcel: by MyParcel – 4.22.1 WooCommerce: by Automattic – 8.8.2 (update to version 8.8.3 is available) Yoast SEO Premium: by Team Yoast – 22.6 Yoast SEO: by Team Yoast – 22.6 WP Crontrol: by John Blackbourn – 1.16.3 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.3.2 WP Offload SES Lite: by Delicious Brains – 1.6.8 WPML Media: by OnTheGoSystems – 2.7.3 WPML String Translation: by OnTheGoSystems – 3.2.8 Yoast SEO: Local: by Team Yoast and Arjan Snaterse – 15.3 Yoast SEO: WooCommerce: by Team Yoast – 16.2 Custom Product Tabs for WooCommerce: by Code Parrots – 1.8.5 YITH WooCommerce Ajax Product Filter: by YITH – 4.32.0 Inactive Plugins (8) Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 7.0.4 Datalayer for WooCommerce: by Array.codes – 3.8.0 Enable jQuery Migrate Helper: by The WordPress Team – 1.4.0 Hello Dolly: by Matt Mullenweg – 1.7.2 Jetpack: by Automattic – 13.3.1 WooCommerce Breadcrumbs: by Anthony Hortin – 1.1.0 WooCommerce Product Bundles - Min/Max Items: by SomewhereWarm – 1.3.2 WooCommerce Smart Coupons: by StoreApps – 4.17.0 (update to version 8.22.0 is available) Dropin Plugins () advanced-cache.php: advanced-cache.php Settings API Enabled: ? Force SSL: – Currency: EUR (€) Currency Position: right Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: bundle (bundle) external (external) grouped (grouped) simple (simple) subscription (subscription) variable (variable) variable subscription (variable-subscription) 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: – HPOS feature screen enabled: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: ? Logging Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 8 MB WC Pages Shop base: #35 - /online-zero-waste-shop/ Cart: #36 - /cart/ Checkout: #37 - /checkout/ My account: #38 - /my-account/ Terms and conditions: #180 - /terms/ Theme Name: Yez Version: 1.7.3 Author URL: https://gt3themes.com 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: yez/woocommerce/cart/cart.php yez/woocommerce/content-product.php yez/woocommerce/content-widget-product.php yez/woocommerce/global/quantity-input.php yez/woocommerce/loop/loop-start.php yez/woocommerce/loop/orderby.php yez/woocommerce/loop/pagination.php yez/woocommerce/single-product/rating.php yez/woocommerce/single-product/tabs/tabs.php yez/woocommerce/content-product_cat.php Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked product-pre-publish-modal remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience product-custom-fields settings async-product-editor-category-field launch-your-store Daily Cron: ? Next scheduled: 2024-04-30 19:15:36 +02:00 Options: ? Notes: 74 Onboarding: completed Action Scheduler Canceled: 1 Oldest: 2024-04-24 09:44:51 +0000 Newest: 2024-04-24 09:44:51 +0000 Complete: 23,082 Oldest: 2024-03-30 19:18:59 +0000 Newest: 2024-04-30 19:13:59 +0000 Failed: 65 Oldest: 2022-02-01 22:04:32 +0000 Newest: 2024-04-08 20:56:20 +0000 Pending: 6 Oldest: 2024-04-30 19:18:59 +0000 Newest: 2024-05-01 22:53:59 +0000 Status report information Generated at: 2024-04-30 21:16:00 +02:00 `
2024-04-30T18:45:20+00:00Critical Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, false given in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php:73 Additional context2024-04-30T18:45:29+00:00Critical Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, false given in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php:73 Additional context2024-04-30T18:45:38+00:00Critical Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, false given in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php:73 Additional context2024-04-30T18:45:43+00:00Critical Uncaught TypeError: array_intersect_key(): Argument #1 ($array) must be of type array, false given in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/classes/language-switcher/class-wpml-ls-templates.php:73 Additional context
Hey, @picturingtheamericas!
Thank you for the video and the info.
Can you please run a conflict test to see if something external is interfering with this?
To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.
If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.
— Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.
— Also, you can consider using a plugin like Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it is helpful to disable plugins without affecting your current site visitors.
— It is important to consider as well a staging functionality in case you would not like to touch your production site (you can ask your host if they offer this service), or you can use WP Staging for quickly spinning up a new test site.
You can find more about this in this guide.
Please let us know about your findings.
Have a wonderful day!
Hi there ?? ,
We haven’t heard from you in a while; this is to check if you’ve been able to proceed with the troubleshooting steps provided before and if you still need help.
Thanks!
-OPThanks for the heads-up! We’re here for you when you need us!
I can not figure out what it is. I’ve got a staging environment and a prod environment. On Stage the woocommerce_notice shows up in safari, in prod it does not. I’ve all the same versions of everything installed on both environments, copied css from prod to stage.
You can see the difference when your add a product to card in safari
on prod: https://oodlesandpinches.nl/nl/product/plasticvrije-zonnebrand-stick-kinderen-30spf/
on stage: https://stage.oodlesandpinches.nl/product/ben-anna-mouthwash-500ml-in-glass-bottle/
What else can I compare to find the difference ? I’ve been comparing for long time now, but haven’t figured it out yet.
OMG! I found it!
It’s not a chrome / safari difference. The difference is logged in / logged out user. I’ve been logged in on chrome but logged out on safari, which caused the different behavior.
Logged in, when add-to-card, then woocommerce_notice shows up (the green line behind the pop-up) and in the account pop-up all looks normal:
When logged out, on add-to-cart, the woocommerce_notice is not on the product page but it shows up in the pop-up with login:
This is where the login thing is configured:
The Login Thing caused all the trouble. I’ll create a ticket with who ever made GT3 Header Builder.
I’m glad you were able to find a solution to your inquiry here and thanks for sharing it with the community too! ??
I will mark this thread as resolved. Should you have further inquiries, kindly create a new topic here.
All the best and hopefully, the issue will be fixed soon.!
- The topic ‘woocommerce_message not showing in safari’ is closed to new replies.