CRITICAL Uncaught Error & Button Disappearing
-
1) FIRST PROBLEM:
Up to 2.0.1 version I was using Woocommerce and when I payed with PAYPAL sandbox account I received a fatal error in the register (everything is completed perfecly well) but this appeared in the status page.2020-05-27T20:05:54+00:00 CRITICAL Uncaught Error: Cannot instantiate abstract class WC_Gateway_PPEC in /home/finanint/public_html/tienda/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:94
Stack trace:
#0 /home/finanint/public_html/tienda/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(70): WC_Payment_Gateways->init()
#1 /home/finanint/public_html/tienda/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(43): WC_Payment_Gateways->__construct()
#2 /home/finanint/public_html/tienda/wp-content/plugins/woocommerce/includes/class-woocommerce.php(826): WC_Payment_Gateways::instance()
#3 /home/finanint/public_html/tienda/wp-content/plugins/woocommerce/includes/class-wc-api.php(139): WooCommerce->payment_gateways()
#4 /home/finanint/public_html/tienda/wp-includes/class-wp-hook.php(287): WC_API->handle_api_requests(Object(WP))
#5 /home/finanin en /home/finanint/public_html/tienda/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php en la línea 94If I deactivated the Mercadopago plugin, everything worked great (without errors).
The only plugins I had were “Woocommerce”, “Mercado Pago payments for WooCommerce”, “WooCommerce PayPal Checkout Gateway” and “WooCommerce Price Based on Country (Basic)”.
Can you tell me if there is any configuration problem or the plugin has any bug?2) SECOND PROBLEM:
After updating to 2.0.2 the Checkout button dissapear if I select Paypal as payment method. The problem is that “<div id=”woo_pp_ec_button_cart”></div>” or “<div id=”woo_pp_ec_button_checkout”></div>” are emptyChecking errors in Mozilla I checked:
TypeError: paypal is undefined // wc-gateway-ppec-smart-payment-buttons.js:49:17
getFundingMethods https://mentoringfinanciero.com/tienda/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/assets/js/wc-gateway-ppec-smart-payment-buttons.js?ver=2.0.2:49
render https://mentoringfinanciero.com/tienda/wp-content/plugins/woocommerce-gateway-paypal-express-checkout/assets/js/wc-gateway-ppec-smart-payment-buttons.js?ver=2.0.2:82
render self-hosted:891
jQuery 8
dispatch
handle
trigger
trigger
trigger
each
each
trigger
success https://mentoringfinanciero.com/tienda/wp-content/plugins/woocommerce/assets/js/frontend/checkout.min.js?ver=4.1.1:1
jQuery 4
i
fireWith
x
cCan you help me solving this?
Regards
—————————-
SYSTEM STATUS### WordPress Environment ### WordPress address (URL): https://mentoringfinanciero.com/tienda Site address (URL): https://mentoringfinanciero.com/tienda WC Version: 4.1.1 REST API Version: ? 1.0.7 WC Blocks Version: ? 2.5.16 Action Scheduler Version: ? 3.1.6 WC Admin Version: ? 1.1.3 Log Directory Writable: ? WP Version: 5.4.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ? Language: es_ES External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 7.3.18 PHP Post Max Size: 128 MB PHP Time Limit: 90 PHP Max Input Vars: 1000 cURL Version: 7.70.0 OpenSSL/1.1.1g SUHOSIN Installed: – MySQL Version: 5.7.30 Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 4.1.1 WC Database Prefix: wptda_ Tama?o total de la base de datos: 1.10MB Tama?o de los datos de la base de datos: 0.84MB Tama?o del índice de la base de datos: 0.26MB wptda_woocommerce_sessions: Datos: 0.03MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_api_keys: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_attribute_taxonomies: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_downloadable_product_permissions: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_order_items: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_order_itemmeta: Datos: 0.01MB + índice: 0.01MB + Motor MyISAM wptda_woocommerce_tax_rates: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_tax_rate_locations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_shipping_zones: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_shipping_zone_locations: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_shipping_zone_methods: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_payment_tokens: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_payment_tokenmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_woocommerce_log: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_actionscheduler_actions: Datos: 0.02MB + índice: 0.02MB + Motor MyISAM wptda_actionscheduler_claims: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_actionscheduler_groups: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wptda_actionscheduler_logs: Datos: 0.01MB + índice: 0.02MB + Motor MyISAM wptda_commentmeta: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_comments: Datos: 0.01MB + índice: 0.01MB + Motor MyISAM wptda_links: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_options: Datos: 0.68MB + índice: 0.04MB + Motor MyISAM wptda_postmeta: Datos: 0.06MB + índice: 0.05MB + Motor MyISAM wptda_posts: Datos: 0.02MB + índice: 0.01MB + Motor MyISAM wptda_termmeta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wptda_terms: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wptda_term_relationships: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_term_taxonomy: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_usermeta: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wptda_users: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wptda_wc_admin_notes: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_wc_admin_note_actions: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_wc_category_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_wc_customer_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wptda_wc_download_log: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_wc_order_coupon_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_wc_order_product_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wptda_wc_order_stats: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wptda_wc_order_tax_lookup: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM wptda_wc_product_meta_lookup: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wptda_wc_tax_rate_classes: Datos: 0.00MB + índice: 0.01MB + Motor MyISAM wptda_wc_webhooks: Datos: 0.00MB + índice: 0.00MB + Motor MyISAM ### Post Type Counts ### attachment: 5 customize_changeset: 1 page: 7 post: 2 product: 1 revision: 1 shop_coupon: 1 shop_order: 23 shop_order_refund: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (4) ### WooCommerce PayPal Checkout Gateway: por WooCommerce – 2.0.2 Mercado Pago payments for WooCommerce: por Mercado Pago – 4.2.1 WooCommerce Price Based on Country (Basic): por Oscar Gare – 2.0.7 WooCommerce: por Automattic – 4.1.1 ### Inactive Plugins (0) ### ### Settings ### API Enabled: – Force SSL: – Currency: USD ($) Currency Position: left_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: – ### WC Pages ### Base de la tienda: #6 - /tienda/ Carrito: #7 - /carrito/ Finalizar compra: #8 - /finalizar-compra/ Mi cuenta: #9 - /mi-cuenta/ Términos y condiciones: ? Página sin definir ### Theme ### Name: Storefront Version: 2.5.6 Author URL: https://woocommerce.com/ Child Theme: ? – Si estás modificando WooCommerce en un tema padre que no has creado personalmente te recomendamos utilizar un tema hijo. Ver: Cómo crear un tema hijo WooCommerce Support: ? ### Templates ### Overrides: – ### Geolocation debug info ### Default customer location: geolocation MaxMind GeoIP database: ? MaxMind GeoIP license: ? MM_COUNTRY_CODE: ? GEOIP_COUNTRY_CODE: ? HTTP_CF_IPCOUNTRY: ? HTTP_X_COUNTRY_CODE: ? HTTP_X_REAL_IP: ? HTTP_X_FORWARDED_FOR: ? REMOTE_ADDR: 181.47.238.48 Real external IP: WCPBC_USE_REMOTE_ADDR: – Geolocation Test: Ejecutando... ### PBC Settings ### Version: 2.0.7 Base location: AR:C Base currency: USD Price Based On: shipping Shipping: – Test mode: – Test country: – Load products price in background: – Prices entered with tax: – Calculate tax based on: shipping Display prices in the shop: excl ### Zone Pricing ARG ### zone_id: arg name: ARG countries: AR currency: ARS exchange_rate: 1 auto_exchange_rate: no disable_tax_adjustment: no ### Action Scheduler ### Completo: 87 Oldest: 2020-05-13 18:31:35 +0000 Newest: 2020-05-27 19:23:29 +0000
- The topic ‘CRITICAL Uncaught Error & Button Disappearing’ is closed to new replies.