Magento2: Customer Signup not working after upgarde.

Created on 16 Jul 2019  路  9Comments  路  Source: magento/magento2

Summary (*)


After upgrading from 2.2.7 to 2.3.2, Customer SignUp not working.
It shows an error.

Examples (*)


main.CRITICAL: Exception message: Missing required argument $value of DCS\Customer\Model\Attribute\DataFile.
Trace:

#1 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('DCS\Customer\Mod...', array(array('localeDate', 'Magento\Framewor...', true, NULL), array('logger', 'Psr\Log\LoggerIn...', true, NULL), array('attribute', 'Magento\Customer...', true, NULL), array('localeResolver', 'Magento\Framewor...', true, NULL), array('value', NULL, true, NULL), array('entityTypeCode', NULL, true, NULL), array('isAjax', NULL, true, NULL), array('urlEncoder', 'Magento\Framewor...', true, NULL), array('fileValidator', 'Magento\MediaSto...', true, NULL), array('fileSystem', 'Magento\Framewor...', true, NULL), array('uploaderFactory', 'Magento\Framewor...', true, NULL), array('fileProcessorFac...', 'Magento\Customer...', false, NULL)), array()) called at [lib\internal\Magento\Framework\ObjectManager\Factory\Dynamic\Developer.php:59]

2 Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('DCS\Customer\Mod...', array()) called at [lib\internal\Magento\Framework\ObjectManager\ObjectManager.php:56]

3 Magento\Framework\ObjectManager\ObjectManager->create('DCS\Customer\Mod...') called at [app\code\Magento\Eav\Model\AttributeDataFactory.php:65]

