Hi,
I have also a problem with this. Google Search Console reports error with this part of code: {“@type”:”EntryPoint”,”urlTemplate”:”https://[siteurl]/?s={search_term_string}”}
Yoast plugin is up to date, as well as the website.
Maybe this is related to some Polish/English websites?
The first report is from 30 March 22 and refers to one URL within a domain.
Since 6 April there are 2 URLs reported within the same domain (1st error + 2nd)
Since 12 April there are 3 URLs reported and this continues until today (1st + 2nd + 3rd). All pointing to the same code snippet.