Fatal error: Uncaught exception 'MercadoPagoException' with message 'could not connect to host

1

Hello, I would like to ask for help please, following an error with the PAYMENT MARKET application.

I have a sylviegeronimi.com client hosted on a dedicated server. Which has a WORDPRESS + WOOCOMMERCE /// application with the MERCADOPAGO module

I need help to understand the reason for this error and if it can be corrected.

Fatal error: Uncaught exception 'MercadoPagoException' with message 'could not connect to host

/// I ran a debug and it details the following origin:

Fatal error: Uncaught exception 'MercadoPagoException' with message 'could not connect to host' in / home / ee000669 / public_html / wp-content / plugins / woo-market-payment-module / mercadopago / sdk / lib / mercadopago .php: 849 Stack trace: # 0 /home/ee000669/public_html/wp-content/plugins/woo-mercado-pago-module/mercadopago/sdk/lib/mercadopago.php(879): MPRestClient :: exec (Array, '2.1.7 ')

1 /home/ee000669/public_html/wp-content/plugins/woo-mercado-pago-module/mercadopago-module.php(119): MPRestClient :: get (Array, '2.1.7')

2 /home/ee000669/public_html/wp-content/plugins/woo-mercado-pago-module/pacadomarket/mercadopago-gateway.php(212): WC_WooMercadoPago_Module :: get_categories ()

3 /home/ee000669/public_html/wp-content/plugins/woo-mercado-pago-module/pacadomarket/pacado-gateway.php(86): WC_WooMercadoPago_Gateway-> init_form_fields ()

4 /home/ee000669/public_html/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php(105): WC_WooMercadoPago_Gateway->> construct ()

5 / home / ee000669 / public_html / wp-content / plugins / woocommerce / incl in / home / ee000669 / public_html / wp-content / plugins / woo-market-payment-module / mercadopago / sdk / lib / mercadopago. php on line 849

I leave below a detail of the state of the system:

'

WordPress Environment

Site URL: sylviegeronimi.com WC Version: 2.6.13 Log Directory Writable: ✔ WP Version: 4.7.2 WP Multisite: - WP Memory Limit: 256 MB WP Debug Mode: - WP Cron: - Language: es_ES

Server Environment

Server Info: Apache / 2.4.9 (Unix) OpenSSL / 1.0.1e-fips mod_fastcgi / mod_fastcgi-SNAP-0910052141 PHP Version: 5.6.29 PHP Post Max Size: 32 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 CURL Version: 7.19.7 NSS / 3.19.1 Basic ECC

SUHOSIN Installed: - MySQL Version: 5.6.35 Max Upload Size: 32 MB Default Timezone is UTC: ✔ fsockopen / cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote publishing: ✔ Remote obtaining: ✔

Database

WC Database Version: 2.6.13 : woocommerce_sessions: ✔ woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ woocommerce_shipping_zones: ✔ woocommerce_shipping_zone_locations: ✔ woocommerce_shipping_zone_methods: ✔ woocommerce_payment_tokens: ✔ woocommerce_payment_tokenmeta: ✔

Activate Plugins (16)

BE Page Builder: by Brandexponents - 4.6.1 BE Portfolio Post: by Brandexponents - 1.1 BE one click import: by BrandExponents - 3.0 ITRO Popup Plugin: by ITRO Team - 5.0.1 Master Slider Pro: by averta - 2.29.0 Meta Box Conditional Logic: by Tan Nguyen - 1.0.8 Meta Box Show Hide: by Rilwis - 0.2.1 Meta Box Tabs: by Rilwis - 0.1.5 Oshine Modules: by Brand Exponents - 1.0.2 Tatsu: by Brand Exponents - 1.0.2 TimThumb Vulnerability Scanner: by Peter Butler - 1.54 Woo Mercado Pago Module: by Mercado Pago - 2.1.7 WooCommerce ARS Currency: by claudiosanches - 2.0 WooCommerce Zoomifier - The Ultimate Responsive WooCommerce Magnifier: by The WP Instinct Team - 1.6 WooCommerce: by WooThemes - 2.6.13 WordPress Importer: by wordpresspuntoorg - 0.6.3

Settings

Force SSL: - Currency: ARS ($) Currency Position: left_space Thousand Separator:. Decimal Separator:, Number of Decimals: 0

API

API Enabled: ✔

WC Pages

Store basis: # 3442 - / creations / Cart: # 14 - / cart / Finish purchase: # 15 - / finalize-buy / My account: # 16 - / my-account /

Taxonomies

Product Types: external (external) grouped simple (simple) variable (variable)

Theme

Name: Oshin Version: 5.0.1 Author URL: brandexponents.com/ Child Theme: ❌ - If you are modifying WooCommerce in a parent theme that you have not personally created we recommend you use a son theme. See:: How to create a child theme

WooCommerce Support: ✔

Templates

Overrides: - '

-

Greetings, Antonio Leonardo Leiva

    
asked by Antonio Leiva MegaPublicidad 30.01.2017 в 20:24
source

1 answer

0

Has anyone managed to solve this issue? My website was working correctly and I have the same error ONLY when I activate the paid market plugin. WooCommerce version; Version 3.4.4 | Worpress session: Version 4.9.8 PHP version: Current PHP version: 7.0 Module version, if you are using: Version 3.0.17 link

Fatal error: Uncaught MercadoPagoException: Could not resolve host: api.mercadopago.com in /home/essocial/public_html/clientes/tienda/wp-content/plugins/woocommerce-mercadopago/includes/sdk/lib/mercadopago.php : 848 Stack trace: # 0 /home/essocial/public_html/clients/store/wp-content/plugins/woocommerce-marketpay/includes/sdk/lib/marketpay.php(946): MPRestClient :: exec (Array, '3.0 .17 ') # 1 /home/essocial/public_html/clients/store/wp-content/plugins/woocommerce-marketingpay/woocommerce-marketingpay.php(536): MPRestClient :: get (Array,' 3.0.17 ') # 2 /home/essocial/public_html/clients/store/wp-content/plugins/woocommerce-marketingpay/woocommerce-marketingpay.php(131): WC_Woo_Mercado_Pago_Module :: get_categories () # 3 / home / essocial / public_html / customers / store / wp-content / plugins / woocommerce-mercadopago / woocommerce-mercadopago.php (123): WC_Woo_Mercado_Pago_Module- > __ construct () # 4 /home/essocial/public_html/clients/store/wp-includes/class-wp-hook.php (286): WC_Woo_Mercado_Pago_Module :: in it_mercado_pago_class ('') # 5 / home / essocial in /home/essocial/public_html/clientes/tienda/wp-content/plugins/woocommerce-mercadopago/includes/sdk/lib/mercadopago.php on line 848

    
answered by 15.08.2018 в 15:11