Call Us : +1-678-551-2452
+91 77381-86899

WPBakery Visual Composer plugin version 4.6.1 not working after wordpress upgrade to 4.5.3

When I upgraded wordpress to version 4.5.3 Visual composer plugin  stopped loading loading as plugin version is not compatible with wordpress 4.5.3 , After debugging it showed below java script error

Uncaught TypeError: $template.get is not a function  in file composer-view.js

So the soltuin to this is edit the below file at path


replace existing html2element function with below code

html2element: function(html) {
var $template, attributes = {},
template = html;
$template = $(template(this.model.toJSON()).trim()), _.each($template.get(0).attributes, function(attr) {
attributes[] = attr.value
}), this.$el.attr(attributes).html($template.html()), this.setContent(), this.renderContent()

and it worked.


1 Comment
  1. Very nice.. it worked for me.. i am really happy for such valuable information..

Leave a Reply to ram

Pay with PayPal

Icon Web Solutions Service
Other Amount:


It has been a great pleasure working with Icon Web Solutions on the development of my digitized logo and website. From the initial phases of web design, the Icon Web Solutions team has been a pleasure to work with
Naren, USA