Fatal Error : call to a member function getCfg () on a non-object

Hi i have uploaded a template on a website i have created using joomla and when i apply the template and visit my website i get the following error,

Fatal Error : call to a member function Fatal Error : call to a member function getCfg () on a non-object in /home/a7751589/public_html/templates/themza_j15_11/index.php on line 21.

the code on the index.php line 21 is as below.

$sliderVars['directionNav']=($this->params->get('sliderVars_directionNav')==='true' or $this->params->get('sliderVars_directionNav')==='false')?$this->params->get('sliderVars_directionNav'):'true';

please advise what i need to do to make this work,

Thank you

-------------Problems Reply------------

i recommend to checking compatibility of your theme with components...

check its http://forum.joomla.org/viewtopic.php?t=637126

Agree with GkDreamz - the "...J15..." part in your template name makes me think it's a 1.5 template that you're probably installing on a new 2.5 version.

Category:php Views:2 Time:2011-07-17
Tags: php joomla

Related post

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.172 (s). 11 q(s)