Google Console errors

Open to all! Ask other shopowners for help.
Post Reply
artfulweb
Contributor
Posts: 184
Joined: Thu Oct 29, 2020 12:34 pm
Phoenix Version: v1.1.0.6
Has thanked: 29 times
Been thanked: 14 times

Google Console errors

Post 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.


Join The Code Co-op to get access to your library in the Code Co-op Forum
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Has thanked: 48 times
Been thanked: 9 times

Re: Google Console errors

Post 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.
artfulweb
Contributor
Posts: 184
Joined: Thu Oct 29, 2020 12:34 pm
Phoenix Version: v1.1.0.6
Has thanked: 29 times
Been thanked: 14 times

Re: Google Console errors

Post by artfulweb »

Thans. Does it come from the header tags module?
User avatar
burt
Core Team
Posts: 4560
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 413 times

Re: Google Console errors

Post 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 :(
I am not here to build for you.
I am here to build with you. Let's help each other.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Google Console errors

Post 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.
ecartz
Core Team
Posts: 3084
Joined: Tue Nov 05, 2019 6:02 pm
Phoenix Version:
Has thanked: 4 times
Been thanked: 208 times

Re: Google Console errors

Post by ecartz »

I changed it in the Href class for 1.0.8.5: https://github.com/CE-PhoenixCart/Phoen ... 0df7cd55a6
lecarlb
Contributor
Posts: 316
Joined: Mon Oct 26, 2020 5:26 pm
Phoenix Version:
Has thanked: 48 times
Been thanked: 9 times

Re: Google Console errors

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
burt
Core Team
Posts: 4560
Joined: Tue Oct 29, 2019 9:37 am
Phoenix Version: v1.1.0.8
Has thanked: 252 times
Been thanked: 413 times

Re: Google Console errors

Post by burt »

I am not here to build for you.
I am here to build with you. Let's help each other.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply