Fallo en notificación por e-mail
-
Hola Jesús,
Hemos movido un WooCommerce a un nuevo servidor y ahora no recibimos los emails de WooCommerce. La configuración de envío de mails de WordPress está bien, la hacemos por SMTP, la hemos probado y funciona.
He consultado el log de errores y he encontrado este error que ha aparecido en el minuto exacto de una compra:
[Wed Aug 10 11:40:11.598379 2016] [proxy_fcgi:error] [pid 10471:tid 139862982256384] [client 195.76.9.222:26448] AH01071: Got error '_wc_myredsys'), call_user_func_array, WC_MyRedsys->check_notification, WC_Abstract_Order->payment_complete, WC_Abstract_Order->reduce_order_stock, WC_Abstract_Order->send_stock_notifications, do_action('woocommerce_low_stock'), call_user_func_array, WC_Emails::send_transactional_email, do_action_ref_array, call_user_func_array, WC_Emails->low_stock, WC_Product_Variation->get_formatted_...\nPHP message: Error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 6 de la base de datos de WordPress para la consulta SELECT postmeta.post_id AS product_id\nFROM wp_postmeta AS postmeta\nLEFT JOIN wp_posts AS products ON ( products.ID = postmeta.post_id )\nWHERE postmeta.meta_key LIKE 'attribute_%'\nAND postmeta.meta_value = 'blush-3'\nAND products.post_parent = realizada por require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array, call_user_func_array, WC_API->handle_api_requests, do_action('woocommerce_api_wc_myredsys'), call_user_func_array, WC_MyRedsys->check_notification, WC_Abstract_Order->payment_complete, WC_Abstract_Order->reduce_order_stock, WC_Abstract_Order->send_stock_notifications, do_action('woocommerce_low_stock'), call_user_func_array, WC_Emails::send_transactional_email, do_action_ref_array, call_user_func_array, WC_Emails->low_stock, WC_Product_Variation->get_forma...\nPHP message: Error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 6 de la base de datos de WordPress para la consulta SELECT postmeta.post_id AS product_id\nFROM wp_postmeta AS postmeta\nLEFT JOIN wp_posts AS products ON ( products.ID = postmeta.post_id )\nWHERE postmeta.meta_key LIKE 'attribute_%'\nAND postmeta.meta_value = '38'\nAND products.post_parent = realizada por require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array, call_user_func_array, WC_API->handle_api_requests, do_action('woocommerce_api_wc_myredsys'), call_user_func_array, WC_MyRedsys->check_notification, WC_Abstract_Order->payment_complete, WC_Abstract_Order->reduce_order_stock, WC_Abstract_Order->send_stock_notifications, do_action('woocommerce_low_stock'), call_user_func_array, WC_Emails::send_transactional_email, do_action_ref_array, call_user_func_array, WC_Emails->low_stock, WC_Product_Variation->get_formatted_...\n'
Tienes idea de cual puede ser el problema y como podemos solucionarlo? Tenemos las últimas versiones de todos los plugins, incluido el tuyo.
Gracias por tu excelente trabajo.
https://www.ads-software.com/plugins/woocommerce-sermepa-payment-gateway/
- The topic ‘Fallo en notificación por e-mail’ is closed to new replies.