Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'immutableProps' of undefined #3048

Closed
paulocesarpcfj opened this issue Jun 12, 2017 · 12 comments
Closed

Cannot read property 'immutableProps' of undefined #3048

paulocesarpcfj opened this issue Jun 12, 2017 · 12 comments
Assignees
Labels

Comments

@paulocesarpcfj
Copy link

I don't know why i'm getting this error. Someone could help how to track the problem?

Cannot read property 'immutableProps' of undefined

Thanks!

@sunnyvempati
Copy link

sunnyvempati commented Jun 12, 2017

I have the same issue +1

This is happening after upgrade to 6.8.0

@gustavohenke
Copy link
Collaborator

@paulocesarpcfj @sunnyvempati I assume you're doing something like this:

reduxForm()(MyForm)

If that's the case, until a fix gets released, can you try at least do reduxForm({})? It should fix.

@gustavohenke gustavohenke self-assigned this Jun 13, 2017
gustavohenke added a commit that referenced this issue Jun 13, 2017
This parameter may be undefined, as all configs can be
defined via props.

Fixes #3048
@gustavohenke
Copy link
Collaborator

Possible fix in #3052

@Maxilver
Copy link

Maxilver commented Jun 13, 2017

@gustavohenke

If that's the case, until a fix gets released, can you try at least do reduxForm({})? It should fix.

Works for me. Thanks!

@sunnyvempati
Copy link

@gustavohenke thank you!

@paulocesarpcfj
Copy link
Author

@gustavohenke It worked for me too! Thank you very much. Should I close the issue, then or maintain opened cause of the bug?

erikras pushed a commit that referenced this issue Jun 14, 2017
This parameter may be undefined, as all configs can be
defined via props.

Fixes #3048
@gustavohenke
Copy link
Collaborator

@paulocesarpcfj the PR #3052 closed it! But rest assured that @erikras will post an update here as soon as the fix gets released.

@MichaelDeBoey
Copy link

@erikras Any idea when this will be released? 🙂

@gustavohenke
Copy link
Collaborator

@MichaelDeBoey I'm pretty sure that this is going to be soon. For now you can simply change your calls from reduxForm() to reduxForm({}).

@wlingke
Copy link

wlingke commented Jul 11, 2017

Any idea when this will be released? It's been almost a month

@erikras
Copy link
Member

erikras commented Jul 11, 2017

Fix published in v7.0.0.

@lock
Copy link

lock bot commented Jul 11, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants