- Posts: 5
- Home
- Forum
- Community Forum
- Report bugs
- Fatal error: Class 'JModelLegacy'
Error 500 when click on check
- polkad
- Topic Author
- Offline
Less
More
11 years 1 month ago - 11 years 1 month ago #4007
by polkad
Error 500 when click on check was created by polkad
Hi! Im testing the system! but when i click on check availability i have Internal Server Error. Any advice?
Issue says:
20140318T143935: mysite.com.ar/index.php
PHP Fatal error: Call to a member function get() on a non-object in /hermes/bosnaweb03a/b2751/ipg.exportphonecom/pickbs/websclientes/latel/templates/citylife/layouts/default/layout.php on line 15
First lines of that file:
<?php
/*
CityLife template for Joomla!
Commercial Software
Copyright 2013 joomlaxtc.com
All Rights Reserved
www.joomlaxtc.com
*/
defined( '_JEXEC' ) or die;
JHtml::_('behavior.framework');$document =JFactory::getDocument();
$app = JFactory::getApplication();
$menu = $app->getMenu()->getActive();
$pageclass = $menu->params->get('pageclass_sfx');
$pageview = xtcIsFrontpage() ? 'frontpage' : 'innerpage';
$user =JFactory::getUser();
$params = $templateParameters->group->$layout; // We got $layout from the index.php
// Use the Grid parameters to compute the main columns width
$grid = $params->xtcgrid;
$style = $params->xtcstyle;
$typo = $params->xtctypo;
$css3 = $params->xtccss3;
Thanks in advance!!
Issue says:
20140318T143935: mysite.com.ar/index.php
PHP Fatal error: Call to a member function get() on a non-object in /hermes/bosnaweb03a/b2751/ipg.exportphonecom/pickbs/websclientes/latel/templates/citylife/layouts/default/layout.php on line 15
First lines of that file:
<?php
/*
CityLife template for Joomla!
Commercial Software
Copyright 2013 joomlaxtc.com
All Rights Reserved
www.joomlaxtc.com
*/
defined( '_JEXEC' ) or die;
JHtml::_('behavior.framework');$document =JFactory::getDocument();
$app = JFactory::getApplication();
$menu = $app->getMenu()->getActive();
$pageclass = $menu->params->get('pageclass_sfx');
$pageview = xtcIsFrontpage() ? 'frontpage' : 'innerpage';
$user =JFactory::getUser();
$params = $templateParameters->group->$layout; // We got $layout from the index.php
// Use the Grid parameters to compute the main columns width
$grid = $params->xtcgrid;
$style = $params->xtcstyle;
$typo = $params->xtctypo;
$css3 = $params->xtccss3;
Thanks in advance!!
Last edit: 11 years 1 month ago by polkad.
Please Log in or Create an account to join the conversation.
- vietvh
-
- Offline
Less
More
- Posts: 1553
11 years 1 month ago #4011
by vietvh
Replied by vietvh on topic Error 500 when click on check
Hi,
From the error message above, the issue comes from your template, you can confirm by using another template or switch back to the default Joomla template (Protostar).
20140318T143935: mysite.com.ar/index.php
PHP Fatal error: Call to a member function get() on a non-object in /hermes/bosnaweb03a/b2751/ipg.exportphonecom/pickbs/websclientes/latel/templates/citylife/layouts/default/layout.php on line 15
From the error message above, the issue comes from your template, you can confirm by using another template or switch back to the default Joomla template (Protostar).
Please Log in or Create an account to join the conversation.
Moderators: solidres