Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stephen McGuire 3 posts 103 karma points
    Aug 10, 2017 @ 15:27
    Stephen McGuire
    0

    Index out of bounds with multi-lingual setup

    Hi, I'm working on an Umbraco site where we've opted to use the multiple tree approach to multiple languages. The problem is, whenever we add the second language tree, we get this exception, both on our PageBlogList, and in the Umbraco backend.

    Exception

    Is there an approach to using multiple languages with the starter kit that will avoid this error?

  • Stephen McGuire 3 posts 103 karma points
    Aug 15, 2017 @ 11:09
    Stephen McGuire
    0

    Looking a bit deeper it seems that the problem is to do with the way VirtualNodes is constructing the URL for these pages. Also, although the exception here is being thrown on GetPostDate, it happens elsewhere if I take that line out. Any ideas?

  • Stephen McGuire 3 posts 103 karma points
    Aug 15, 2017 @ 14:34
    Stephen McGuire
    100

    I managed to get this fixed. For anyone else with the same problem, the fix was to go into the web.config and remove the <add key="virtualnode".... line. After that multiple root nodes/languages started working again.

  • Simeon Ostberg 123 posts 389 karma points
    Nov 07, 2017 @ 14:48
    Simeon Ostberg
    0

    Hi Stephen,

    Thanks a million! This solved my issue...

    Best, Simeon

Please Sign in or register to post replies

Write your reply to:

Draft