Uncaught TypeError: Cannot read properties of undefined (reading '__esModule')
guero2099 opened this issue · 1 comments
Describe the bug
Upon updating to Newspack version 2.11.1, an error occurs in the dashboard, resulting in an all-white display. The issue is observed on a WordPress v6.4.1 installation with only Newspack and Newspack blocks plugins installed, utilizing the latest Newspack theme.
To Reproduce
Navigate to the Newspack dashboard.
The dashboard will display as a blank, white page.
Open the developer tools, revealing a JavaScript error.
Screenshots
white screen
js error - dev tools console
code error
Troubleshooting
After attempting to resolve the issue, the problem persists even after uninstalling and reinstalling the Newspack plugin. We also reviewed file and folder permissions.
I think I found the solution. The error is because I updated from version 1.85 to the newest one, but if you do the update per step, it will work. First update it v1.117, then to v2.0, and finally, install the v2.11.