• Resolved marklavin

    (@marklavin)


    Hello,

    I am trying to create events on a site we’re rebuilding for a client. On the original site, the events are working fine, and I’m replicating the content exactly.

    Here are the issues I’m getting, and I’m hoping that all three are related, maybe caused by some error in the settings?

    1. I create the event and add the location. The location goes in just fine, but when I try to save the event, it “loses” the location – shows that the event has no location. The error “Something went wrong saving your event to the index table. Please inform a site administrator about this.” shows up at top. When I try to save the event as a draft, I get the same issue, although the draft does show up in the listings on the WP dashboard, albeit, without a location. When I go to the location listings, the location is there. So something is just not connecting.
    2. The second weirdness is that in the new site when I’m editing the event in the post editor, there’s a box called “Event Meta (debugging only)” This window is filled with tons of code… here’s the code.

    [code]

    EM_Event Object
    (
    [event_id] =>
    [post_id] => 990
    [event_slug] => nyc-workshop-natasha-prenn
    [event_owner] => 2
    [event_name] => New York City Workshop ? Natasha Prenn, LCSW
    [event_start_time] => 10:00:00
    [event_end_time] => 16:00:00
    [event_all_day] => 0
    [event_start_date] => 2015-05-31
    [event_end_date] => 2015-05-31
    [post_content] => Event Content...

    [event_rsvp] => 0
    [event_rsvp_date] =>
    [event_rsvp_time] => 00:00:00
    [event_rsvp_spaces] =>
    [event_spaces] =>
    [event_private] => 0
    [location_id] =>
    [recurrence_id] =>
    [event_status] =>
    [event_date_created] =>
    [event_date_modified] =>
    [blog_id] =>
    [group_id] => 0
    [event_attributes] => Array
    (
    )

    [recurrence] => 0
    [recurrence_interval] =>
    [recurrence_freq] =>
    [recurrence_byday] =>
    [recurrence_days] => 0
    [recurrence_byweekno] =>
    [recurrence_rsvp_days] =>
    [event_owner_anonymous] =>
    [event_owner_name] =>
    [event_owner_email] =>
    [fields] => Array
    (
    [event_id] => Array
    (
    [name] => id
    [type] => %d
    )

    [post_id] => Array
    (
    [name] => post_id
    [type] => %d
    )

    [event_slug] => Array
    (
    [name] => slug
    [type] => %s
    [null] => 1
    )

    [event_owner] => Array
    (
    [name] => owner
    [type] => %d
    [null] => 1
    )

    [event_name] => Array
    (
    [name] => name
    [type] => %s
    [null] => 1
    )

    [event_start_time] => Array
    (
    [name] => start_time
    [type] => %s
    [null] => 1
    )

    [event_end_time] => Array
    (
    [name] => end_time
    [type] => %s
    [null] => 1
    )

    [event_all_day] => Array
    (
    [name] => all_day
    [type] => %d
    [null] => 1
    )

    [event_start_date] => Array
    (
    [name] => start_date
    [type] => %s
    [null] => 1
    )

    [event_end_date] => Array
    (
    [name] => end_date
    [type] => %s
    [null] => 1
    )

    [post_content] => Array
    (
    [name] => notes
    [type] => %s
    [null] => 1
    )

    [event_rsvp] => Array
    (
    [name] => rsvp
    [type] => %d
    [null] => 1
    )

    [event_rsvp_date] => Array
    (
    [name] => rsvp_date
    [type] => %s
    [null] => 1
    )

    [event_rsvp_time] => Array
    (
    [name] => rsvp_time
    [type] => %s
    [null] => 1
    )

    [event_rsvp_spaces] => Array
    (
    [name] => rsvp_spaces
    [type] => %d
    [null] => 1
    )

    [event_spaces] => Array
    (
    [name] => spaces
    [type] => %d
    [null] => 1
    )

    [location_id] => Array
    (
    [name] => location_id
    [type] => %d
    [null] => 1
    )

    [recurrence_id] => Array
    (
    [name] => recurrence_id
    [type] => %d
    [null] => 1
    )

    [event_status] => Array
    (
    [name] => status
    [type] => %d
    [null] => 1
    )

    [event_private] => Array
    (
    [name] => status
    [type] => %d
    [null] => 1
    )

    [event_date_created] => Array
    (
    [name] => date_created
    [type] => %s
    [null] => 1
    )

    [event_date_modified] => Array
    (
    [name] => date_modified
    [type] => %s
    [null] => 1
    )

    [event_attributes] => Array
    (
    [name] => attributes
    [type] => %s
    [null] => 1
    )

    [blog_id] => Array
    (
    [name] => blog_id
    [type] => %d
    [null] => 1
    )

    [group_id] => Array
    (
    [name] => group_id
    [type] => %d
    [null] => 1
    )

    [recurrence] => Array
    (
    [name] => recurrence
    [type] => %d
    [null] => 1
    )

    [recurrence_interval] => Array
    (
    [name] => interval
    [type] => %d
    [null] => 1
    )

    [recurrence_freq] => Array
    (
    [name] => freq
    [type] => %s
    [null] => 1
    )

    [recurrence_days] => Array
    (
    [name] => days
    [type] => %d
    [null] => 1
    )

    [recurrence_byday] => Array
    (
    [name] => byday
    [type] => %s
    [null] => 1
    )

    [recurrence_byweekno] => Array
    (
    [name] => byweekno
    [type] => %d
    [null] => 1
    )

    [recurrence_rsvp_days] => Array
    (
    [name] => recurrence_rsvp_days
    [type] => %d
    [null] => 1
    )

    )

    [post_fields] => Array
    (
    [0] => event_slug
    [1] => event_owner
    [2] => event_name
    [3] => event_attributes
    [4] => post_id
    [5] => post_content
    )

    [recurrence_fields] => Array
    (
    [0] => recurrence_interval
    [1] => recurrence_freq
    [2] => recurrence_days
    [3] => recurrence_byday
    [4] => recurrence_byweekno
    )

    [image_url] =>
    [start] => 1433066400
    [end] => 1433088000
    [rsvp_end] =>
    [created] =>
    [modified] =>
    [location] => EM_Location Object
    (
    [location_id] =>
    [post_id] =>
    [blog_id] =>
    [location_slug] =>
    [location_name] =>
    [location_address] =>
    [location_town] =>
    [location_state] =>
    [location_postcode] =>
    [location_region] =>
    [location_country] =>
    [location_latitude] => 0
    [location_longitude] => 0
    [post_content] =>
    [location_owner] =>
    [location_status] => 0
    [fields] => Array
    (
    [location_id] => Array
    (
    [name] => id
    [type] => %d
    )

    [post_id] => Array
    (
    [name] => post_id
    [type] => %d
    )

    [blog_id] => Array
    (
    [name] => blog_id
    [type] => %d
    )

    [location_slug] => Array
    (
    [name] => slug
    [type] => %s
    [null] => 1
    )

    [location_name] => Array
    (
    [name] => name
    [type] => %s
    [null] => 1
    )

    [location_address] => Array
    (
    [name] => address
    [type] => %s
    [null] => 1
    )

    [location_town] => Array
    (
    [name] => town
    [type] => %s
    [null] => 1
    )

    [location_state] => Array
    (
    [name] => state
    [type] => %s
    [null] => 1
    )

    [location_postcode] => Array
    (
    [name] => postcode
    [type] => %s
    [null] => 1
    )

    [location_region] => Array
    (
    [name] => region
    [type] => %s
    [null] => 1
    )

    [location_country] => Array
    (
    [name] => country
    [type] => %s
    [null] => 1
    )

    [location_latitude] => Array
    (
    [name] => latitude
    [type] => %f
    [null] => 1
    )

    [location_longitude] => Array
    (
    [name] => longitude
    [type] => %f
    [null] => 1
    )

    [post_content] => Array
    (
    [name] => description
    [type] => %s
    [null] => 1
    )

    [location_owner] => Array
    (
    [name] => owner
    [type] => %d
    [null] => 1
    )

    [location_status] => Array
    (
    [name] => status
    [type] => %d
    [null] => 1
    )

    )

    [post_fields] => Array
    (
    [0] => post_id
    [1] => location_slug
    [2] => location_name
    [3] => post_content
    [4] => location_owner
    )

    [location_attributes] => Array
    (
    )

    [image_url] =>
    [required_fields] => Array
    (
    [location_address] => The location address
    [location_town] => The location town
    [location_country] => The country
    )

    [feedback_message] =>
    [mime_types] => Array
    (
    [1] => gif
    [2] => jpg
    [3] => png
    )

    [errors] => Array
    (
    )

    [previous_status] =>
    [ID] =>
    [post_author] =>
    [post_date] =>
    [post_date_gmt] =>
    [post_title] =>
    [post_excerpt] =>
    [post_status] =>
    [comment_status] =>
    [ping_status] =>
    [post_password] =>
    [post_name] =>
    [to_ping] =>
    [pinged] =>
    [post_modified] =>
    [post_modified_gmt] =>
    [post_content_filtered] =>
    [post_parent] =>
    [guid] =>
    [menu_order] =>
    [post_type] =>
    [post_mime_type] =>
    [comment_count] =>
    [ancestors] =>
    [filter] =>
    )

    [bookings] =>
    [contact] =>
    [category] =>
    [errors] => Array
    (
    )

    [feedback_message] =>
    [warnings] =>
    [required_fields] => Array
    (
    [0] => event_name
    [1] => event_start_date
    )

    [mime_types] => Array
    (
    [1] => gif
    [2] => jpg
    [3] => png
    )

    [previous_status] =>
    [ID] => 990
    [post_author] => 2
    [post_date] => 2015-05-29 05:16:31
    [post_date_gmt] => 2015-05-29 05:16:31
    [post_title] => New York City Workshop ? Natasha Prenn, LCSW
    [post_excerpt] =>
    [post_status] => draft
    [comment_status] => open
    [ping_status] => open
    [post_password] =>
    [post_name] => nyc-workshop-natasha-prenn
    [to_ping] =>
    [pinged] =>
    [post_modified] => 2015-05-29 05:39:11
    [post_modified_gmt] => 2015-05-29 05:39:11
    [post_content_filtered] =>
    [post_parent] => 0
    [guid] => https://beta.aedpinstitute.org/?post_type=event&p=990
    [menu_order] => 0
    [post_type] => event
    [post_mime_type] =>
    [comment_count] => 0
    [ancestors] =>
    [filter] => raw
    [event_modified] => 2015-05-29 05:39:11
    [slug] => nyc-workshop-natasha-prenn
    [owner] => 2
    [name] => New York City Workshop ? Natasha Prenn, LCSW
    [start_time] => 10:00:00
    [end_time] => 16:00:00
    [start_date] => 2015-05-31
    [end_date] => 2015-05-31
    [notes] => Event Content...

    [rsvp_time] => 00:00:00
    [status_array] => Array
    (
    [0] => Pending
    [1] => Approved
    )

    )

    [/code]

    It looks like something is just spilling its guts out, has the feel of what happens when you forget to put </div> at the end of a div in html and everything goes haywire. That’s why I think its an error in the formatting page somewhere, but…. help!

    Thanks!

    https://www.ads-software.com/plugins/events-manager/

Viewing 1 replies (of 1 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    1. did you installed the EM plugin without any error and activated successfully?

    2. you can try to check your wp_debug if it’s enable or not which causes the metabox to show.

Viewing 1 replies (of 1 total)
  • The topic ‘Something went wrong saving your event to the index table….???’ is closed to new replies.