Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

[error log] "Payment gateway with handle 'wc-payment-method-cod' has been deactivated..." #8259

Closed
4 of 5 tasks
simkoG opened this issue Jan 18, 2023 · 2 comments
Closed
4 of 5 tasks

Comments

@simkoG
Copy link

simkoG commented Jan 18, 2023

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

There is a specific error log entry that is flooded the error log file.

Payment gateway with handle 'wc-payment-method-cod' has been deactivated in Cart and Checkout blocks because its dependency 'wc-blocks-registry' 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

The strange thing is that this site doesn't have any Cart or Checkout blocks inserted. The Block editor was disabled, and the website was built with Elementor Pro.

Expected behavior

No log entry.

Actual behavior

Log entry.

Steps to reproduce

I am not sure how to replicate this error.

WordPress Environment

### WordPress Environment ###

WordPress address (URL): https://albacinmax.hu
Site address (URL): https://albacinmax.hu
WC Version: 7.3.0
REST API Version: ✔ 7.3.0
WC Blocks Version: ✔ 9.1.5
Action Scheduler Version: ✔ 3.5.2
Log Directory Writable: ✔
WP Version: 6.1.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: ✔
WP Cron: –
Language: hu_HU
External object cache: –

### Server Environment ###

Server Info: Apache
PHP Version: 8.0.26
PHP Post Max Size: 128 MB
PHP Time Limit: 300
PHP Max Input Vars: 10000
cURL Version: 7.84.0
OpenSSL/1.1.1p

SUHOSIN Installed: –
MySQL Version: 5.7.40-cll-lve
Max Upload Size: 128 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

### Database ###

WC Database Version: 7.3.0
WC Database Prefix: ww2wlebgb_
Total Database Size: 41.12MB
Database Data Size: 34.37MB
Database Index Size: 6.75MB
ww2wlebgb_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
ww2wlebgb_woocommerce_order_items: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_woocommerce_order_itemmeta: Data: 0.16MB + Index: 0.16MB + Engine InnoDB
ww2wlebgb_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
ww2wlebgb_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_actionscheduler_actions: Data: 0.36MB + Index: 0.47MB + Engine InnoDB
ww2wlebgb_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_actionscheduler_logs: Data: 3.52MB + Index: 3.03MB + Engine InnoDB
ww2wlebgb_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_comments: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
ww2wlebgb_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
ww2wlebgb_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
ww2wlebgb_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
ww2wlebgb_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
ww2wlebgb_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_options: Data: 8.05MB + Index: 0.14MB + Engine InnoDB
ww2wlebgb_pmxe_exports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_pmxe_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_pmxe_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_postmeta: Data: 3.52MB + Index: 0.84MB + Engine InnoDB
ww2wlebgb_posts: Data: 1.52MB + Index: 0.09MB + Engine InnoDB
ww2wlebgb_seopress_significant_keywords: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_usermeta: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
ww2wlebgb_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
ww2wlebgb_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
ww2wlebgb_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ww2wlebgb_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
ww2wlebgb_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ww2wlebgb_woocommerce_shipping_table_rates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_wpml_mails: Data: 15.52MB + Index: 0.00MB + Engine InnoDB
ww2wlebgb_wpr_rocket_cache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
ww2wlebgb_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB

### Post Type Counts ###

acf-field: 42
acf-field-group: 3
attachment: 163
custom_css: 1
elementor_library: 18
flamingo_contact: 7
flamingo_inbound: 2
follow_up_email: 2
gp_elements: 3
itsec-dash-card: 19
itsec-dashboard: 2
nav_menu_item: 16
oembed_cache: 1
page: 19
post: 2
product: 3
revision: 45
seopress_404: 72
seopress_schemas: 1
shop_coupon: 1
shop_order: 75
tablepress_table: 1
wc_product_tab: 1
wp_block: 1

### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

### Active Plugins (26) ###

