C5 8.5.6 error: a is undefined

In making a template on C5 v 8.5.6 i’ve got an error:
a is undefined
then (of course) all my areas don’t work.
what do i miss ?

in page theme all jquery is in required;

$this->requireAsset('javascript', 'jquery');
$this->requireAsset('javascript', 'picturefill');
$this->requireAsset('javascript-conditional', 'html5-shiv');
$this->requireAsset('javascript-conditional', 'respond');

If its a page template, you need to create an area object before you can use it.
eg. `` $a = new Area('Main');

it was just a <a href not cosed as i saw a not defined i think it was an Area error but no :slight_smile: thanks for the answer :slight_smile: