menu()->sitemap error

0 views
Skip to first unread message

Michele

unread,
Oct 6, 2011, 9:33:26 AM10/6/11
to Ariadne
Hi everyone,

I got the following error trying to see the sitemap.
It worked on 2.7.3 and now it doesn't works on 2.7.5, should I update
to 2.7.6?

-------
Error on line 30 in pobject::mainmappa.html on object /sites/normale/
scuola/
The magic method __set() must have public visibility and cannot be
static
Error on line 34 in pobject::mainmappa.html on object /sites/normale/
scuola/
The magic method __get() must have public visibility and cannot be
static
--------

After the error msg I get the right sitemap.

I also tried to use 'top' options but it doesn't work.



-----mainmappa.html------
<pinp>
$list = array(
'maxDepth' => '5',
'skipOrphans' => 'true',
'skipTop' => 'true',
);
echo ar('html')->menu()->sitemap($list);
</pinp>
----------------------------------
Reply all
Reply to author
Forward
0 new messages