When trying to create a new page block, I click on BEGIN BLOCK after entering the URL, and I get the following console error message.


Uncaught TypeError: Cannot read property 'status' of null   jlexblock.js?v=3.5:441


and the line causing the problem is:

// Find params from request
$j.get('index.php?option=com_jlexblock&task=parseHTML&url='+encodeURIComponent(url),function(data){
var data=$j(data).filter('#jlex-data').text();
data=$j.parseJSON(data);
if (typeof data.status != 'undefined' && data.status==400) { // <--- THIS ONE
alert (data.msg);
return false;
}