Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove "TypeError: c is null" in Wordpress Page Edit Area

I have a website built in wordpress CMS by using Visual Composer. When ever i Add/Edit Page content i have always got an Error.

TypeError: c is null

...var b=a.getWin(),c=b.getSelection();if(!(c.rangeCount<=0)){var d="SELRES_"+Math....

enter image description here

How i can remove this.

like image 318
Alex Martelli Avatar asked Nov 29 '17 18:11

Alex Martelli


2 Answers

Emergency solution: don't use Firefox; if you use Opera or Chrome you will not get that error and the visual composer works. With an older version of Opera (45.0.X) I don't get any error.

Best solution: upgrade Visual Composer.

like image 92
Dan Avatar answered Nov 15 '22 10:11

Dan


Upgrade to latest version (5.4) of WPBakery Page Builder (formerly Visual Composer) solved the problem in my case.

like image 21
Radoslaw Avatar answered Nov 15 '22 09:11

Radoslaw