Make WordPress Core

Opened 21 months ago

Last modified 21 months ago

#48732 new defect (bug)

Twenty Seventeen is throwing a JS error on page display when a sidebar hasn't been setup.

Reported by: krmoorhouse Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.3
Component: Bundled Theme Keywords:
Focuses: javascript, coding-standards Cc:


Error as it appears in the console:

Uncaught TypeError: Cannot read property 'top' of undefined
at belowEntryMetaClass (global.js?ver=1.0:124)
at global.js?ver=1.0:240

I was able to trace the issue to sidebarPos being "undefined" on this line.

sidebarPosBottom = sidebarPos.top + ( $sidebar.height() + 28 );

Change History (1)

#1 @audrasjb
21 months ago

  • Component changed from Themes to Bundled Theme
Note: See TracTickets for help on using tickets.