Method not found: 'Boolean PageMode.get_IsPageEditorEditing()'.

Hi there,

I am moving from 7.2 to 8.2 and the site (combination of multi projects) heavily uses Glass.Mapper.

I am getting Method not found: 'Boolean PageMode.get_IsPageEditorEditing()'. on the following line

GlassHtml.GetRenderingParameters<XXX.Models.XXX>(this.Attributes["sc_parameters"]);

I want to avoid upgrading the Glass.Mapper.Sc as that is going to be a lengthy task.

I am currently using
Glass.Mapper - 3.0.13.25
Glass.Mapper.Sc - 3.2.2.45

I wonder if someone had faced this issue and can direct me to a workaround.

 

Many thanks