DataTables / DataTables/Plugins

Uncaught Type Error

Open
#50 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

Uncaught TypeError: Cannot read property 'defaults' of undefined on dataTables.bootstrap.js:2

Uncaught TypeError: undefined is not a function index:164

index:164 content: $('#users_table').dataTable();
http://pastebin.com/5dWV99i6

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the errors reported in dataTables.bootstrap.js:2 and index:164, including the $('#users_table').dataTable() call, then inspect the linked Pastebin details. Reproduce the failure and confirm that the users table initializes without either TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.