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

[BUG] No content on page when activating this plugin #84

Closed
landoephan opened this issue Nov 28, 2022 · 4 comments
Closed

[BUG] No content on page when activating this plugin #84

landoephan opened this issue Nov 28, 2022 · 4 comments
Assignees

Comments

@landoephan
Copy link

landoephan commented Nov 28, 2022

Describe the bug
I'm getting an error when I go from the content manager tab to the Content-Type builder tab. The whole page just turns white. When I reload the page it's loading as expected. The same result I'm also getting when I click on the dropdown field to change the language inside the content manager tab. When I deactivate the plugin it works fine.

To Reproduce
Steps to reproduce the behavior:

  1. Go to content manager inside the admin panel
  2. Click on Content-Type Builder
  3. See a white page and an error in the console

Expected behavior
The page loads correctly and I can interact with the language switcher

Screenshots
image

Result:
image

Additional context
Error message from browser console:

TypeError: Cannot convert undefined or null to object
    at hasOwnProperty (<anonymous>)
    at g (main.1e108730.js:34:16287)
    at m (main.1e108730.js:2552:23941)
    at f (main.1e108730.js:2552:19407)
    at il (content-type-builder.533b7fe6.chunk.js:176:21364)
    at Nu (main.1e108730.js:3594:54845)
    at $n (main.1e108730.js:3598:9231)
    at Pd (main.1e108730.js:3598:991)
    at Nh (main.1e108730.js:3598:920)
    at Yf (main.1e108730.js:3598:771)

Uncaught Error: react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop
    at h.render (6593.efa5abce.chunk.js:86:7285)
    at $c (main.1e108730.js:3594:67938)
    at vg (main.1e108730.js:3594:67721)
    at $n (main.1e108730.js:3598:10254)
    at Pd (main.1e108730.js:3598:991)
    at Nh (main.1e108730.js:3598:920)
    at Yf (main.1e108730.js:3598:771)
    at Td (main.1e108730.js:3596:11158)
    at main.1e108730.js:3594:39639
    at a.unstable_runWithPriority (main.1e108730.js:3626:3954)

My package.json

  "dependencies": {
    "@notum-cz/strapi-plugin-content-versioning": "^0.4.7",
    "@strapi/plugin-i18n": "4.5.2",
    "@strapi/plugin-users-permissions": "4.5.2",
    "@strapi/strapi": "4.5.2",
    "better-sqlite3": "7.4.6",
    "monaco-editor-webpack-plugin": "^7.0.1",
    "patch-package": "^6.5.0",
    "pg": "^8.8.0",
    "strapi-plugin-config-sync": "^1.0.4",
    "strapi-plugin-import-export-entries": "^1.18.0"
  },
@landoephan landoephan changed the title [BUG] [BUG] No content on page when activating this plugin Nov 28, 2022
@landoephan
Copy link
Author

When I disable the i18n plugin it works, too. So it seems to be a combination from both plugins. When one of them is disabled, everything works fine.

@lrasata
Copy link

lrasata commented Nov 29, 2022

I got this error earlier last week. It is not directly linked to this plugin but the dependencies. A few days ago, I removed yarn.lock and node_modules and installed everything again and it worked. This error just disappeared.

@landoephan
Copy link
Author

unfortunately, that didn't help for me, I'm still getting this error.

See also strapi/strapi#14993

@Baboo7
Copy link
Owner

Baboo7 commented Apr 29, 2023

@landoephan @lrasata the i18n plugin is correctly handled today. Since this issue has been opened a long time ago, I'm closing it for now

@Baboo7 Baboo7 closed this as completed Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants