Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

js error #147

Open
jdyach opened this issue Sep 7, 2018 · 1 comment
Open

js error #147

jdyach opened this issue Sep 7, 2018 · 1 comment

Comments

@jdyach
Copy link

jdyach commented Sep 7, 2018

l moved the site to a newer version of PHP, everything was previously working fine. Now getting this error. The thead loads, but no tbody:

Uncaught TypeError: Cannot read property '3' of undefined
at multisort (jquery.tablesorter.min.js?ver=4.9.8:614)
at HTMLTableElement. (jquery.tablesorter.min.js?ver=4.9.8:828)
at HTMLTableElement.dispatch (jquery.js?ver=1.12.4:3)
at HTMLTableElement.r.handle (jquery.js?ver=1.12.4:3)
at Object.trigger (jquery.js?ver=1.12.4:3)
at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
at HTMLTableElement. (jquery.js?ver=1.12.4:3)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)

using:
jQuery(".tablesorter").tablesorter({
sortList: [[3,1]],
headers: {
3: {
sorter:'contrast'
},
5: {
sorter:'removeNumber'
}
}
});

Any insight?

@jdyach
Copy link
Author

jdyach commented Sep 7, 2018

If I use only jQuery(". tablesorter").tablesorter(); same issue with no tbody, but no js errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant