Title: Structured Data giving errors
Last modified: May 6, 2021

---

# Structured Data giving errors

 *  Resolved [nointelligentlife](https://wordpress.org/support/users/nointelligentlife/)
 * (@nointelligentlife)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/structured-data-giving-errors/)
 * Hi, sorry run into another problem (please see my previous post for environment
   details – the staging site is a copy of the live site). The Google Search Console
   is throwing errors on the web page where I list events. I use the Structured 
   Data Testing tool [https://search.google.com/structured-data/testing-tool/](https://search.google.com/structured-data/testing-tool/)
   to help display the error detail. It’s the same for each event in the list – 
   the name of the event is missing. Other data is there – description, start date,
   end date but no name.
    Actually you will also see the [@id](https://wordpress.org/support/users/id/)
   field is wrong it shows (for one of the events) [https://staging.acemonmouth.org/festival/event-4902](https://staging.acemonmouth.org/festival/event-4902)
   which is not the correct url for this event. The id is 4092 but the correct url
   is [https://staging.acemonmouth.org/festival/political-debate](https://staging.acemonmouth.org/festival/political-debate)
   Also its creating data of [@type](https://wordpress.org/support/users/type/) 
   = Event from the page data, calling it Festival and then using the publication
   date as the start and end dates. I don’t want this!! Hope you can help me.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fstructured-data-giving-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [nointelligentlife](https://wordpress.org/support/users/nointelligentlife/)
 * (@nointelligentlife)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/structured-data-giving-errors/#post-14419618)
 * I have fixed the two errors by hacking the ectbe-widget.php file. The meta tag
   for the name of the event is missing. As you loop through each event you assign
   a variable to the event title
    $event_title=$event[‘title’]; So on line 846 which
   begins $venue_details_html = ‘<span class=”ectbe-icon”>…… I added the meta tag
   into the start of the string <meta itemprop=”name” content=”‘.$event_title.'”
   > Now that’s not the right place to put it, but it fixes the error. The second
   problem is caused by lines 806-808 which create a JSON-LD data structure for 
   the page. I have no idea why this is included so I commented those 3 lines out.
   That eliminates the error. The url for the event is still wrong – it is using“
   event-” + id instead of using the event title. It doesn’t cause an error but 
   it does need to be fixed.
 *  Plugin Support [Jyoti Bhandari](https://wordpress.org/support/users/jyoti197/)
 * (@jyoti197)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/structured-data-giving-errors/#post-14423633)
 * Hi @nointelligentlif,
 * Sorry, for the delay in response.
    Thanks for spotting an issue we will fix this
   issue in an upcoming version.
 * Thanks & Regards
 *  Thread Starter [nointelligentlife](https://wordpress.org/support/users/nointelligentlife/)
 * (@nointelligentlife)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/structured-data-giving-errors/#post-14426537)
 * Fab. Thanks, I look forward to the update.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Structured Data giving errors’ is closed to new replies.

 * ![](https://ps.w.org/events-widgets-for-elementor-and-the-events-calendar/assets/
   icon-256x256.gif?rev=3343973)
 * [Events Widgets For Elementor And The Events Calendar](https://wordpress.org/plugins/events-widgets-for-elementor-and-the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-widgets-for-elementor-and-the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-widgets-for-elementor-and-the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/events-widgets-for-elementor-and-the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-widgets-for-elementor-and-the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-widgets-for-elementor-and-the-events-calendar/reviews/)

## Tags

 * [event](https://wordpress.org/support/topic-tag/event/)

 * 3 replies
 * 2 participants
 * Last reply from: [nointelligentlife](https://wordpress.org/support/users/nointelligentlife/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/structured-data-giving-errors/#post-14426537)
 * Status: resolved