I was able to fix this error by making a change to gigpress/output/gigpress_shows.php
I added the following after line 431
elseif(!empty($showdata['venue_url']))
{
$show_markup['url'] = $showdata['venue_url'];
}
It would be helpful to incorporate this change in the next version of the plugin.
Hey @joneiseman,
Thanks for sharing that with us! I’ll log that as a bug and will let the developers know to take care of it.
Cheers,
Andras
Meanwhile I also ran a test with the latest version (2.3.17) and if I fill out the URL fields then I get no errors.
Based on your snippet I removed the venue URL from my test gig, but that didn’t give me any error.
Then I removed all URLs (venue, artist, external, ticket) and still, I didn’t get any A value for the url field is required. error messages, only that they are recommended.
Do you still have this issue?
Cheers,
Andras
Hi Andras,
The Google Structured Data testing tool is no longer reporting the missing url as an error (but I still think my fix is correct).
Thanks,
Jon
Thanks for getting back to me on that, @joneiseman. Great to here it works!
Cheers,
Andras