+ Start a Discussion
Saravanan @CreationSaravanan @Creation 

Constructor is not visible: [Namespaceprefix.controllerName]<init>()

Hi All, am getting Constructor is not visible: [Namespaceprefix.controllerName]<init>()  error on the Visualforce page
after i installed my managed package app in production.But there is no issue on my development org.Please help me
to resolve this.

I have declared my class as global and class constructor with public access specifier.Is this will cause an above error.

Thanks in advance!!
 
SonamSonam (Salesforce Developers) 
What is the API version of Visualforce and controller in the package?

If not the latest, can you try gettign it to the lastest and see if the issue exists?
I checked a couple of previous cases where this fixed the issue.
 
Saravanan @CreationSaravanan @Creation
Thanks for your reply. Both pages and classes are in version 30.0. Ther are first  two(see below navigation) other pages is in version 26.0.

page navigation

1Page-->2page-->3page(In third page only error exist)
Saravanan @CreationSaravanan @Creation
Hi Sonam,

It didn't work.I moved all pages and classes to version 30.0 eventhough it didn't work. Now I am trying by changing all the methods and variable specifer as global.

Thanks,