4 Magento\Eav\Model\AttributeDataFactory->create(&Magento\Customer\Model\Attribute#0000000037c5e81f00000000168d88e5#, &Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [app\code\Magento\Eav\Model\Validator\Attribute\Data.php:126]

5 Magento\Eav\Model\Validator\Attribute\Data->isValid(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [lib\internal\Magento\Framework\Validator\Constraint.php:54]

6 Magento\Framework\Validator\Constraint->isValid(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [lib\internal\Magento\Framework\Validator.php:59]

7 Magento\Framework\Validator->isValid(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [app\code\Magento\Customer\Model\ResourceModel\Customer.php:172]

8 Magento\Customer\Model\ResourceModel\Customer->_validate(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [app\code\Magento\Customer\Model\ResourceModel\Customer.php:155]

9 Magento\Customer\Model\ResourceModel\Customer->_beforeSave(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [app\code\Magento\Eav\Model\Entity\VersionControl\AbstractEntity.php:90]

10 Magento\Eav\Model\Entity\VersionControl\AbstractEntity->save(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:58]

11 Magento\Customer\Model\ResourceModel\Customer\Interceptor->___callParent('save', array(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#)) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:138]

12 Magento\Customer\Model\ResourceModel\Customer\Interceptor->Magento\Framework\Interception{closure}(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [lib\internal\Magento\Framework\App\Cache\FlushCacheByTags.php:68]

13 Magento\Framework\App\Cache\FlushCacheByTags->aroundSave(&Magento\Customer\Model\ResourceModel\Customer\Interceptor#0000000037c5ed9100000000168d88e5#, &Closure#0000000037c5e87d00000000168d88e5#, &Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:135]

14 Magento\Customer\Model\ResourceModel\Customer\Interceptor->Magento\Framework\Interception{closure}(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:153]

15 Magento\Customer\Model\ResourceModel\Customer\Interceptor->___callPlugins('save', array(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#), array(array('cart_recollect_o...'))) called at [generated\code\Magento\Customer\Model\ResourceModel\Customer\Interceptor.php:117]

16 Magento\Customer\Model\ResourceModel\Customer\Interceptor->save(&Magento\Customer\Model\Customer\Interceptor#0000000037c5e8f700000000168d88e5#) called at [lib\internal\Magento\Framework\Model\AbstractModel.php:655]

17 Magento\Framework\Model\AbstractModel->save() called at [lib\internal\Magento\Framework\Interception\Interceptor.php:58]

18 Magento\Customer\Model\Customer\Interceptor->___callParent('save', array()) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:138]

19 Magento\Customer\Model\Customer\Interceptor->Magento\Framework\Interception{closure}() called at [lib\internal\Magento\Framework\Interception\Interceptor.php:153]

20 Magento\Customer\Model\Customer\Interceptor->___callPlugins('save', array(), array(array('revokeTokensFrom...'))) called at [generated\code\Magento\Customer\Model\Customer\Interceptor.php:1118]

21 Magento\Customer\Model\Customer\Interceptor->save() called at [app\code\Magento\Customer\Model\ResourceModel\CustomerRepository.php:237]

22 Magento\Customer\Model\ResourceModel\CustomerRepository->save(&Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'd2ec21e4aa2919f0...') called at [lib\internal\Magento\Framework\Interception\Interceptor.php:58]

23 Magento\Customer\Model\ResourceModel\CustomerRepository\Interceptor->___callParent('save', array(&Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'd2ec21e4aa2919f0...')) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:138]

24 Magento\Customer\Model\ResourceModel\CustomerRepository\Interceptor->Magento\Framework\Interception{closure}(&Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'd2ec21e4aa2919f0...') called at [app\code\Magento\Customer\Model\Plugin\CustomerRepository\TransactionWrapper.php:44]

25 Magento\Customer\Model\Plugin\CustomerRepository\TransactionWrapper->aroundSave(&Magento\Customer\Model\ResourceModel\CustomerRepository\Interceptor#0000000037c5ed9a00000000168d88e5#, &Closure#0000000037c5e82e00000000168d88e5#, &Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'd2ec21e4aa2919f0...') called at [lib\internal\Magento\Framework\Interception\Interceptor.php:135]

26 Magento\Customer\Model\ResourceModel\CustomerRepository\Interceptor->Magento\Framework\Interception{closure}(&Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'd2ec21e4aa2919f0...') called at [lib\internal\Magento\Framework\Interception\Interceptor.php:153]

27 Magento\Customer\Model\ResourceModel\CustomerRepository\Interceptor->___callPlugins('save', array(&Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'd2ec21e4aa2919f0...'), array(array('update_newslette...'))) called at [generated\code\Magento\Customer\Model\ResourceModel\CustomerRepository\Interceptor.php:26]

28 Magento\Customer\Model\ResourceModel\CustomerRepository\Interceptor->save(&Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'd2ec21e4aa2919f0...') called at [app\code\Magento\Customer\Model\AccountManagement.php:893]

29 Magento\Customer\Model\AccountManagement->createAccountWithPasswordHash(&Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'd2ec21e4aa2919f0...', NULL) called at [generated\code\Magento\Customer\Model\AccountManagement\Interceptor.php:141]

30 Magento\Customer\Model\AccountManagement\Interceptor->createAccountWithPasswordHash(&Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'd2ec21e4aa2919f0...', NULL) called at [app\code\Magento\Customer\Model\AccountManagement.php:839]

31 Magento\Customer\Model\AccountManagement->createAccount(&Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'sjdgideosus215@', NULL) called at [generated\code\Magento\Customer\Model\AccountManagement\Interceptor.php:128]

32 Magento\Customer\Model\AccountManagement\Interceptor->createAccount(&Magento\Customer\Model\Data\Customer#0000000037c5e8a400000000168d88e5#, 'sjdgideosus215@', NULL) called at [app\code\Magento\Customer\Controller\Account\CreatePost.php:348]

33 Magento\Customer\Controller\Account\CreatePost->execute() called at [lib\internal\Magento\Framework\Interception\Interceptor.php:58]

34 Magento\Customer\Controller\Account\CreatePost\Interceptor->___callParent('execute', array()) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:138]

35 Magento\Customer\Controller\Account\CreatePost\Interceptor->Magento\Framework\Interception{closure}() called at [app\code\Bfm\Theme\Plugin\Magento\Customer\Controller\Account\CreatePost.php:50]

36 Bfm\Theme\Plugin\Magento\Customer\Controller\Account\CreatePost->aroundExecute(&Magento\Customer\Controller\Account\CreatePost\Interceptor#0000000037c5edff00000000168d88e5#, &Closure#0000000037c5ea8c00000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:135]

37 Magento\Customer\Controller\Account\CreatePost\Interceptor->Magento\Framework\Interception{closure}() called at [lib\internal\Magento\Framework\Interception\Interceptor.php:153]

38 Magento\Customer\Controller\Account\CreatePost\Interceptor->___callPlugins('execute', array(), NULL) called at [generated\code\Magento\Customer\Controller\Account\CreatePost\Interceptor.php:52]

39 Magento\Customer\Controller\Account\CreatePost\Interceptor->execute() called at [lib\internal\Magento\Framework\App\Action\Action.php:108]

40 Magento\Framework\App\Action\Action->dispatch(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:58]

41 Magento\Customer\Controller\Account\CreatePost\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#)) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:138]

42 Magento\Customer\Controller\Account\CreatePost\Interceptor->Magento\Framework\Interception{closure}(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:153]

43 Magento\Customer\Controller\Account\CreatePost\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#), array(array('designLoader', 'customerNotifica...', 'catalog_app_acti...', 'tax-app-action-d...', 'weee-app-action-...', 'customer_account', 'storeCheck', 'contextPlugin', 'customer-app-act...'), array('customer_account'))) called at [generated\code\Magento\Customer\Controller\Account\CreatePost\Interceptor.php:65]

44 Magento\Customer\Controller\Account\CreatePost\Interceptor->dispatch(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [lib\internal\Magento\Framework\App\FrontController.php:159]

45 Magento\Framework\App\FrontController->processRequest(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#, &Magento\Customer\Controller\Account\CreatePost\Interceptor#0000000037c5edff00000000168d88e5#) called at [lib\internal\Magento\Framework\App\FrontController.php:99]

46 Magento\Framework\App\FrontController->dispatch(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:58]

47 Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#)) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:138]

48 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [app\code\Magento\Store\App\FrontController\Plugin\RequestPreprocessor.php:94]

49 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#0000000037c5efef00000000168d88e5#, &Closure#0000000037c5efd600000000168d88e5#, &Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:135]

50 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [app\code\Amasty\InvisibleCaptcha\Plugin\Predispatch.php:112]

51 Amasty\InvisibleCaptcha\Plugin\Predispatch->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#0000000037c5efef00000000168d88e5#, &Closure#0000000037c5efd600000000168d88e5#, &Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:135]

52 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [app\code\Magento\PageCache\Model\App\FrontController\BuiltinPlugin.php:73]

53 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(&Magento\Framework\App\FrontController\Interceptor#0000000037c5efef00000000168d88e5#, &Closure#0000000037c5efd600000000168d88e5#, &Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:135]

54 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [lib\internal\Magento\Framework\Interception\Interceptor.php:153]

55 Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#), NULL) called at [generated\code\Magento\Framework\App\FrontController\Interceptor.php:26]

56 Magento\Framework\App\FrontController\Interceptor->dispatch(&Magento\Framework\App\Request\Http#0000000037c5ee1000000000168d88e5#) called at [lib\internal\Magento\Framework\App\Http.php:137]

57 Magento\Framework\App\Http->launch() called at [generated\code\Magento\Framework\App\Http\Interceptor.php:24]

58 Magento\Framework\App\Http\Interceptor->launch() called at [lib\internal\Magento\Framework\App\Bootstrap.php:261]

59 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#0000000037c5ee6d00000000168d88e5#) called at [pub\index.php:40]

[] []

Proposed solution

Format is valid needs update

All 9 comments

Hi @Goldstar215. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • [ ] Summary of the issue
  • [ ] Information on your environment
  • [ ] Steps to reproduce
  • [ ] Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.3-develop instance - upcoming 2.3.x release

For more details, please, review the Magento Contributor Assistant documentation.

@Goldstar215 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • [ ] yes
  • [ ] no

Hi @engcom-Charlie. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

  • [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.
  • [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • [ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • [ ] 4. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!

  • [ ] 5. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • [ ] 6. Add label Issue: Confirmed once verification is complete.

  • [ ] 7. Make sure that automatic system confirms that report has been added to the backlog.

Hello @Goldstar215 ! Thank you for your contribution !
I`m not able to reproduce this issue , can you please provide any steps how to reproduce it ?
Thanks

Hi @engcom-Charlie
Sorry for my mistake.
I've solved it.
It isn't Magento core issue.
BTW, could you please help me?
What is schema and data in module?
How it works and What it do?

Thanks.

@Goldstar215 Sure , please refer here (https://devdocs.magento.com/guides/v2.3/architecture/archi_perspectives/components/modules/mod_intro.html) to see some information about modules in Magento . Hope this link will be helpful for you !

Thanks for contribution.

Hi @engcom-Charlie.
Thanks a lot!!!
A+++

Hi @engcom-Charlie .
May I ask a question?
I have some custom modules that have UpgradeSchema and UpgradeData.
BTW, UpgradeData doesn't working.
It has several version_compare such as 1.0.3, 1.0.5, 1.0.8 etc.
And I have changed setup_version to 1.0.0 in module.xml.

Could you please help me?

Thanks.

@Goldstar215
The GitHub issue tracker is intended for Magento Core technical issues only. So i can`t really help you with your custom modules or 3rd party extentions...
Please refer to the Community Forums or the Magento Stack Exchange, for advice or general discussion.

Hope you will find answers there

Hi @engcom-Charlie
Thanks, but I can't find how to add forum in Community Forums.
Could you please let me know it?

Thanks.

Was this page helpful?
0 / 5 - 0 ratings