-
Hello,
The course schema returns two errors in Google Search Console.
– Missing field “offers”
– Missing field “Coursehasinstance”These errors are considered critical in Google Search Console.
Thank you very much,
-
Hello,
We apologize for the inconvenience you are facing with the Course Schema errors in Google Search Console. We appreciate you bringing this to our attention.
The “Missing field ‘offers'” and “Missing field ‘Coursehasinstance'” errors can be resolved by ensuring that the necessary fields are properly configured in the Course Schema.
To resolve the “Missing field ‘offers'” error, you need to ensure that the course includes information about any offers or discounts associated with it. This can be added to the Course Schema markup.
As for the “Missing field ‘Coursehasinstance'” error, this indicates that there is an issue with the instance of the course. You need to ensure that the Course Schema includes information about the instances of the course, such as start dates, duration, and location.
If you are using Rank Math, you can configure the Course Schema settings by navigating to WordPress Dashboard → Rank Math SEO → Titles & Meta → Courses and ensuring that all relevant fields are properly configured.
If you need further assistance with resolving these errors, please feel free to reach out to our support team directly from here, and we will be happy to assist you.
Thank you for your understanding and patience.
Sources:
Google Search Console Missing Field Warning » Rank Math
Course Schema Type » Rank Math
Resolving Rank Math Schema Markup Related IssuesHi Rank Math,
The problem is that both fields ““offers” and “Coursehasinstance” are not available in the Rank Math Course Schema markup or the Course Schema settings by navigating to WordPress Dashboard → Rank Math SEO → Titles & Meta → Courses.
May I please have a person look into it?
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to this issue.
The missing “offers” and “hasCourseInstance” errors are because certain essential details are missing from the Course Schemas you applied to the Course pages of your site. Kindly fill out relevant entries in the Course Schema and then test your pages using this Rich result test tool from Google as changes on your site will not be reflected immediately on Google: https://search.google.com/test/rich-results
You can check this article from Google on the Course Schema and its requirements:https://developers.google.com/search/docs/appearance/structured-data/course-info
We hope this helps. Please let us know if you have further questions or concerns.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Please share your affected post URL with us so that we can check the issue further for you.
Looking forward to helping you.
Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
In the PRO version of the Rank Math plugin, we have an advanced editor option to edit your Course Schema. However, as you’re using the free version of the plugin, you can use the following filter on your website to add those missing properties on your website:
add_filter( "rank_math/snippet/rich_snippet_course_entity", function( $entity ) { // Offer $entity['offers']['@type'] = 'Offer'; $entity['offers']['category'] = 'Paid'; $entity['offers']['priceCurrency'] = 'EUR'; $entity['offers']['price'] = 10.99; // CourseInstance $entity['hasCourseInstance']['@type'] = 'CourseInstance'; $entity['hasCourseInstance']['courseMode'] = 'Onsite'; $entity['hasCourseInstance']['location'] = 'UK'; $entity['hasCourseInstance']['courseSchedule']['@type'] = 'Schedule'; $entity['hasCourseInstance']['courseSchedule']['duration'] = 'PT5H'; $entity['hasCourseInstance']['courseSchedule']['repeatCount'] = '4'; $entity['hasCourseInstance']['courseSchedule']['repeatFrequency'] = 'Weekly'; $entity['hasCourseInstance']['courseSchedule']['startDate'] = '2023-08-01'; $entity['hasCourseInstance']['courseSchedule']['endDate'] = '2023-8-31'; $entity['hasCourseInstance']['instructor']['@type'] = 'Person'; $entity['hasCourseInstance']['instructor']['name'] = 'Kai S.'; $entity['hasCourseInstance']['instructor']['description'] = 'Professor at X-University'; $entity['hasCourseInstance']['instructor']['image'] = 'http://examplePerson.jpg'; return $entity; });
Here’s how you can add filter/hook to your WordPress site: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Please make sure to change the properties according to your website.
Let us know how it goes. Looking forward to helping you.
Thank you.
Hello,
We have recently released a Beta version of the plugin that adds the fields where you can fill in those required data to fix the errors in GSC.
Please try updating to the beta version of Rank Math by following this guide: https://rankmath.com/kb/version-control/#beta-updates
If you don’t see an update available, please go to Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients > Remove transients. Then, clear your caches, server, and WordPress and check again.
You can disable the Beta updates once you update to the latest version
Hope that helps.
Thank you.
I have same problem too. So we need next update? Google search console gives so many errors. Can you publish next verison of the rm soon please?
Fantastic thank you so much lke!
Hello,
We just released a stable version of the Rank Math plugins which includes the additional fields in Course Schema Builder to make your courses compatible with the latest Google guidelines.
Ensure you disable the Beta updates to prevent Beta updates from installing automatically in the future:
WordPress Dashboard > Rank Math > Status & Tools > Version ControlWe hope this helps. Please let us know if you have further questions or concerns.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.
The ticket ‘Course Schema Error’ is closed to new replies.