Dieses Thema behandelt einen Fehler, bei dem Google Search Console fehlende Felder wie ‘text’, ‘name’ oder ‘answerCount’ in der mainEntity.suggestedAnswer-Schema-Markierung von Discourse meldet. Richie berichtete zunächst, dass die Probleme auch nach einem Update anhielten. davidb identifizierte, dass Werte im Microdata fehlten und veröffentlichte einen Fix, der die meisten Fehler behob, wobei er vermutete, dass einige verbleibende Fälle auf Seiten ohne Textinhalt (nur Emojis oder Bilder) zurückzuführen sind.
Obwohl weitere Updates (davidb) die Situation verbesserten, blieben für Richie hartnäckige Fehler bestehen, insbesondere bei Themen mit übersetzten Inhalten oder fehlendem OP-Text. davidb erklärte, dass fehlender Text im ersten Beitrag das Problem verursachen kann, da dieser als Teil der Frage im QAPage-Schema verwendet wird; ein Workaround könnte die Verwendung des Thementitels als Platzhalter sein. MichaIng wies darauf hin, dass Google Search Console oft veraltete Einträge aus seinem Cache in laufende Validierungen einbezieht, was dazu führt, dass die Validierung fehlschlägt, obwohl der Code-Fix bereits implementiert ist. Er betonte, dass es Monate dauern kann, bis alle Seiten neu gecrawlt werden, und man die Validierung mehrmals auslösen muss. Schließlich bestätigte davidb, dass die Probleme auf Meta vollständig gelöst wurden, und schloss das Thema ab, da die verbleibenden Meldungen auf Verzögerungen beim Google-Crawling zurückzuführen sind.
I merged a change that should fix most of the errors you are seeing (ie. missing name/answerCount). It turned out these values were missing from the microdata:
The 3 problem urls in the last image appear to be a separate issue, 2 of them are emoji only posts with no text and the third is an image only post. But I ran them through the Schema markup validator by pasting the page source and all appear to have zero warnings or errors.
Possibly these 3 page issues will clear on a re-crawl.
Validation started means the issue is solved. “Not Started” means I couldn’t start it, since the quick initial validation still fond these issues, and I could verify that in the actual page source.
The “text” and “datePublished” fields were actually added to tests with the commit (and our instance contains that commit), but probably at the wrong element? E.g. “datePublished” is expected at the mainEntity, while the tests check it at the suggested/acceptedAnswer?
Also, if this is of use, while not a critical error like the others they offer this “Improve item appearance” section which lists lots of “Missing field” values:
One thing you can do is click the “test live url” button on problem pages to see if they are actually still an issue or just a cached version that Google is checking against.
It’s been about 2 weeks since I merged the last fix for this. Overall I am noticing that these schema errors are trending downwards since these fixes were merged:
The painful part is that there is a delay in Google Search Console after validating changes (ie. Google’s daily indexing/crawl quota per website). So on larger sites it can take longer for fixes to be acknowledged across all pages.
Setting a reminder for myself to check back in on this again in 2 weeks time.
In the mean time if you are still experiencing any new issues related to this please add them here and I will investigate.