# حقل 'text' مفقود (في 'mainEntity.suggestedAnswer')

**URL:** https://meta.discourse.org/t/missing-field-text-in-mainentity-suggestedanswer/399974
**Category:** Bug
**Created:** [5 أبريل 2026، 7:44ص UTC](https://meta.discourse.org/t/missing-field-text-in-mainentity-suggestedanswer/399974 "2026-04-05T07:44:41Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [5 أبريل 2026، 7:44ص UTC](https://meta.discourse.org/t/missing-field-text-in-mainentity-suggestedanswer/399974/1 "2026-04-05T07:44:41Z")

</div>

فيما يتعلق بهذا الخطأ الأسبوع الماضي:

> [@Google search console acceptedAnswer error](https://meta.discourse.org/t/google-search-console-acceptedanswer-error/399525):
>
> Continuing the discussion from [Either 'acceptedAnswer' or 'suggestedAnswer' should be specified](https://meta.discourse.org/t/either-acceptedanswer-or-suggestedanswer-should-be-specified/111809/3): I had this issue pop today suddenly after updating to this week’s latest build. Any thoughts as to why it suddenly started? The site has been around for a decade and so has the page that’s affected by it. The topic has only one post (wiki) from the admin (it’s a notice FAQ topic).

وأيضًا:

> <https://github.com/discourse/discourse/pull/38964>
>
> Google Search Console reports acceptedAnswer/suggestedAnswer errors on topics th…at emit QAPage structured data with answerCount:0 and neither field present. This affects single-post topics, topics where the only replies are hidden or small action posts, and topics whose accepted answer has been hidden.
> 
> The fix introduces two checks:
> 
> 1. A \`has\_eligible\_answers?\` query in SchemaUtils that verifies at least one visible, regular-type reply exists before emitting QAPage schema (both JSON-LD and microdata). Topics without eligible answers fall back to the default DiscussionForumPosting schema.
> 
> 2. A \`has\_answers\` policy in BuildSchemaMarkup that gates on the materialized accepted\_answer/suggested\_answers after they've been fetched, catching any edge cases the topic-level check might miss.
> 
> Additionally, \`fetch\_accepted\_answer\` now checks post visibility via \`Guardian.new.can\_see\_post?\` (anonymous perspective) so hidden accepted answers are excluded from schema output rather than being advertised to search engines. The \`"answered only"\` setting also uses this visibility check instead of just testing whether an answer\_post\_id exists.
> 
> https://meta.discourse.org/t/399525

لقد قمت اليوم بتحديث الإصدار إلى 2026.4.0-latest ([97400099a5](https://github.com/discourse/discourse/commits/97400099a5ca6fbc247dc93d9a575d3750f7425d))، لكنني لا يزالُ غير قادرٍ على التحقق من الإصلاحات عبر Google 🤔

يُظهر موقعي في Google Search Console ما يلي:

 ![Screenshot 2026-04-05 at 08.40.51](https://global.discourse-cdn.com/meta/original/4X/4/3/9/439b9de9673c4b40d96970fb41534e607f34e363.png)

عند النقر للانتقال إلى خطوات التحقق/الإصلاح:

 ![Screenshot 2026-04-05 at 08.41.50](https://global.discourse-cdn.com/meta/original/4X/8/7/c/87cd9879f3308f31241e406750e3c95f05144236.png)

 ![Screenshot 2026-04-05 at 08.42.15](https://global.discourse-cdn.com/meta/original/4X/f/b/a/fba99ae2f2a4c1b63993dfd5a3c80c7aa49e2459.png)

وعند محاولة التحقق من أيٍّ من الإصلاحات:

 ![Screenshot 2026-04-05 at 08.38.13](https://global.discourse-cdn.com/meta/original/4X/4/7/f/47f813d098b7abc12c3bb9ef36ebf1c3eed68966.png)

أحصل على نفس رسالة خطأ “تم العثور على صفحات متأثرة” لجميع الأنواع الثلاثة.

هل فاتني شيء ما؟ 🤔

---

_[View the full topic](https://meta.discourse.org/t/missing-field-text-in-mainentity-suggestedanswer/399974)._
