One of our clients come to us and say that visual composer element does not load in page editor after the update to WordPress 4.8.

When we checked it will show like below image.

Visual Composer

The error I get “$template.get is not a function” in the browser console.

After some time of googling, we got this link and got the solutions.

If you have the same error then please follow listed below steps. My case has Salient them installed on a client’s website.

Step: 1 Open this location themes/salient//wpbakery/js_composer/assets/js/backend/

Step: 2 Then open composer-view.js file

Step: 3 Replace below code at line number 62 and save file

Step:4 Then check your page editor your problem will fix.

Feel free to ask any questions if have.