Hello everyone,
Basically I am using Wayfinder in order to build a menu and it sometimes returns empy or NOT RESOURCES FOUND when debugging.
I have the same problem of this guy here:
http://stackoverflow.com/questions/14408664/modx-wayfinder-different-context-menu-only-shown-after-refresh
I tried cached and uncached, I tried to call it programmatically with a snippet and normally [[Wayfinder....]].
The thing is that I have another call of a basically same menu that works always and perfectly and the only difference is the context.
This is the call that sometimes does't work:
[[!If?
&subject=`[[*context_key]]`
&operator=`EQ`
&operand=`adviser-solutions`
&then=`<div class="columnNavMobileAdviserSolutions">
<ul class="homeFixMenu">
<li class="levelWithChildren level-1" data-level="1">
<a>Adviser Solutions
<span class="icon-angle-down"></span>
<span class="icon-angle-up"></span>
</a>
<div class="subnav_mobile">
<div class="subnav_mobile_content_fixed_menu">
[[Wayfinder?
&startId=`0`
&debug=`0`
&contexts=`adviser-solutions`
&level=`2`
&sortBy=`menuindex`
&sortOrder=`ASC`
&rowIdPrefix=`#`
&parentRowTpl=`wf_fix_menu_parentTpl_adviser`
&rowTpl=`wf_fix_menu_row_adviser_mobile`
&innerTpl=`wf_fix_menu_inner_mobile`
&innerRowTpl=`wf_fix_menu_innerRow_adviser_mobile`
&lastClass=``
&firstClass=``
&excludeDocs=`508,367,368,369,849,557,375,1086`
]]
</div>
</div>
</li>
</ul>
</div>
`]]
They are both in the same chunk and I check the context in order to call the right menu.
Any ideas what the problem might be ? Do you need other information about it ?
Any help is highly appreciate it.
Thank you very much in advance.
Luca