We have moved to GitHub Issues
You are viewing the read-only archive of Umbraco's issue tracker. To create new issues, please head over to GitHub Issues.
Make sure to read the blog posts announcing the move for more information.
Created by Yannick Smits 21 Nov 2013, 11:27:50 Updated by Sebastiaan Janssen 20 Mar 2014, 17:14:05
After installing the txt starter kit, front end site workes correctly. Then after changing some content nodes this error appeared on the frontend:
The call is ambiguous between the following methods or properties: 'Umbraco.Web.UmbracoHelper.Content(params int)' and 'Umbraco.Web.UmbracoHelper.Content(params string)'
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: The call is ambiguous between the following methods or properties: 'Umbraco.Web.UmbracoHelper.Content(params int)' and 'Umbraco.Web.UmbracoHelper.Content(params string)'
Source File: e:\goyaweb\Views\Partials\umbHomepageBanner.cshtml Line: 9
What causes the error to come up is this:
Adding back a banner link will remove the error.
I just run into this issue after installing the txt starter kit on 7.0.2.
I am also experiencing this issue after installing the txt starter kit on 7.0.2. I removed the banner link from the document type and removed the Html.RenderPartial call in the template, and the problem disappeared.
I'm only getting this error after adding extra properties to the home node. Also happening on 7.0.3.
I also noticed that this problem is occurring on 7.0.3. It seems to occur whenever I try to to put a reference to an Umbraco field in one of my partial views.
Also happening on 7.0.4. SOLUTION: For fix this issue check the option "Hide Banner". On "Home/Banner" path. Then "Save and Publish" That's it.
@dbost I agree Devin. I don't think this has anything to do with the txt starter-kit. Seems like the Umbraco.Field()-function doesn't work in partial views.
The problem goes away if you add .ToString() to the hyperlink in umbHomepageBanner partial view. ie change CurrentPage.BannerLink -> CurrentPage.BannerLink.ToString()
D'oh! I finally figured out why I couldn't reproduce this.. if you install it as a package, all is well. But then, when you publish the homepage it breaks. So I've FINALLY updated the starter kit so that new installs won't have this problem.
And yes, just changed
Backwards Compatible: True
Affected versions: 7.0.0
Due in version: