Title: Plugin throwing weird JS errors
Last modified: October 29, 2020

---

# Plugin throwing weird JS errors

 *  [Xavier Serrano](https://wordpress.org/support/users/xavierserranoa/)
 * (@xavierserranoa)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-throwing-weird-js-errors/)
 * [Error] SyntaxError: Invalid character ‘\u001a’
    (anonymous function) (jquery.
   tablesorter.min.js:2) [Error] TypeError: $(‘.tablesorter’).tablesorter is not
   a function. (In ‘$(‘.tablesorter’).tablesorter({ sortLocaleCompare: true })’,‘
   $(‘.tablesorter’).tablesorter’ is undefined) (anonymous function) (wp-script.
   js:3) i (jquery.js:2:27368) fireWith (jquery.js:2:28123) ready (jquery.js:2:29926)
   J (jquery.js:2:30282)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-throwing-weird-js-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Plugin throwing weird JS errors’ is closed to new replies.

 * ![](https://ps.w.org/table-sorter/assets/icon-256x256.jpg?rev=1447744)
 * [Table Sorter](https://wordpress.org/plugins/table-sorter/)
 * [Support Threads](https://wordpress.org/support/plugin/table-sorter/)
 * [Active Topics](https://wordpress.org/support/plugin/table-sorter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/table-sorter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/table-sorter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Xavier Serrano](https://wordpress.org/support/users/xavierserranoa/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/plugin-throwing-weird-js-errors/)
 * Status: not resolved