Unable to edit the blocks in edit mode

Permalink
Hi All ,

I am using my custom theme and in a particular page i am allowed to edit only few blocks and all other seem to be uneditable .

Permissions and all seem to be fine .

When i check the console i get the error :

uncaught type error reference : Cannot read property 'replace' of undefined
in underscore.js

I have tried increasing the z-index but i still face the same issue and also tried placing the anchor tag before the global area in header.php.