Skip to content
This repository was archived by the owner on Aug 18, 2026. It is now read-only.
This repository was archived by the owner on Aug 18, 2026. It is now read-only.

Uncaught TypeError: Cannot read properties of undefined (reading '__esModule') #2777

Open

Description

@guero2099

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
2
js error - dev tools console
1
code error
3

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.

Activity

  1. guero2099 commented on Nov 28, 2023

    @guero2099
    Author

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions