0

$template.get(0) is undefined this is what I got when I try to add an element with visual composer, this error is different from $template.get(0) is not a function witch is a common more common, after some tests I found out that template(this.model.toJSON()) in line 138 returns an empty result,so now I hope that I can find someone who can at least tell me how to edit this.model value

celia
  • 33
  • 10

1 Answers1

0

You basically have two options.

  1. Update the visual composer to latest version.

  2. Use FTP to edit the visual composer js file

The first option can be done through the plugins menu on your admin panel.

For the second option you need to edit and replace some JS using FTP. You can check out the answer here Uncaught TypeError: $template.get is not a function

Hope this answers your questions. Happy coding!

Community
  • 1
  • 1
Isabel Inc
  • 1,871
  • 2
  • 21
  • 28