#59355 closed defect (bug) (duplicate)
TypeError: Cannot read properties of undefined (reading 'hasClass') in wp-auth-check.min.js
| Reported by: | chamois_blanc | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Login and Registration | Version: | 6.3.1 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | Focuses: | javascript |
Description
Here is the trace:
at HTMLDocument.<anonymous>(.../wp-includes/js/wp-auth-check.min.js:2:655) at HTMLDocument.dispatch(.../wp-admin/load-scripts.php:2:39997) at v.handle(.../wp-admin/load-scripts.php:2:37968) at Object.trigger(.../wp-admin/load-scripts.php:2:70063) at HTMLDocument.<anonymous>(.../wp-admin/load-scripts.php:2:70665) at Function.each(.../wp-admin/load-scripts.php:2:3129) at e.<computed>.each(.../wp-admin/load-scripts.php:2:1594) at e.<computed>.trigger(.../wp-admin/load-scripts.php:2:70640) at Object.<anonymous>(https://wednesdaynighthop.com/wp-includes/js/heartbeat.min.js:2:2186) at c(.../wp-admin/load-scripts.php:2:25266)
Change History (4)
#2
@
22 months ago
- Component Security → Login and Registration
- Keywords reporter-feedback added
@chamois_blanc Sorry that nobody got back to you on this. Can you provide some further information please? Is it still an issue? Where exactly did the problem occur? Is it reproducible with no plugins active and one of the default themes in use?
Cheers!
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
It's probably here:
if ( ! data['wp-auth-check'] && wrap.hasClass( 'hidden' ) && ! tempHidden ) { show(); } else if ( data['wp-auth-check'] && ! wrap.hasClass( 'hidden' ) ) { hide(); }maybe use
wrap?.hasClass()instead?