Copied to clipboard

Flag this post as spam?

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


  • Marc Love (uSkinned.net) 430 posts 1668 karma points
    Feb 13, 2019 @ 11:23
    Marc Love (uSkinned.net)
    0

    Vorto RelatedLinks: Object reference not set to an instance of an object

    I have Vorto setup with 3 languages.

    Using related links if I setup links for all three languages I have no issues.

    If I setup links for only one language I get 'Object reference not set to an instance of an object.' on the following line of code:

    RelatedLinks footerNavigation = navigation.GetVortoValue<RelatedLinks>("footerNavigation");
    

    Anyone know why this would fail?

    Cheers,

    Marc

  • Marc Love (uSkinned.net) 430 posts 1668 karma points
    Feb 13, 2019 @ 12:37
    Marc Love (uSkinned.net)
    0

    To add to this, if I go to a language with no content for 'footerNavigation' the error does not occur.

    Error only occurs if I access a language that has content for 'footerNavigation' and all other languages are empty.

Please Sign in or register to post replies

Write your reply to:

Draft