Phoca maps
Posted: 09 Aug 2012, 17:06
Hey,
I created a joomla 2.5 template with artisteer.
I installed the latest version of phocamaps, but I Get this error bij publishing my article:
Fatal error: Cannot access protected property ContentViewArticle::$user in /home/kgoyhbau/domains/karinajoomla.be/public_html/parket2/templates/template1/functions.php on line 40
This is the code on line 40-41:
How do I solved this?
Thanks,
Karina
I created a joomla 2.5 template with artisteer.
I installed the latest version of phocamaps, but I Get this error bij publishing my article:
Fatal error: Cannot access protected property ContentViewArticle::$user in /home/kgoyhbau/domains/karinajoomla.be/public_html/parket2/templates/template1/functions.php on line 40
This is the code on line 40-41:
Code: Select all
$this->canEdit = $this->_document->user->authorize('com_content', 'edit', 'content', 'all') || $this->_document->user->authorize('com_content', 'edit', 'content', 'own');
Thanks,
Karina