caught TypeError: Cannot read properties of null (reading 'split')

Created on 3 May 2023, about 1 year ago
Updated 10 May 2023, about 1 year ago

When a admin page loads i get caught TypeError: Cannot read properties of null (reading 'split') using gin 3.3
It breaks my cypress tests.

πŸ› Bug report
Status

Closed: cannot reproduce

Version

3.3

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium ghuygens

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ghuygens
  • πŸ‡ΊπŸ‡ΈUnited States pbabin

    We ran into the same issue. We are using Gin (RC3 which has tried to address some of the issues with the recent update) and all of our cypress tests fail due to this javascript error. Adding this patch worked in our case.

  • πŸ‡¨πŸ‡¦Canada adriancid Montreal, Canada

    I can't reproduce the issue with the last dev branch, can you check there?

  • πŸ‡ΊπŸ‡ΈUnited States pbabin

    @adriancid - spun up a separate branch of our code with the latest dev branch of admin_toolbar. Spot checked 5 or 6 of the tests I remember borking in cypress and they are passing now. For us, when the code in dev is pushed, we won't need the patch offered on this page.

  • Status changed to Closed: cannot reproduce about 1 year ago
  • πŸ‡¨πŸ‡¦Canada adriancid Montreal, Canada

    The code in dev is now in the latest release.

Production build 0.69.0 2024