<br />
<b>Fatal error</b>: Call to a member function hasDecorator() on a non-object in <b>/home/[...]/public_html/[...]/ow_core/theme_manager.php</b> on line <b>186</b><br />
This is line 186:
if ( $this->currentTheme->hasDecorator($decoratorName) )
And this is the whole extract of that specific part of the code (about Decorator):
/**
* Returns decorator template path.
*
* @param string $decoratorName
* @return string
* @throws InvalidArgumentException
*/
public function getDecorator( $decoratorName )
{
$decoratorName = trim(mb_strtolower($decoratorName));
if ( !array_key_exists($decoratorName, $this->decorators) )
{
throw new InvalidArgumentException(" Can't find decorator `'.$decoratorName.'` !");
}
if ( $this->currentTheme->hasDecorator($decoratorName) )
{
return $this->currentTheme->getDecorator($decoratorName);
}
// if ( $this->defaultTheme->hasDecorator($decoratorName) )
// {
// return $this->defaultTheme->getDecorator($decoratorName);
// }
return $this->decorators[$decoratorName];
}