ManageWP - Worker: by GoDaddy – 4.9.16
Advanced Custom Fields PRO: by WP Engine – 6.0.6
Akismet Anti-Spam: by Automattic – 5.0.2
All-in-One WP Migration Google Drive Extension: by ServMask – 2.74
All-in-One WP Migration Unlimited Extension: by ServMask – 2.48
All-in-One WP Migration: by ServMask – 7.70
Classic Editor: by WordPress Contributors – 1.6.2
Duplicate Page: by mndpsingh287 – 4.5
Elementor Pro: by Elementor.com – 3.10.2
Elementor: by Elementor.com – 3.10.0
Facebook for WooCommerce: by Facebook – 3.0.8
GP Premium: by Tom Usborne – 2.2.2
HelloPack: by HelloWP Ltd – 1.1.17.5
Jetpack: by Automattic – 11.7.1
Loco Translate: by Tim Whitlock – 2.6.3
Safe SVG: by 10up – 2.0.3
HuCommerce | Magyar WooCommerce kiegészítések: by HuCommerce.hu – 2022.4.1
WooCommerce Order Search Admin powered by Algolia: by Raymond Rutjes – 1.13.2
WooCommerce PDF Invoices: by Andrew Benbow – 4.17.1
WooCommerce Table Rate Shipping: by WooCommerce – 3.1.0
WooCommerce: by Automattic – 7.3.0
WP Crontrol: by John Blackbourn & crontributors – 1.15.1
WP Mail Logging: by SendLayer – 1.10.5
WP Rocket: by WP Media – 3.12.4.1
SEOPress PRO: by The SEO Guys at SEOPress – 6.2.0.1
SEOPress: by The SEO Guys at SEOPress – 6.2.0.2

### Inactive Plugins (0) ###


### Dropin Plugins (2) ###

advanced-cache.php: advanced-cache.php
maintenance.php: maintenance.php

### Must Use Plugins (19) ###

Add GTM code to head and body: by Televitamin.hu – 1.0.0
Classic Widget Editor: by Televitamin.hu – 1.0.0
Dokumentum letöltő: by Televitamin.hu – 1.1.0
Elementor lazy load background images: by Televitamin.hu – 1.1.0
Elementor Safe Mode: by Elementor.com – 1.0.0
Free Shipping notice for cart page: by Televitamin.hu – 1.3.0
Header & Footer Custom Code: by Gergo Simko – 1.0
hucommerce-activate-pro.php: by  –
Karbantartás üzemmód: by Televitamin.hu – 1.0.1
Mennyiségi kedvezmény: by Televitamin.hu – 2.0.0
Nem használt funkciók kikapcsolása: by Kevin Leary (stackoverflow.com) – 1.0.0
Optimize WooCommerce Scripts: by DevinWalker – 1.0.0
Remove Class Filter and Action Without Access to Class Object: by Televitamin.hu – 1.0.0
Send emails with STMP: by Televitamin.hu – 1.1.0
tv-debug.php: by  –
WooCommerce adatkezelési tájékoztató a pénztár oldalon: by Televitamin.hu – 1.1.0
Woocommerce egyedi e-mail csatolmányok: by Televitamin.hu – 1.0.0
WooCommerce menü az admin menübe: by Televitamin.hu – 1.0.0
Woocoomerce PDF Invoice kiegészítések: by Televitamin.hu – 1.0.0

### Settings ###

API Enabled: –
Force SSL: –
Currency: HUF (Ft)
Currency Position: right_space
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: ❌ Page ID is set
but the page does not exist

Cart: woocommerce/woocommerce#21 - /kosar/
Checkout: woocommerce/woocommerce#22 - /penztar/
My account: woocommerce/woocommerce#23 - /fiokom/
Terms and conditions: woocommerce/woocommerce#108 - /altalanos-szerzodesi-feltetelek/

### Theme ###

