-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&a... #3962
Comments
Hi @sheldonhull, can you share a screen shot of the error screen? Does it happen in the preview pane or you can't even login to the CMS? |
I included the config above. The full react error from the failure is linked above already. The actual error is better as its truncated on the error page and said to use that link for the full error. Does that clarify? |
The config in the issue is truncated.
Parsing of dates occurs in multiple places in the CMS, thus the request for a screen shot and a step by step guide. Preferably with a clean browser session.
The linked error explains the error, but doesn't provide much information on where it originated from. |
Cool. Here's the config file, I'll have to grab the others when I'm back in my system and try to reproduce https://www.github.com/sheldonhull/sheldonhull.hugo/tree/master/static%2Fcms%2Fconfig.yml And for clarity on the step by step.... I authenticate, and immediately it fails. I'm not able to do anything other than sign-in. I'll look for the screenshot too |
Can you share the full URL of that page? |
I'm sorry what page? I provided the full react error link at top. Are you referring to where I've placed my cms index.html? That would be sheldonhull.com/cms |
Sorry, I meant which blog post shows that error? |
It didn't tell me. I enabled developer tools in the hope that I could see it process these, and did find out a specific file it stopped on. The last item in developer tools that shows up is a blob that shows the following content:
|
@erezrokah just a quick follow-up to see if this gave you what you needed. I wanted to check out the updates in netlify cms for branch based publishing, but this is blocking me from being able to load. I'm not certain how the parsing for dates is handled, as I have a mix of date formats over time, and would like to ensure it doesn't panic on failure of a front matter parsing. |
- Want to see if it will load as it is panic on load. See decaporg/decap-cms/issues/3962
Ok, so I removed the entire section in question and the remainder content did load, so it's definitely an issue in the parsing of the those "microblog" entries and likely the dates. What's the next step? |
Hi @sheldonhull, I'm still not sure where that error appears. Can you share the full URL in the address for the broken entry? An example for that would be |
- Validating if this is the cause of panic per decaporg/decap-cms/issues/3962
- testing for panic on decaporg/decap-cms/issues/3962
Closing, please comment if still relevant |
Thank you for your assistance. The issues seems to no longer be persisting as I've played around with the adjustments on the config. So far everything is good. If I find the error happens again, I'll update this with further details. Thanks for your time! 🌮 |
Describe the bug
ReactJS
To Reproduce
I can't open my cms instance and not sure what to do.
I'm guessing it's some issue parsing dates from the front-matter, but not sure.
I want to use date tokens.
I removed this for example to try and test the slug generation, but it didn't seem to impact anything.
I also removed this from collections.item.fields.label.format
format: YYYY-MM-DD HH:00:00 +-HH:mm
Expected behavior
Open CMS without issue, and see the list of posts.
Screenshots
none.
Applicable Versions:
[email protected]
git-gateway
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36
CMS configuration
The text was updated successfully, but these errors were encountered: