Please help me regarding this error
Uncaught TypeError: Cannot read property 'model' of undefined" in Builder.js.
I’m using Extra theme from Elegant and I just updated my WordPress
to Version 4.5
. When I tried to delete some sections in Divi Builder
I got this error.
I don’t know how to fix this. Uncaugth Error Elegant Theme
3
Answers
I had a similar problem with the Divi theme (2.6) and WP (4.5). Same error message. An upgrade of the theme to the latest (2.7.3) fixed it in my case. The latest version of the Extra theme is 1.3.4 – looks like you are on 1.2.4.4
I came across this error on the Divi Theme.
This is how I got it fixed… It will probably work for you as well.
Divi/includes/builder/script/builder.js
Replace these lines (2 total)
With these lines
And replace these 2 functions
With these
Roy Toledo answer works quite well for me, but i’ve replaced code in:
Divi/et-pagebuilder/js/admin.js
Divi version: 2.3.2
WP version: 4.7.1