How to Fix “Missing field “item” (in “itemListElement”)”
The “Missing field “item” (in “itemListElement”)” error is a common error that can occur on WordPress websites. This error means that your website’s schema markup is missing the “item” property. The “item” property is required for breadcrumb schema markup.
There are two ways to fix this error:
- Disable Yoast SEO’s schema markup.
- Install the Schema & Structured Data for WP & AMP plugin.
To disable Yoast SEO’s schema markup, you need to add the following code to your theme’s functions.php file:
$data = array();
add_filter('wpseo_json_ld_output', 'disable_yoast_schema_data', 10, 1);
To install the Schema & Structured Data for WP & AMP plugin, you can go to the WordPress plugin repository and search for “Schema & Structured Data for WP & AMP.” Once you have found the plugin, click on the “Install Now” button and then activate the plugin.
Once you have installed the plugin, you need to go to Settings > Structured Data and enable the “Breadcrumbs” option.
Now, clear all cache files and re-check your website on Google Search Console.
This will ensure that your changes have been applied and that your website is showing the correct schema markup.
Here are the steps on how to clear cache files:
- Log in to your WordPress dashboard.
- Go to Settings > Performance.
- Under the Cache section, click on the Clear Cache button.
If you are using WP Rocket:
Go to Settings → WP Rocket → Dashboard tab and press the Clear cache button.
Once you have cleared the cache files, you can re-check your website for Rich Result.
- Go to the Rich Result Test website
- Paste Your URL
- Click on the Test URL
This is how you can fix the “Missing field “item” (in “itemListElement”)” in Google Search Console.