jokkedk/webgrind

Cannot read property '4' of undefined

Closed this issue · 6 comments

on file jquery.tablesorter.js:481

        function getCachedSortType(parsers,i) {
            return parsers[i].type;
        };

Uncaught TypeError: Cannot read property '4' of undefined

after click update. Nothing show on the webpage.

I'm also seeing this. What's odd is that it was working fine earlier today, and I didn't change any of the webgrind configuration.

Does this problem still occur in master (or release 1.3)? If so, could you supply the cachegrind file?

No response; assuming fixed. Please re-open if problem persists.

@alpha0010 this is still happening in 1.4 (running on Ubuntu 16.04 docker image in this case). Where can i find the cachegrind file?

it looks like profiling is disabled (although xdebug is enabled.. btw i also found the answer to my question about the cachegrind file), which is probably the cause of this problem. even though this is in the setup instructions, it might be worth checking the php settings and showing an error if profiling isn't enabled.

edit: confirmed this is the cause of the bug originally mentioned