Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Running Umbraco Cloud 8.1.4 and SeoChecker 2.8.2
We are getting alot of errors on Umbraco Cloud that state SeoChecker cant convert DB values to editor values.
SEOChecker: SEOChecker: Error converting DB values to editor values
System.NullReferenceException: Object reference not set to an instance of an object.
at SEOChecker.Core.Umbraco.DocumentWrappers.UmbracoDocument..ctor(IContent doc, IContextInfo info, String culture, String segment)
at SEOChecker.Core.Repository.Umbraco.UmbracoDocumentRepository.Single(Int32 id, IContextInfo context, String culture, String segment)
at SEOChecker.DataTypes.PropertyEditors.PropertyEditorWrappers.SEOCheckerPropertyWrapper.ToEditor(Property property, IDataTypeService dataTypeService, String culture, String segment)
Do you get these in the editor as well or are you running some sort of background process?
Thanks for replying.
On this site we do not run any background process. And we do not get any visual errors when trying to edit in backoffice. But it shows up in the log files.
Could it have anything to do with it running in trial mode?
Dont' think that should matter but if you mail email@example.com I will send you a trial license.
We had a trial license on and changed it to a real one, but we still have the same issue.
We are trying to find out when the problem occours, but we cant seem to trigger it, it just shows up in the log.
I also get this error in the logs and I have been able to reproduce it. When i open a page that is in the recycle bin SEO-checker logs 6 errors to the log for me.
I hope that will be a hint of how to reproduce it and fix it.
I can reproduce it indeed. If the fix is simple it will be in the 2.9 release otherwise a release after that one. Don't open Items in the Trash can ;-)
Thanks for getting back,
Did you ever found a solution to this?
I installed version 2.9.0 on a Umbraco 8.5.1 cloud website.
An again i get alot of these errors.
It was related to items that were in the recycle bin. But that is fixed. What is the error?
When i view a document in Umbraco that uses SeoChecker, then i get this Error 3 times in a row: When i save the document i get the same error again 2 times in a row.
System.ArgumentNullException: Value cannot be null.
Parameternavn: Cannot find a content type with alias
ved SEOChecker.Core.Repository.Definition.DefinitionFactory.Single(String alias)
ved SEOChecker.Core.Config.Configuration.GetDocumentTypeByAlias(String alias, String doctypeAlias)
ved SEOChecker.Core.Config.Configuration.GetDocumentTypeByAlias(String alias)
ved SEOChecker.Core.Extensions.UmbracoDocumentExtensions.GetDefaultTitlePropertyValue(IUmbracoDocument doc, String culture, String segment)
ved SEOChecker.DataTypes.Model.SEOCheckerModel..ctor(SEOCheckerValues value, IUmbracoDocument document, SEOCheckerDataTypeConfig datatypeConfig, String culture, String segment)
ved SEOChecker.DataTypes.PropertyEditors.PropertyEditorWrappers.SEOCheckerPropertyWrapper.ToEditor(Property property, IDataTypeService dataTypeService, String culture, String segment)
As a bonus info. The document i tried this on was not published, only saved.
When i try to do a schedule publish i get this debug info, that leads to a 404 error.
SEOChecker: SEOChecker: SEOChecker httpmodule called for uri http://localhost:7579/umbraco/backoffice/UmbracoApi/Content/PostSave
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:7579/umbraco/backoffice/UmbracoApi/Content/PostSave
Ok the last is not a SEO Checker error and great find Now I can reproduce as well. Will fix ASAP. Was better to have a new topic by the way since this was related to a total different issue.
I should maybe have created a new topic. But i did not want to have 2 unfinished topics with the same name.
But great that you can reproduce, so you can try fix it.
Yes the last is only a debug info. But i was wondering why SeoChecker is calling http://localhost:7579/umbraco/backoffice/UmbracoApi/Content/PostSave when i try to do a schedule publish?
Ok but the other issue was solved in 2.9.
When you have a fix for it, please post it, then i mark it as the correct answer :)
I will create a new bug report for the debug info from the SEOChecker.Core.Components.UrlRedirectComponent.
Think a side effect of another fix fixed this issue as well, could not reproduce it anomore with fix below. but can with 2.9.0
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted