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 'css' of null #2499

Closed
col-panic opened this issue Sep 25, 2020 · 2 comments
Closed

Cannot read property 'css' of null #2499

col-panic opened this issue Sep 25, 2020 · 2 comments
Assignees

Comments

@col-panic
Copy link

col-panic commented Sep 25, 2020

Describe the bug
After upgrade the page often fails with Cannot read property 'css' of null showing. A simple reload
shows the correct page.

To Reproduce

  1. Upgrade to newest version with existing page
  2. Every page shows Cannot read property 'css' of null
  3. Clear browser cache ...
  4. Some pages show Cannot read property 'css' of null -> reloading the page in the browser solves the problem

Expected behavior
Every page should load without problems

Screenshots

grafik

Host Info (please complete the following information):

  • OS: Debian
  • Wiki.js version: 2.5.144
  • Database engine: postgres
@sutusa
Copy link

sutusa commented Oct 3, 2020

I started seeing this after my upgrade as well.

Anytime I navigate to a page for the first time, I get the same above error page (Cannot read property 'css' of null). If I refresh that page, the page will load cleanly/successfully and will stay that way, even if I navigate away from that page and back.

But, if I ever bounce the wiki server/process, the issue will reappear again for the first load of markdown page. This only happens for the pages that I have created, not for system/admin pages.

I'm reverting to my pre-upgrade backup for now, but this was my setup:

  • Docker images via docker-compose.
  • Backend DB is a MariaDB container.

My upgrade path:

  • From Wiki.js version (per admin dashboard): Wiki.js 2.4.105
  • To Wiki.js version (per admin dashboard): Wiki.js 2.5.144

Docker Images via docker images command:

REPOSITORY                          TAG                 IMAGE ID            CREATED             SIZE
docker.io/requarks/wiki             2.4                 342b0baab111        3 months ago        350 MB
docker.io/requarks/wiki             2.5                 f74c645c97ee        2 weeks ago         436 MB

Hope this helps. And Thank you!

@NGPixel
Copy link
Member

NGPixel commented Oct 3, 2020

Fixed by 0fa5b97.

@NGPixel NGPixel closed this as completed Oct 3, 2020
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