cancel
Showing results for 
Search instead for 
Did you mean: 

No podemos guardar el cliente. - Error al crear el cliente en Magento 2

No podemos guardar el cliente. - Error al crear el cliente en Magento 2

Primero que nada comentar que tengo experiencia con magento 1, y muy poca o nada a esta altura con Magento 2.

He instalado una lista de modelos usando composer en la consola y un skin de MGS Plaza themes.

El sitio esta posteado en un servidor cpanel de desarrollo y se encuentra en modo developer version 2.2.5

Incidencia:

Al intentar crear una cuenta de cliente nueva, el sistema devuelve un mensaje de error en español que dice “No podemos guardar el cliente.” sin embargo el cliente fue creado. Es simplemente que se imprime en pantalla este error y no se genera el login.

Captura de pantalla 2018-07-13 a las 14.01.26.png

 

 

En cambio si utilizo la url dominio.com/index.php/customer/account/create/ al completar el formulario y darle a enviar este recarga nuevamente vacío.

Captura de pantalla 2018-07-13 a las 14.03.00.png

 

 

Comentado esto es curioso que en el checkout es posible terminar una compra como invitado sin que de fallo alguno.

Mirando en /var/system.log tengo una lista larga de cosas por solucionar, pero no veo nada sobre el login

 

[2018-07-13 12:12:06] main.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:06] main.INFO: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:06] main.INFO: Broken reference: the 'toggle_button_sidebar' element cannot be added as child to 'div.sidebar.main', because the latter doesn't exist [] []
[2018-07-13 12:12:06] main.INFO: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:06] main.INFO: Broken reference: the 'custom.sidebar.content' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:06] main.INFO: Broken reference: the 'minicart' tries to reorder itself towards 'logo', but their parents are different: 'header-wrapper' and 'header' respectively. [] []
[2018-07-13 12:12:06] main.INFO: Broken reference: the 'toggle_button_sidebar' tries to reorder itself towards '', but their parents are different: 'div.sidebar.main' and '' respectively. [] []
[2018-07-13 12:12:11] main.CRITICAL: Unable to resolve the source file for 'frontend/Mgs/unero/es_ES/css/check_out.css' [] []
[2018-07-13 12:12:18] main.INFO: Broken reference: the 'mgs.instant.search.autocomplete' element cannot be added as child to 'top.search', because the latter doesn't exist [] []
[2018-07-13 12:12:18] main.INFO: Broken reference: the 'mgs.instant.search.autocomplete' element cannot be added as child to 'top.search', because the latter doesn't exist [] []
[2018-07-13 12:12:23] main.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:23] main.INFO: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:23] main.INFO: Broken reference: the 'toggle_button_sidebar' element cannot be added as child to 'div.sidebar.main', because the latter doesn't exist [] []
[2018-07-13 12:12:23] main.INFO: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:23] main.INFO: Broken reference: the 'custom.sidebar.content' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:23] main.INFO: Broken reference: the 'minicart' tries to reorder itself towards 'logo', but their parents are different: 'header-wrapper' and 'header' respectively. [] []
[2018-07-13 12:12:23] main.INFO: Broken reference: the 'toggle_button_sidebar' tries to reorder itself towards '', but their parents are different: 'div.sidebar.main' and '' respectively. [] []
[2018-07-13 12:12:29] main.CRITICAL: Unable to resolve the source file for 'frontend/Mgs/unero/es_ES/css/check_out.css' [] []
[2018-07-13 12:12:54] main.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:54] main.INFO: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:54] main.INFO: Broken reference: the 'toggle_button_sidebar' element cannot be added as child to 'div.sidebar.main', because the latter doesn't exist [] []
[2018-07-13 12:12:54] main.INFO: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:54] main.INFO: Broken reference: the 'custom.sidebar.content' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-13 12:12:54] main.INFO: Broken reference: the 'minicart' tries to reorder itself towards 'logo', but their parents are different: 'header-wrapper' and 'header' respectively. [] []
[2018-07-13 12:12:54] main.INFO: Broken reference: the 'toggle_button_sidebar' tries to reorder itself towards '', but their parents are different: 'div.sidebar.main' and '' respectively. [] []
[2018-07-13 12:12:59] main.CRITICAL: Unable to resolve the source file for 'frontend/Mgs/unero/es_ES/css/check_out.css' [] []
[2018-07-13 12:13:05] main.INFO: Broken reference: the 'mgs.instant.search.autocomplete' element cannot be added as child to 'top.search', because the latter doesn't exist [] []
[2018-07-13 12:13:06] main.INFO: Broken reference: the 'mgs.instant.search.autocomplete' element cannot be added as child to 'top.search', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'global_notices' element cannot be added as child to 'global.notices', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'logo' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'global.search' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'user' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'menu' element cannot be added as child to 'page.menu', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'breadcrumbs' element cannot be added as child to 'page.breadcrumbs', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'formkey' element cannot be added as child to 'page.formkey', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'page.title' element cannot be added as child to 'main.top', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'messages' element cannot be added as child to 'page.messages', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'page.actions.toolbar' element cannot be added as child to 'page.main.actions', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'legal' element cannot be added as child to 'footer', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'notification_area' element cannot be added as child to 'notifications', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'unread_system_messages' element cannot be added as child to 'notifications', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'notification_window' element cannot be added as child to 'notifications', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'notification.messages' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'header.inner.left' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'header.inner.right' element cannot be added as child to 'header', because the latter doesn't exist [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'logo' tries to reorder itself towards '', but their parents are different: 'header' and '' respectively. [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'global.search' tries to reorder itself towards 'logo', but their parents are different: 'header' and '' respectively. [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'user' tries to reorder itself towards '', but their parents are different: 'header' and '' respectively. [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'page.actions.toolbar' tries to reorder itself towards '', but their parents are different: 'page.main.actions' and '' respectively. [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'notification.messages' tries to reorder itself towards 'user', but their parents are different: 'header' and '' respectively. [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'header.inner.left' tries to reorder itself towards '', but their parents are different: 'header' and '' respectively. [] []
[2018-07-13 12:13:22] main.INFO: Broken reference: the 'header.inner.right' tries to reorder itself towards 'header.inner.left', but their parents are different: 'header' and '' respectively. [] []


Espero de vuestra buena ayuda, para poder despejar mis incognitas

4 REPLIES 4

Re: No podemos guardar el cliente. - Error al crear el cliente en Magento 2

Hi @martin_arnedo

 

Looks like you have theme issue , have you tried with Magento 's native LUMA theme ?

 

Enable LUMA theme from backend and then check error is still showing or not ?

 

Or you have done any customization on this registration page ?

 

Give us more insight on this , so its help us to troubleshoot the issue 

 

Hope it helps

if issue solved,Click Kudos & Accept as Solution

Re: No podemos guardar el cliente. - Error al crear el cliente en Magento 2

Hola @martin_arnedo,

 

¿Dentro del excpetion.log logras ver algo?

¿Estás usando algún módulo que modifique cuestiones del Customer? ¿Quizás algún evento o plugin está disparándose luego de la creación del cliente?

¿Te es posible ejecutar la misma acción en un entorno de prueba con el modo developer activo?

Re: No podemos guardar el cliente. - Error al crear el cliente en Magento 2

Hola Damian, estando en modo developer y habiendo cambiado al skin por defecto de Magento 2: Luma en system.log ahora tengo los siguientes errores:

 

[2018-07-15 12:47:15] main.CRITICAL: Exception message: Could not open socket
Trace: #0 /home/confort/public_html/vendor/magento/zendframework1/library/Zend/Mail/Protocol/Smtp.php(167): Zend_Mail_Protocol_Abstract->_connect('tcp://mail.conf...')
#1 /home/confort/public_html/vendor/magento/zendframework1/library/Zend/Mail/Transport/Smtp.php(199): Zend_Mail_Protocol_Smtp->connect()
#2 /home/confort/public_html/vendor/magento/zendframework1/library/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Smtp->_sendMail()
#3 /home/confort/public_html/vendor/dotmailer/dotmailer-magento2-extension/Model/Mail/Transport.php(29): Zend_Mail_Transport_Abstract->send(Object(Magento\Framework\Mail\Message\Interceptor))
#4 /home/confort/public_html/vendor/dotmailer/dotmailer-magento2-extension/Plugin/TransportPlugin.php(65): Dotdigitalgroup\Email\Model\Mail\Transport->send(Object(Magento\Framework\Mail\Message\Interceptor))
#5 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Dotdigitalgroup\Email\Plugin\TransportPlugin->aroundSendMessage(Object(Magento\Email\Model\Transport\Interceptor), Object(Closure))
#6 /home/confort/public_html/vendor/magento/module-email/Model/Mail/TransportInterfacePlugin.php(48): Magento\Email\Model\Transport\Interceptor->Magento\Framework\Interception\{closure}()
#7 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Email\Model\Mail\TransportInterfacePlugin->aroundSendMessage(Object(Magento\Email\Model\Transport\Interceptor), Object(Closure))
#8 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Email\Model\Transport\Interceptor->Magento\Framework\Interception\{closure}()
#9 /home/confort/public_html/generated/code/Magento/Email/Model/Transport/Interceptor.php(26): Magento\Email\Model\Transport\Interceptor->___callPlugins('sendMessage', Array, NULL)
#10 /home/confort/public_html/vendor/magento/module-customer/Model/EmailNotification.php(272): Magento\Email\Model\Transport\Interceptor->sendMessage()
#11 /home/confort/public_html/vendor/magento/module-customer/Model/EmailNotification.php(394): Magento\Customer\Model\EmailNotification->sendEmailTemplate(Object(Magento\Customer\Model\Data\Customer), 'customer/create...', 'customer/create...', Array, '1')
#12 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Customer\Model\EmailNotification->newAccount(Object(Magento\Customer\Model\Data\Customer), 'registered', NULL, '1', NULL)
#13 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Customer\Model\EmailNotification\Interceptor->___callParent('newAccount', Array)
#14 /home/confort/public_html/vendor/dotmailer/dotmailer-magento2-extension/Plugin/CustomerEmailNotificationPlugin.php(64): Magento\Customer\Model\EmailNotification\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Customer\Model\Data\Customer), 'registered', NULL, '1', NULL)
#15 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Dotdigitalgroup\Email\Plugin\CustomerEmailNotificationPlugin->aroundNewAccount(Object(Magento\Customer\Model\EmailNotification\Interceptor), Object(Closure), Object(Magento\Customer\Model\Data\Customer), 'registered', NULL, '1')
#16 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Customer\Model\EmailNotification\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Customer\Model\Data\Customer), 'registered', NULL, '1')
#17 /home/confort/public_html/generated/code/Magento/Customer/Model/EmailNotification/Interceptor.php(65): Magento\Customer\Model\EmailNotification\Interceptor->___callPlugins('newAccount', Array, NULL)
#18 /home/confort/public_html/vendor/magento/module-customer/Model/AccountManagement.php(854): Magento\Customer\Model\EmailNotification\Interceptor->newAccount(Object(Magento\Customer\Model\Data\Customer), 'registered', NULL, '1')
#19 /home/confort/public_html/vendor/magento/module-customer/Model/AccountManagement.php(814): Magento\Customer\Model\AccountManagement->sendEmailConfirmation(Object(Magento\Customer\Model\Data\Customer), NULL)
#20 /home/confort/public_html/generated/code/Magento/Customer/Model/AccountManagement/Interceptor.php(141): Magento\Customer\Model\AccountManagement->createAccountWithPasswordHash(Object(Magento\Customer\Model\Data\Customer), 'e7416d4ced16251...', NULL)
#21 /home/confort/public_html/vendor/magento/module-customer/Model/AccountManagement.php(738): Magento\Customer\Model\AccountManagement\Interceptor->createAccountWithPasswordHash(Object(Magento\Customer\Model\Data\Customer), 'e7416d4ced16251...', NULL)
#22 /home/confort/public_html/generated/code/Magento/Customer/Model/AccountManagement/Interceptor.php(128): Magento\Customer\Model\AccountManagement->createAccount(Object(Magento\Customer\Model\Data\Customer), 'Argentin@2133', NULL)
#23 /home/confort/public_html/vendor/magento/module-customer/Controller/Account/CreatePost.php(314): Magento\Customer\Model\AccountManagement\Interceptor->createAccount(Object(Magento\Customer\Model\Data\Customer), 'Argentin@2133', NULL)
#24 /home/confort/public_html/generated/code/Magento/Customer/Controller/Account/CreatePost/Interceptor.php(24): Magento\Customer\Controller\Account\CreatePost->execute()
#25 /home/confort/public_html/vendor/magento/framework/App/Action/Action.php(107): Magento\Customer\Controller\Account\CreatePost\Interceptor->execute()
#26 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
#27 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Customer\Controller\Account\CreatePost\Interceptor->___callParent('dispatch', Array)
#28 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Customer\Controller\Account\CreatePost\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#29 /home/confort/public_html/generated/code/Magento/Customer/Controller/Account/CreatePost/Interceptor.php(39): Magento\Customer\Controller\Account\CreatePost\Interceptor->___callPlugins('dispatch', Array, Array)
#30 /home/confort/public_html/vendor/magento/framework/App/FrontController.php(55): Magento\Customer\Controller\Account\CreatePost\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#31 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
#32 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
#33 /home/confort/public_html/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(94): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#34 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#35 /home/confort/public_html/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(69): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#36 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
#37 /home/confort/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Request\Http))
#38 /home/confort/public_html/generated/code/Magento/Framework/App/FrontController/Interceptor.php(26): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL)
#39 /home/confort/public_html/vendor/magento/framework/App/Http.php(135): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#40 /home/confort/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch()
#41 /home/confort/public_html/vendor/magento/framework/App/Bootstrap.php(256): Magento\Framework\App\Http\Interceptor->launch()
#42 /home/confort/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
#43 {main} [] []
[2018-07-15 12:47:21] main.INFO: Broken reference: the 'catalog.compare.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-15 12:47:21] main.INFO: Broken reference: the 'sale.reorder.sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-15 12:47:21] main.INFO: Broken reference: the 'toggle_button_sidebar' element cannot be added as child to 'div.sidebar.main', because the latter doesn't exist [] []
[2018-07-15 12:47:21] main.INFO: Broken reference: the 'wishlist_sidebar' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-15 12:47:21] main.INFO: Broken reference: the 'custom.sidebar.content' element cannot be added as child to 'sidebar.additional', because the latter doesn't exist [] []
[2018-07-15 12:47:21] main.INFO: Broken reference: the 'toggle_button_sidebar' tries to reorder itself towards '', but their parents are different: 'div.sidebar.main' and '' respectively. [] []

 

 

Puede ser dotmailer en causante departe de mis males??

Re: No podemos guardar el cliente. - Error al crear el cliente en Magento 2

Hola @martin_arnedo,

 

Entiendo que habría algún tipo de issue con el envío de email.

Con respecto al módulo que mencionas, ¿quizás podrías probar deshabilitandolo temporalmente? (o definitivamente si no lo vas a utilizar)