title: Fatal Error : call to a member function getCfg () on a non-object
body: <p>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,</p>
  
  <p><strong>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.</strong></p>
  
  <p>the code on the index.php line 21 is as below.</p>
  
  <pre><code>$sliderVars['directionNav']=($this-&gt;params-&gt;get('sliderVars_directionNav')==='true' or $this-&gt;params-&gt;get('sliderVars_directionNav')==='false')?$this-&gt;params-&gt;get('sliderVars_directionNav'):'true';
  </code></pre>
  
  <p>please advise what i need to do to make this work,</p>
  
  <p>Thank you</p>