Fatal error: Call to a member function Header() on a non-obj

Everything to do with Joomla! 2.5 templates and templating.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
Marieluise31
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Nov 27, 2014 5:00 pm

Fatal error: Call to a member function Header() on a non-obj

Post by Marieluise31 » Thu Nov 27, 2014 5:31 pm

I installed joomla 2.5 and installed the helix template for joomla 2.5.
After doing all this, this message appears on my actual website.
What can I do??

Fatal error: Call to a member function Header() on a non-object in /var/www/web122150/html/joomla-quanten-massage/templates/shaper_helix_ii/index.php on line 21


The index.php says following

<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<jdoc:include type="head" />
<?php
$this->helix->Header()
->setLessVariables(array(
'preset'=>$this->helix->Preset(),
'header_color'=> $this->helix->PresetParam('_header'),
'bg_color'=> $this->helix->PresetParam('_bg'),
'text_color'=> $this->helix->PresetParam('_text'),
'link_color'=> $this->helix->PresetParam('_link')
))
->addLess('master', 'template')
->addLess( 'presets', 'presets/'.$this->helix->Preset() );
?>
</head>



What can I do? Please I need some help!

User avatar
ltheme
Joomla! Guru
Joomla! Guru
Posts: 666
Joined: Wed Dec 04, 2013 2:43 pm
Location: US
Contact:

Re: Fatal error: Call to a member function Header() on a non

Post by ltheme » Tue Dec 02, 2014 9:10 am

Oh you just forgot enable Helix plugin after you installed, just go to Admin > Extension > Plugin Manager, search for Helix plugin and enable it :)
Steve (Mr.) - Fan of Joomla! CMS over 10 years
https://ltheme.com/joomla-templates/ <= 250+ Joomla! templates
https://agethemes.com/free-joomla-templates/ <= Joomla! templates on marketplace
^Compatible with Joomla! 3.x, Joomla! 4.x and Joomla! 5.x


Locked

Return to “Templates for Joomla! 2.5”