Support » Plugin: Web Stories » How to specify “item name”?

  • Resolved jess2716

    (@jess2716)


    I’m getting a Google Search Console error in the “Breadcrumbs” section that “Either “name” or “item.name” should be specified.”

    How do I specify an item name?

    This is the bit of code that it’s showing me has the issue:

    {“@type”:”ListItem”,”position”:2,”item”:{“@type”:”WebPage”,”@id”:””,”url”:””,”name”:””}},

    Thank you!

    -Jessie

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Support Bethany Chobanian Lang

    (@shetheliving)

    @jess2716 Thanks for getting in touch!

    I ran your story through the AMP tester and I’m not seeing any issues.

    Are you using Yoast SEO or another plugin to generate breadcrumbs?

    Thread Starter jess2716

    (@jess2716)

    @bethany: Yes! I have it set up using the Schema Pro plugin. Screenshot of the settings here: https://prnt.sc/13043ys

    Also:

    Here is a screenshot of the Google Search Console error: https://prnt.sc/13048b3

    Here is a screenshot of what pops up after I try to validate the fix (I didn’t fix anything; just ran it to see if it would go away): https://prnt.sc/13049h4

    Thank you!

    -Jessie

    Plugin Support Bethany Chobanian Lang

    (@shetheliving)

    @jess2716 Thanks for these details, Jessie! Super helpful.

    It looks like what’s happening here is that the Schema Pro plugin is trying to add breadcrumbs to all content on your site, but the Web Stories plugin isn’t providing name or item.name data for the breadcrumb. In my testing, this issue doesn’t occur when a breadcrumbs are not not being added to a site.

    I’m going to check with our team on the best next steps here and I’ll get back to you later this week. Thank you for your patience!

    Thread Starter jess2716

    (@jess2716)

    @bethany: Thank you! Appreciate it. 🙂

    Plugin Support Bethany Chobanian Lang

    (@shetheliving)

    Thanks for your patience here, @jess2716! I’ve reached out to the Schema Pro team about next steps on this issue. I’ll update you here as soon as I have more info.

    Plugin Support Bethany Chobanian Lang

    (@shetheliving)

    @jess2716 To help me with some additional tests, do you mind sharing your Site Health information privately via this form?

    Plugin Support Bethany Chobanian Lang

    (@shetheliving)

    Hi @jess2716 Thanks for your patience as we worked to test and troubleshoot this issue. It does appear that the Either “name” or “item.name” should be specified message displaying on Web Stories in Google Search Console is related to a known issue in the Yoast SEO plugin: https://github.com/Yoast/wordpress-seo/issues/17006. As noted in that issue, they are aiming to release a fix in their next version, 16.4.

    You can follow that GitHub issue for updates, but I will also update this topic when v16.4 has been released.

    Thank you!

    Thread Starter jess2716

    (@jess2716)

    @bethany: Thank you so much! I’m sorry for the delay — I was away for a few days. I really appreciate you figuring this out.

    Plugin Support Bethany Chobanian Lang

    (@shetheliving)

    @jess2716 Yoast has now released version 16.4, which includes a fix for this issue: https://github.com/Yoast/wordpress-seo/issues/17006. I just tried re-running your story through the AMP Test tool https://search.google.com/test/amp?id=p4lIKOQNbBzx_wEiH_pQww and it looks like this issue is indeed resolved!

    There are two remaining errors:

    The first one is Gravity Forms adding custom JavaScript to the stories, which is not allowed and causes an error. We’ve seen a few reports of this in the last few days; it looks like this is something that was introduced in a recent Gravity Forms release. I am going to reach out to them about a fix.

    The second issue is a very recent one that we are currently investigating. Check out https://wordpress.org/support/topic/known-issue-script-amp-onerror/ for a workaround that involves temporarily installing a plugin to address it.

    Thanks for your patience here!

    Bethany

    Plugin Support Bethany Chobanian Lang

    (@shetheliving)

    @jess2716 Gravity Forms has actually fixed their issue in their latest release, version 2.5.5.4. Can you please update your Gravity Forms plugin? You should see that warning go away in the Search Console once you’ve updated.

    We’re still working on a fix for the onerror issue, but you can use the link in Pascal’s reply above to download a mini-plugin for a short-term fix. I’ll update here when the long-term fix is released.

    Thread Starter jess2716

    (@jess2716)

    @bethany: Good morning! Thank you for checking on this. I just ran a validation through it again but it’s still showing the Breadcrumbs issue (“Either “name” or “item.name” should be specified”).

    But is that different from the Gravity Forms error? I believe it is, but I’m not super tech savvy — I don’t really know how to check for added javascript in Web Stories from Gravity Forms.

    Plugin Support Bethany Chobanian Lang

    (@shetheliving)

    Hi, @jess2716!

    I just ran a validation through it again but it’s still showing the Breadcrumbs issue (“Either “name” or “item.name” should be specified”).

    Hmm… I just ran it through myself: https://search.google.com/test/amp?id=KSaWwhuZFlIJn0xw_hMzzg and I don’t see the breadcrumbs issue. Can you try again?

    But is that different from the Gravity Forms error? I believe it is, but I’m not super tech savvy — I don’t really know how to check for added javascript in Web Stories from Gravity Forms.

    Yep, that’s correct. The breadcrumbs issue was caused by Yoast, which should have been (and appears to have been) fixed with their plugin update.

    I now see two errors in the results I linked to above:

    1. “Custom JavaScript is not allowed.” which is caused by the JavaScript coming from Gravity Forms. Once you update Gravity Forms to version 2.5.5.4, that should go away.
    2. “The mandatory text inside tag ‘script amp-onerror’ is missing or incorrect.” which you can fix by downloading and installing this mini-plugin in the short-term.

    Let me know if you have any other questions!

    Thread Starter jess2716

    (@jess2716)

    @bethany: So odd! I’m still showing both errors. I tried clearing website and browser cache, too.

    Screenshots:

    https://prnt.sc/13rhjmn (javascript error)
    https://prnt.sc/13rhorm (item name error)

    My plugins are updated and I tried running a validation, but no luck. Could it just take a bit to workout on my end?

    Also, for the mini-plugin, I couldn’t find it in the WordPress plugin directory. What is the name I should search for that?

    Thank you for all of your help!

    -Jessie

    Plugin Support Bethany Chobanian Lang

    (@shetheliving)

    @jess2716 Very odd indeed!

    Just to confirm, can you please share your Site Health information privately via this form?

    Also, for the mini-plugin, I couldn’t find it in the WordPress plugin directory. What is the name I should search for that?

    The mini-plugin is not in the directory, but you can download it here and then install by going to Plugins > Add New and uploading the zip file.

    Thanks!

    Plugin Author Pascal Birchler

    (@swissspidy)

    Hi @jess2716

    The only error remaining with your stories is the one caused by Gravity Forms. Which version of GF are you currently using specifically?

    As for the mini-plugin, you don’t need that anymore, as the testing tool seems to have been updated already.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘How to specify “item name”?’ is closed to new replies.