question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problem with last version 3.0.4

See original GitHub issue

Hi, since the 3.0.4 version, once I click on a menu I got this error:

index.js:120 Uncaught TypeError: Cannot read property 'subMenu' of null
    at r.e.setActive (index.js:120)
    at HTMLAnchorElement.<anonymous> (index.js:105)
    at HTMLAnchorElement.dispatch (jquery-3.3.1.min.js:2)
    at HTMLAnchorElement.y.handle (jquery-3.3.1.min.js:2)

It was all working fine with previous release. Looking at the code, I got that at lines

setActive(li)...
...const ul = $(li).children(this.config.subMenu);

the property this.config is null, hence the error… What I’m doing wrong?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
SaeedBoroocommented, Oct 13, 2019

it Works … 👍 the newest version (3.0.4) has Bug. just use the previous version 3.0.3.

0reactions
WalissonPirescommented, Feb 24, 2021

I solved the problem using setTimeout. The problem is related to a TranstionEnd event that calls some metis function after it has been disposed.

https://codepen.io/walissonpires/pen/xxRpOqq

Read more comments on GitHub >

github_iconTop Results From Across the Web

Version 3.0.4 – problems
HI, after update to ver 3.0.4, the problem with non existed categories appeared again, after selecting category on frontend it says, that there...
Read more >
IBM Content Navigator Version 3.0.4 Known problems, ...
This document contains a list of problems, issues, and limitations that were known at the time of publication.
Read more >
CPA 3.0.4 on MacOS 12.2 Crashing Issues - Image.sc Forum
I'm new to using CellProfiler and CPA, so this might be an easy fix, but I can't seem to get CPA to open....
Read more >
MuseScore 3.0.4 on macOS is crashing on startup.
Having same problem with crashing on Startup after downloading new version 3.0.4. Working on Mac OS Mojave 10.14.3.
Read more >
OpenSSL to Release Security Patch for Remote Memory ...
The issue has been identified in OpenSSL version 3.0.4, which was released on June 21, 2022, and impacts x64 systems with the AVX-512 ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found