When I go to the Google Search Console it says that I have two entries missing field "id". Both errors in the Google Search Console fall under the BreadCrumbs tab and are referring to errors in the viewforum.php file it seems, but I have opened the viewforum.php file in an HTML editor and I can't find the code in that file that Google is referring to in the code errors they are showing.Search Console has identified that your site is affected by 1 Breadcrumbs issues:
Top Errors
Errors can prevent your page or feature from appearing in Search results. The following errors were found on your site:
Missing field "id"
We recommend that you fix these issues when possible to enable the best experience and coverage in Google Search.
The first entry Google is talking about seems to be missing the following code:
Code: Select all
data-forum-id=" "
Code: Select all
<span class="crumb" itemtype="http://schema.org/ListItem" itemprop="itemListElement" itemscope><a href="./index.php" itemtype="https://schema.org/Thing" itemscope="" itemprop="item" accesskey="h" data-navbar-reference="index" title="Home"><i class="icon fa-home fa-fw"></i><span itemprop="name">Home</span></a><meta itemprop="position" content="1" /></span>
The second Missing field id error Google is referring to is for one of my Forums which is a Forum Category and in the code that Google is referencing to as having the error it does in fact have a data-forum-id entry showing in the code already, but I guess for some reason Google is not seeing it. So this second error is even more mysterious.
I also ran Google's Structured Data Testing Tool on the site already, but it shows no errors, which doesn't sync with the above errors indicated on Google's Search Console.
If anyone has any idea how I can possibly fix the two above referenced errors I would greatly appreciate it.
Thank you.