sivaprasad9394
Occasional Collector

How to resolve invalid context name 'SECTION' error in page generation?

Hello Team,

I am getting the below error while doing a hot-deployment of a single page.

Also tried for different page generation also having the same error.

ERROR 27.11.2018 13:16:02.928{g-sec=5310245,g-node=4937812} (de.espirit.firstspirit.generate.SiteProduction): ERROR at 2, 2: invalid context name 'SECTION'

ERROR 27.11.2018 13:16:02.928{g-sec=5310245,g-node=4937812} (de.espirit.firstspirit.generate.SiteProduction): ERROR at 2, 2: invalid context name 'SECTION'

ERROR 27.11.2018 13:16:02.929{g-sec=5310245,g-node=4937812} (de.espirit.firstspirit.generate.SiteProduction): ERROR at 2, 2: invalid context name 'SECTION'

ERROR 27.11.2018 13:16:02.935{g-sec=5310246,g-node=4937812} (de.espirit.firstspirit.generate.SiteProduction): ERROR at 2, 2: invalid context name 'SECTION'

ERROR.png

ERROR_1.png

Thank you,

Regards,

Siva

0 Kudos
2 Replies
tenter
I'm new here

Hi Siva!

It looks like you have a template error in something that you use on many pages. I guess it's a header function. In CMS_FUNCTION is a context parameter that one can set - this could lead to the given error. I guess (for some reason), that SECTION isn't valid in the place where it's used. Could you please provide us more information about your used functions? Maybe we could take a look at your template code. It's hard to know without having the template code.

Regards,
Hannes

0 Kudos
neumann
Crownpeak employee

Hi Siva,

did Hannes' answer provide you with help? If so it would be great if you could mark the "correct answer". If you have already found a different solution, it would be nice if you could post it here so others can benefit from it.

Thanks in advance

Emre

0 Kudos