mirdj
|
I've created a simple 2 colom template. As long as you choose items on the vertical menu everything works fine but as soon as you click on a link in one of the blog articles to go to another article I get the next error message.
Fatal error: Cannot access protected property ContentViewArticle::$params in /home/..../public_html/jupgrade/templates/test/functions.php on line 174
Here's the code from line 169 to 177.
function artxPageTitle($page, $criteria = null, $key = null) { if ($criteria === null) $criteria = $page->params->def('show_page_title', 1); return $criteria ? ('<span class="componentheading' . $page->params->get('pageclass_sfx') . '">' . $page->escape($page->params->get($key === null ? 'page_title' : $key)) . '</span>') : ''; }
On the joomla forum I found the following http://http://forum.joomla.org/viewtopic.php?p=2555487#p2555487 but all it does is change the error from line 174 to 175. So it looks like I'm on the right track but I'm still missing something.
I'm using joomla 2.5.4 and artisteer 3.0.0.32906 and get this error on both a new template and an upgraded template.
|