Method Not Defined as Public in Class

method <Element_name>/<function_name> not defined as public in class <Class_name>

Description:

The element/function in the class <Class_name> has not been set for direct access/ made public.

Solution:

Enable direct access (Set/Get functionality) for the element or make the function public.