Hi All,
I am getting this error:
Fatal error: Call to a member function on a non-object in c:\www\toca\documentacao\desenvolvedores\temas\exemplo.php on line 118
Current situation. I have an index.php file that include()s the gerador.inc.php file, and the template file (c:\www\toca\documentacao\desenvolvedores\temas\exemplo.php).
At gerador.inc.php file, I include another files, modules of my system.
One of these modules that are included in gerador.inc.php, has a class. Already on this module file, I declare:
$modulo_subsite = new Subsite;
I am making it already on the module file so I can, on other files, use this class (new Subsite).
Okay. What I am trying to do is to use this class methods on my template file. So on line 118 of exemplo.php I wrote:
$modulo_subsite->Subsite_Info_Especifica("titulo");
And it gives me the error up there. And I can“t figure out what is the problem. Any help please?