0
Welcome Guest! Login
0 items Join Now

Fatal error: Call to undefined method JButtonStandard::setClass()

    • Slixis's Avatar
    • Slixis
    • Rocketeer
    • Posts: 80
    • Thanks: 0

    Fatal error: Call to undefined method JButtonStandard::setClass()

    Posted 5 years 4 months ago
    • Hi,
      I have trouble navigating the back office my website.
      When I try to click on links, I get the message below:
      Fatal error: Call to undefined method JButtonStandard::setClass() in /home/.../www/administrator/templates/rt_missioncontrol/lib/toolbar.php on line 209

      here is the code the message is referring to:

      public function renderButton(&$node, $class=null)
      	{
      		// Get the button type.
      		$type = $node[0];
      
      		$button = $this->loadButtonType($type);
      		//if (method_exists($button,'setClass')) $button->setClass($class);
      		$button->setClass($class);
      
      		// Check for error.
      		if ($button === false) {
      			return JText::sprintf('JLIB_HTML_BUTTON_NOT_DEFINED', $type);
      		}
      		return $button->render($node);
      	}



      Can someone help to correct it?

      Thank you.
    • Last Edit: 5 years 4 months ago by Slixis.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 88596
    • Thanks: 11488
    • Web Designer/Developer

    Re: Fatal error: Call to undefined method JButtonStandard::setClass()

    Posted 5 years 4 months ago
    • Your membership appears to have expired?

      What version of joomla? missioncontrol does not work in joomla 3. mark sure all RT products are up-to-date too.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Slixis's Avatar
    • Slixis
    • Rocketeer
    • Posts: 80
    • Thanks: 0

    Re: Fatal error: Call to undefined method JButtonStandard::setClass()

    Posted 5 years 4 months ago
    • Hi MrT,
      I use Joomla 2.5.8.
      The template worked. I had the problem this morning.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 88596
    • Thanks: 11488
    • Web Designer/Developer

    Re: Fatal error: Call to undefined method JButtonStandard::setClass()

    Posted 5 years 4 months ago
    • joomla 2.5.8 is way, way, out of date - you should update to latest version of joomla 2.5 (not least of which for all the security fixes). Also, check you host has updted something on you too (which is another reason to update to latest versions of everything too). backup before updating anything.

      Regards, Mark.
    • Last Edit: 5 years 4 months ago by MrT.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.060 seconds