Name: GeneratePress Child
Version: 1.2
Author URL: https://tomusborne.com
Child Theme: ✔
Parent Theme Name: GeneratePress
Parent Theme Version: 3.2.4
Parent Theme Author URL: https://tomusborne.com
WooCommerce Support: ✔

### Templates ###

Overrides: generatepress_child/woocommerce/emails/admin-new-order.php
generatepress_child/woocommerce/emails/customer-completed-order.php
generatepress_child/woocommerce/emails/customer-invoice.php
generatepress_child/woocommerce/emails/customer-new-account.php
generatepress_child/woocommerce/emails/customer-note.php
generatepress_child/woocommerce/emails/customer-on-hold-order.php
generatepress_child/woocommerce/emails/customer-processing-order.php
generatepress_child/woocommerce/emails/customer-refunded-order.php
generatepress_child/woocommerce/emails/customer-reset-password.php
generatepress_child/woocommerce/emails/email-addresses.php
generatepress_child/woocommerce/emails/email-customer-details.php
generatepress_child/woocommerce/emails/email-downloads.php
generatepress_child/woocommerce/emails/email-footer.php
generatepress_child/woocommerce/emails/email-header.php
generatepress_child/woocommerce/emails/email-order-details.php
generatepress_child/woocommerce/emails/email-order-items.php
generatepress_child/woocommerce/emails/email-styles.php


### Admin ###

Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
experimental-products-task
experimental-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
settings

Daily Cron: ✔ Next scheduled: 2023-01-19 08:33:40 +01:00
Options: ✔
Notes: 35
Onboarding: completed

### Action Scheduler ###

Complete: 892
Oldest: 2022-12-18 10:50:09 +0100
Newest: 2023-01-18 10:30:12 +0100

Failed: 31
Oldest: 2022-10-21 13:15:08 +0200
Newest: 2022-11-20 13:30:08 +0100

Pending: 3
Oldest: 2023-01-18 11:30:15 +0100
Newest: 2023-01-18 20:15:13 +0100


### pdf-invoices ###

PHP Version: ✔ Version 8.0.26 is installed.
DOMDocument: ✔ Version 20031129 is installed.
PCRE: ✔ Version 8.0.26 is installed.
Zlib: ✔ Version 8.0.26 is installed.
ZipArchive: ✔ Version 1.19.5 is installed.
ICONV: ✔ Version 2.17 is installed.
MBString: ✔ Yes
GD: ✔ Version 8.0.26 is installed.
PDF Generator: ✔ DOMPDF
Order status to create invoice: ✔ Processing
Set Resources Folder: ✔ False
Remote Logo: ✔ True
Which date does the invoice use?: ✔ Order
PDF Creation Method: ✔ File
New order email: ✔ Yes
using template file Template. Recipient : [email protected]

Cancelled order email: ❌ No. Recipient : [email protected]
Failed order email: ❌ No. Recipient : [email protected]
Order on-hold email: ❌ No. Recipient : customer
Processing order email: ❌ No. Recipient : customer
Completed order email: ❌ No. Recipient : customer
Refunded order email: ❌ No. Recipient : customer
Customer invoice / Order details email: ❌ No. Recipient : customer
Customer note email: ❌ No. Recipient : customer
Reset password email: ❌ No. Recipient : customer
New account email: ❌ No. Recipient : customer
Customer PDF invoice email: ❌ No. Recipient : customer
Admin PDF invoice email: ❌ No. Recipient : [email protected]

### Status report information ###

Generated at: 2023-01-18 10:35:00 +01:00

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.
@barryhughes barryhughes transferred this issue from woocommerce/woocommerce Jan 20, 2023
@barryhughes
Copy link
Member

Though this relates to the COD payment gateway (which is indeed inside WooCommerce Core), we are unable to replicate and the origin of this error message itself is inside WooCommerce Blocks.

To that end, I've transferred the issue across so that the Blocks team can do further troubleshooting.

@mikejolley
Copy link
Member

Thanks for the report. This appears to be a duplicate of #7907, so I will close this one and track the other instead.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants