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;








0















I have a problem with my Magento, since I added some customer custom attributes... Here we can see siret_number, function, structure_type.



enter image description here



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 ;)










share|improve this question









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

















0















I have a problem with my Magento, since I added some customer custom attributes... Here we can see siret_number, function, structure_type.



enter image description here



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 ;)










share|improve this question









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













0












0








0








I have a problem with my Magento, since I added some customer custom attributes... Here we can see siret_number, function, structure_type.



enter image description here



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 ;)










share|improve this question









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.



enter image description here



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






share|improve this question









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.










share|improve this question









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.








share|improve this question




share|improve this question








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

















  • 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










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.









draft saved

draft discarded


















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.









draft saved

draft discarded


















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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림