Cannot read properties of undefined (reading 'footerBlock')