<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'm using the most recent versions of Drupal, Views and Taxonomy Treemenu.<div><br></div><div>The taxonomy treemenus are generating successfully, using the default view (taxonomy_router_term).</div><div><br></div><div>I'm having problems accessing the content when I'm NOT logged in as admin. I'm using the default view (taxonomy_router_node) and access is set to unrestricted.</div><div><br></div><div>The 'authenticated user' (which I understand is everyone that is not logged in?) gets </div><div><span class="Apple-style-span" style="font-family: Times; "><b>Fatal error</b>: Cannot use string offset as an array in <b>/sites/all/modules/taxonomy_treemenu/taxonomy_treemenu.module</b> on line <b>2367</b></span></div><div>whereas the admin user gets to see the content.</div><div><br></div><div>If I give the authenticated user 'Administer Nodes' permissions I do not get the error and I do see the content, however that means that anyone can create content, which is not what I want. Interestingly applying all create, delete, edit permissions (but NOT administer nodes) brings back the error.</div><div><br></div><div>This is the code.</div><div><br></div><div><div> case "taxmenu/%/node/%/%":</div><div> //Treemenus have no node links. To control exansion, we target the</div><div> //parent tid link.</div><div> $item['href'] = 'category/' . $item['page_arguments'][0]['vid'] . $item['page_arguments'][1]['parent_path'];</div><div> break;</div><div><br></div></div><div>Specifically, line 2367 is</div><div> $item['href'] = 'category/' . $item['page_arguments'][0]['vid'] . $item['page_arguments'][1]['parent_path'];</div><div><br></div><div>Logged in as admin $item['page_arguments'] returns:</div><div><pre id="line1">Array
(
[0] => Array
(
[menu_name] => menu-ol-hlp
[title] => Online Help
[description] => Jane Systems online help
[vid] => 13
[tid] => 0
[options] => a:3:{s:6:"filter";a:0:{}s:6:"fields";a:0:{}s:4:"sort";a:1:{s:3:"nid";a:1:{s:5:"order";s:3:"ASC";}}}
)
[1] => Array
(
[0] => Array
(
[tid] => 55
[title] => System Setup
)
[1] => Array
(
[tid] => 68
[title] => Authorisation Centre
)
[parent_path] => /55/68
)
[2] => 25
)
</pre></div><div>But when I'm not logged in I get</div><div><br></div><div><span class="Apple-style-span" style="font-family: Times; "><pre style="word-wrap: break-word; white-space: pre-wrap; ">a:3:{i:0;i:1;i:1;i:3;i:2;i:4;}</pre></span></div><div>I can see that $item['page_arguments'] isn't being turned into an array, but I can't see why. </div><div><br></div><div>I've been trying to trace back $router_items to see how it gets generated, but I can't seem to find it.</div><div><br></div><div>I'd really appreciate any help.</div><div><br></div><div>Thanks</div><div><br></div><div><br></div></body></html>