Problem with customer custom attributesError calling model from controller in magento 2factory injection in magento 2 not workinggetList() must be an instance of MagentoFrameworkApiSearchCriteriaInterfaceInjecting object into a pluiginPHP Fatal error: Uncaught TypeError: Argument 2 passed toGetting current customer with registry in Magento2Magento 2 Loading customer through block errorFatal error: Uncaught TypeError: Argument 1 passed to __construct() must be of the type array, null giveM2.3 - Creating multiple attribute options at once generates errorError while creating plugin for Sales Rule Colelction
Would Brexit have gone ahead by now if Gina Miller had not forced the Government to involve Parliament?
What are these arcade games in Ghostbusters 1984?
At what point in European history could a government build a printing press given a basic description?
How to illustrate the Mean Value theorem?
Simple function that simulates survey results based on sample size and probability
Construct a word ladder
What is the largest (size) solid object ever dropped from an airplane to impact the ground in freefall?
Why doesn't the Earth accelerate towards the Moon?
Is it unethical to use a published code in my PhD thesis work?
Make 24 using exactly three 3s
Is real public IP Address hidden when using a system wide proxy in Windows 10?
What is a Centaur Thief's climbing speed?
If a person had control of every single cell of their body, would they be able to transform into another creature?
What is the environment variable XDG_VTNR?
What to do when you've set the wrong ISO for your film?
Why aren't space telescopes put in GEO?
What was the idiom for something that we take without a doubt?
Why were helmets and other body armour not commonplace in the 1800s?
keyval - function for keyB should act dependent on value of keyA - how to do this?
Is it possible to play as a necromancer skeleton?
Is there a way to make it so the cursor is included when I prtscr key?
Is the Indo-European language family made up?
Where is the logic in castrating fighters?
US Passport stamped in UK for 6 months twice
Problem with customer custom attributes
Error calling model from controller in magento 2factory injection in magento 2 not workinggetList() must be an instance of MagentoFrameworkApiSearchCriteriaInterfaceInjecting object into a pluiginPHP Fatal error: Uncaught TypeError: Argument 2 passed toGetting current customer with registry in Magento2Magento 2 Loading customer through block errorFatal error: Uncaught TypeError: Argument 1 passed to __construct() must be of the type array, null giveM2.3 - Creating multiple attribute options at once generates errorError while creating plugin for Sales Rule Colelction
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have a problem with my Magento, since I added some customer custom attributes... Here we can see siret_number, function, structure_type.

Fields are display on the create form customer, but when I want to create the account, I have this error
"Fatal error: Uncaught TypeError: Argument 2 passed to MagentoEavModelAttributeDataText::validateLength() must be of the type string, null given"
So, I try to debug the file vendor/magento/module-eav/Model/Attribute/Data/Text.php and on line 80, before the call of the function
validateLength(MagentoEavModelAttribute $attribute, string $value), for one call the $value is NULL.
How to fix this ?
Thanks (I'm a beginner in Magento ;)
magento2 customer-attribute
New contributor
Robert S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I have a problem with my Magento, since I added some customer custom attributes... Here we can see siret_number, function, structure_type.

Fields are display on the create form customer, but when I want to create the account, I have this error
"Fatal error: Uncaught TypeError: Argument 2 passed to MagentoEavModelAttributeDataText::validateLength() must be of the type string, null given"
So, I try to debug the file vendor/magento/module-eav/Model/Attribute/Data/Text.php and on line 80, before the call of the function
validateLength(MagentoEavModelAttribute $attribute, string $value), for one call the $value is NULL.
How to fix this ?
Thanks (I'm a beginner in Magento ;)
magento2 customer-attribute
New contributor
Robert S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Do you using 3rd party module for customer?
– Amit Bera♦
May 20 at 15:09
No only my custom module
– Robert S.
May 20 at 15:23
and this module marketplace.magento.com/…) call Clarion_CustomerAttribute
– Robert S.
May 20 at 15:46
add a comment |
I have a problem with my Magento, since I added some customer custom attributes... Here we can see siret_number, function, structure_type.

Fields are display on the create form customer, but when I want to create the account, I have this error
"Fatal error: Uncaught TypeError: Argument 2 passed to MagentoEavModelAttributeDataText::validateLength() must be of the type string, null given"
So, I try to debug the file vendor/magento/module-eav/Model/Attribute/Data/Text.php and on line 80, before the call of the function
validateLength(MagentoEavModelAttribute $attribute, string $value), for one call the $value is NULL.
How to fix this ?
Thanks (I'm a beginner in Magento ;)
magento2 customer-attribute
New contributor
Robert S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I have a problem with my Magento, since I added some customer custom attributes... Here we can see siret_number, function, structure_type.

Fields are display on the create form customer, but when I want to create the account, I have this error
"Fatal error: Uncaught TypeError: Argument 2 passed to MagentoEavModelAttributeDataText::validateLength() must be of the type string, null given"
So, I try to debug the file vendor/magento/module-eav/Model/Attribute/Data/Text.php and on line 80, before the call of the function
validateLength(MagentoEavModelAttribute $attribute, string $value), for one call the $value is NULL.
How to fix this ?
Thanks (I'm a beginner in Magento ;)
magento2 customer-attribute
magento2 customer-attribute
New contributor
Robert S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Robert S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited May 21 at 3:28
Pawan
2,3892721
2,3892721
New contributor
Robert S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked May 20 at 14:42
Robert S.Robert S.
111
111
New contributor
Robert S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Robert S. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Do you using 3rd party module for customer?
– Amit Bera♦
May 20 at 15:09
No only my custom module
– Robert S.
May 20 at 15:23
and this module marketplace.magento.com/…) call Clarion_CustomerAttribute
– Robert S.
May 20 at 15:46
add a comment |
Do you using 3rd party module for customer?
– Amit Bera♦
May 20 at 15:09
No only my custom module
– Robert S.
May 20 at 15:23
and this module marketplace.magento.com/…) call Clarion_CustomerAttribute
– Robert S.
May 20 at 15:46
Do you using 3rd party module for customer?
– Amit Bera♦
May 20 at 15:09
Do you using 3rd party module for customer?
– Amit Bera♦
May 20 at 15:09
No only my custom module
– Robert S.
May 20 at 15:23
No only my custom module
– Robert S.
May 20 at 15:23
and this module marketplace.magento.com/…) call Clarion_CustomerAttribute
– Robert S.
May 20 at 15:46
and this module marketplace.magento.com/…) call Clarion_CustomerAttribute
– Robert S.
May 20 at 15:46
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Robert S. is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f275314%2fproblem-with-customer-custom-attributes%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Robert S. is a new contributor. Be nice, and check out our Code of Conduct.
Robert S. is a new contributor. Be nice, and check out our Code of Conduct.
Robert S. is a new contributor. Be nice, and check out our Code of Conduct.
Robert S. is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f275314%2fproblem-with-customer-custom-attributes%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Do you using 3rd party module for customer?
– Amit Bera♦
May 20 at 15:09
No only my custom module
– Robert S.
May 20 at 15:23
and this module marketplace.magento.com/…) call Clarion_CustomerAttribute
– Robert S.
May 20 at 15:46