Payment gateway with handle ‘wc-payment-method-cod’
-
Several times within one hour the pages of the blog post are endlessly loaded and at this moment I get this error in the logs.
— // Payment gateway with handle ‘wc-payment-method-cod’ has been deactivated in Cart and Checkout blocks because its dependency ‘wp-polyfill’ is not registered. //–
Installing Elementor and WooCommerce on the site.
All other pages of the site and products in mgmzine always load normally.
How can I solve this problem?
-
Hello @avdsm,
Several times within one hour the pages of the blog post are endlessly loaded and at this moment I get this error in the logs.
Do you have any plugins that alter the cart/checkout page behavior? If yes, then please try disabling them.
Could you also share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”.? Once you’ve done that, paste it here in your response.
Look forward to hearing back from you.WordPress Environment WordPress address (URL): https://vosmarket.am
Site address (URL): https://vosmarket.am
WC Version: 7.5.1
REST API Version: ? 7.5.1
WC Blocks Version: ? 9.6.6
Action Scheduler Version: ? 3.5.4
Log Directory Writable: ?
WP Version: 6.2
WP Multisite: –
WP Memory Limit: 512 MB
WP Debug Mode: –
WP Cron: ?
Language: hy
External object cache: – Server Environment Server Info: Apache/2.4.51 (Unix)
PHP Version: 7.4.33
PHP Post Max Size: 100 MB
PHP Time Limit: 600
PHP Max Input Vars: 10000
cURL Version: 7.86.0
OpenSSL/1.1.1s SUHOSIN Installed: –
MySQL Version: 5.7.21-20-beget-5.7.21-20-1-log
Max Upload Size: 999 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ? Database WC Database Version: 7.5.1
WC Database Prefix: wp_
Total Database Size: 57.53MB
Database Data Size: 46.81MB
Database Index Size: 10.72MB
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.05MB + 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.09MB + 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.06MB + 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_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_options: Data: 9.34MB + Index: 0.14MB + Engine InnoDB
wp_postmeta: Data: 23.52MB + Index: 3.03MB + Engine InnoDB
wp_posts: Data: 7.52MB + Index: 0.42MB + Engine InnoDB
wp_post_views: Data: 2.52MB + Index: 4.03MB + Engine InnoDB
wp_rcl_chats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_rcl_chat_messagemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_rcl_chat_messages: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_rcl_chat_users: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_rcl_feeds: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_rcl_orders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_rcl_order_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_rcl_pforums: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_rcl_pforum_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_rcl_pforum_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_rcl_pforum_posts: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_rcl_pforum_topics: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_rcl_pforum_visits: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_rcl_rating_totals: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_rcl_rating_users: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_rcl_rating_values: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_rcl_temp_media: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_rcl_user_action: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + 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.06MB + Index: 0.02MB + Engine InnoDB
wp_term_taxonomy: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_usermeta: Data: 1.52MB + Index: 0.03MB + Engine InnoDB
wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_wc_product_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_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
wp_yoast_indexable: Data: 0.33MB + Index: 0.13MB + Engine InnoDB
wp_yoast_indexable_hierarchy: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
wp_yoast_primary_term: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
wp_yoast_seo_links: Data: 0.25MB + Index: 0.17MB + Engine InnoDB Post Type Counts attachment: 1206
blocks: 4
cp_recipe: 105
custom_css: 3
customize_changeset: 161
elementor_font: 1
elementor_library: 12
glossary: 16
nav_menu_item: 78
page: 83
post: 21
product: 4
rb-deal: 1
rb-gallery: 4
rb-portfolio: 1
revision: 195
shop_coupon: 1
shop_order: 14
wp_block: 1
wp_global_styles: 4
wpcf7_contact_form: 3 Security Secure connection (HTTPS): ?
Hide errors from visitors: ? Active Plugins (22) Autoptimize: by Frank Goossens (futtta) – 3.1.6
Breadcrumb NavXT: by John Havlik – 7.2.0
Checkout Field Editor and Manager for WooCommerce: by Acowebs – 2.2.10
Contact Form 7: by Takayuki Miyoshi – 5.7.5.1
Cooked Pro: by Boxy Studio – 1.7.5.4
Cooked: by Boxy Studio – 1.7.13
Webcraftic Cyrlitera – transliteration of links and file names: by Webcraftic – 1.1.7
Drag and Drop Multiple File Upload - Contact Form 7: by Glen Don L. Mongaya – 1.3.6.9
Elementor Pro: by Elementor.com – 3.11.2
Elementor: by Elementor.com – 3.12.0
Loco Translate: by Tim Whitlock – 2.6.4
Image optimization service by Optimole: by Optimole – 3.5.7
Pixwell Core: by Theme-Ruby – 10
Pixwell Deal: by Theme-Ruby – 8.2
Post Views Counter: by Digital Factory – 1.3.12
Product Variation Swatches for Woocommerce: by ThemeHigh – 2.3.2
Redirection: by John Godley – 5.3.9
WooCommerce: by Automattic – 7.5.1
Yoast SEO: by Team Yoast – 20.4
WP-Optimize - Clean, Compress, Cache: by David Anderson
Ruhani Rabin
Team Updraft – 3.2.14 WP-Recall: by Plechev Andrey – 16.26.5
WP Glossary - Encyclopedia / Lexicon / Knowledge Base / Wiki / Dictionary: by The WP Instinct Team – 2.3 Inactive Plugins (0) Dropin Plugins (1) advanced-cache.php: advanced-cache.php Settings API Enabled: –
Force SSL: –
Currency: AMD (?)
Currency Position: right
Thousand Separator:
Decimal Separator: ,
Number of Decimals: 0
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: ?
Order datastore: WC_Order_Data_Store_CPT WC Pages Shop base: #2953 - /shop/
Cart: #3484 - /cart/
Checkout: #2753 - /checkout-2/
My account: #2754 - /my-account/
Terms and conditions: #3 - /privacy-policy/ Theme Name: Pixwell child
Version: 1.0
Author URL: https://themeforest.net/user/theme-ruby/portfolio/
Child Theme: ?
Parent Theme Name: Pixwell
Parent Theme Version: 10
Parent Theme Author URL: https://themeforest.net/user/theme-ruby/
WooCommerce Support: ? Templates Overrides: pixwell/woocommerce/content-product.php
pixwell/woocommerce/global/sidebar.php
pixwell/woocommerce/global/wrapper-end.php
pixwell/woocommerce/global/wrapper-start.php
pixwell/woocommerce/loop/loop-end.php
pixwell/woocommerce/loop/loop-start.php
pixwell/woocommerce/loop/pagination.php
pixwell/woocommerce/single-product/tabs/description.php
pixwell/woocommerce/single-product/title.php Admin Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
multichannel-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
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page Disabled Features: minified-js
new-product-management-experience
product-variation-management
settings Daily Cron: ? Next scheduled: 2023-04-02 11:04:03 +04:00
Options: ?
Notes: 46
Onboarding: completed Action Scheduler Complete: 209
Oldest: 2023-03-22 15:05:12 +0400
Newest: 2023-04-02 10:46:29 +0400 Failed: 7
Oldest: 2023-03-22 15:10:05 +0400
Newest: 2023-04-01 14:34:08 +0400 Pending: 2
Oldest: 2023-04-02 14:34:08 +0400
Newest: 2023-04-02 17:27:22 +0400 Status report information Generated at: 2023-04-02 13:10:51 +04:00
`From plugins only “Product Variation Swatches for Woocommerce” and “Checkout Field Editor and Manager for WooCommerce“, nothing changes after deactivation.
And this message is from the server, hosting.
—————
[Sun Apr 02 12:12:29 2023] [notice] [client 46.71.104.210:0] Payment gateway with handle ‘wc-payment-method-cod’ has been deactivated in Cart and Checkout blocks because its dependency ‘wp-polyfill’ is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets, referer https://vosmarket.am/bnakan-meghr/——
Thank you for the answer!-
This reply was modified 1 year, 11 months ago by
avdsm.
Hi @avdsm
Thanks for sharing the requested information above.
Can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled and see if this works?
If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.
If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.
Let us know how it goes!
Okay, I’ll check and write.
Hi @avdsm
Sounds like a plan! Let us know how the testing goes after! ??
2 types of messages appeared on the cloned site in the hosting
—–[Tue Apr 04 08:34:24 2023] [notice] [client 130.193.127.158:0] Payment gateway with handle ‘wc-payment-method-bacs’ has been deactivated in Cart and Checkout blocks because its dependency ‘wp-polyfill’ is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets, referer https://vosmarket.am/1680585942455/?cat=145
[Tue Apr 04 08:34:24 2023] [notice] [client 130.193.127.158:0] Payment gateway with handle ‘wc-payment-method-cod’ has been deactivated in Cart and Checkout blocks because its dependency ‘wp-polyfill’ is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets, referer https://vosmarket.am/1680585942455/?cat=145——
Even with the “Storefront” theme installed, these 2 messages appear in the hosting, but the blog pages already load quickly.
https://vosmarket.am/1680585942455/?cat=145Hello @avdsm,
Thank you for trying the suggestions above.
First, I would like to point out that these are notices so they won’t break your site, they’re just reminders to change things for the future.
That said, I did some digging and found this problem was previously reported in Elementor’s GitHub repository.
Someone from their team provided a temporary solution here, I suggest you try it out. If that didn’t work, then please try disabling Elementor altogether.
Let us know how it goes! -
This reply was modified 1 year, 11 months ago by
- The topic ‘Payment gateway with handle ‘wc-payment-method-cod’’ is closed to new replies.