Page 1 of 1

Google Console errors

Posted: Tue Jul 20, 2021 4:43 pm
by artfulweb
Hi,
Just had Google contact me for errors and do not know if anyone can address these:

-Breadcrumbs:
Missing field "id"
Either "name" or "item.name" should be specified
Invalid object type for field "item"

_Unparsable structured data
Incorrect value type "@id"

-Sitelinks searchbox
Custom query parameter not defined in target URL
==========
Concerning breadcrumbs I am using the stock breadcrumb with these settings:
Product SEO Override?
True
Manufacturer SEO Override?
True
Category SEO Override?
False


Any ideas how to fix them? Thanks in advance.

Re: Google Console errors

Posted: Thu Jul 22, 2021 4:03 am
by lecarlb
I posted something similar and @ecartz said he will take a look at the Json-LD header tags module.

I get those same errors also. Maybe we'll get some updates in those areas when the team gets time.

Re: Google Console errors

Posted: Thu Jul 22, 2021 6:58 am
by artfulweb
Thans. Does it come from the header tags module?

Re: Google Console errors

Posted: Thu Jul 22, 2021 9:18 am
by burt
The problem here is that the $v['link'] in the code here is an object so is not directly usable.
I don't have time to have a look deeply into it :(

Re: Google Console errors

Posted: Thu Jul 22, 2021 10:51 am
by ecartz
burt wrote: Thu Jul 22, 2021 9:18 am The problem here is that the $v['link'] in the code here is an object so is not directly usable.
I don't have time to have a look deeply into it :(
If the goal is simply to use it as a string, changing line 86 to

Code: Select all

              '@id' => "{$v['link']}",
should fix it.

Re: Google Console errors

Posted: Fri Jul 23, 2021 1:44 pm
by ecartz
I changed it in the Href class for 1.0.8.5: https://github.com/CE-PhoenixCart/Phoen ... 0df7cd55a6

Re: Google Console errors

Posted: Mon May 08, 2023 7:00 pm
by lecarlb
Here's the latest complaint from Google Search Console. I'm guessing it's for versions prior 1.0.8.16.
Merchant-listings.png
@ecartz @artfulweb

Re: Google Console errors

Posted: Tue May 09, 2023 2:49 pm
by burt