Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple wayfinders in single resource after 2.2.0 -> 2.2.1 update #49

Open
BigBlockStudios opened this issue Apr 17, 2012 · 0 comments

Comments

@BigBlockStudios
Copy link

I'm getting php errors when calling wayfinder like this in the same resource after 2.2.0 -> 2.2.1 update

[ [WayFinder?
&startId=0
&level=1
&displayStart=1
&textOfLinks=menutitle
&excludeDocs=7,8,9,10,11,12,13,16,17,18,19,29
&outerTpl=MainNavPrimaryOuterTpl
&rowTpl=MainNavPrimaryRowTpl
]]

[ [WayFinder?
&startId=0
&level=1
&displayStart=0
&textOfLinks=menutitle
&excludeDocs=1,2,3,4,5,6,16,17,18,19
&outerTpl=MainNavSecondaryOuterTpl
&rowTpl=MainNavSecondaryRowTpl
]]

he error is: Notice: Undefined index: modx.user.id in /var/www/vhosts/domain.com/httpdocs/core/components/wayfinder/wayfinder.class.php on line 340

If I remove one wayfinder call, the error goes away.

-thanks
-sean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant