wpdberror on event save
-
Hi,
When I can call save on the EM_Event below I get the following message. Is it just that I haven’t filled in a bunch of fields yet or something more sinister? I have filed in all the fields related to location I think so am a bit puzzled… Any thoughts greatly appreciated, I know you must get a lot of these with such a complex plugin!Many thanks,
Rob<div id=’error’>
<p class=’wpdberror’>WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1]
SELECT location_status FROM wp_em_locations WHERE location_id=
</p>
</div>EM_Event Object
(
[event_id] =>
[post_id] =>
[event_slug] =>
[event_owner] =>
[event_name] => The Hot Caribbean New Year’s Eve
[event_start_time] => 21:00
[event_end_time] => 04:00
[event_all_day] =>
[event_start_date] => 2010-12-31
[event_end_date] =>
[post_content] =>
[event_rsvp] =>
[event_rsvp_date] =>
[event_rsvp_time] => 00:00:00
[event_rsvp_spaces] =>
[event_spaces] =>
[event_private] =>
[location_id] => 2
[recurrence_id] =>
[event_status] =>
[event_date_created] =>
[event_date_modified] =>
[blog_id] =>
[group_id] =>
[event_attributes] => Array
(
[fburl] =>
[ticketurla] =>
[ticketurlb] =>
[ticketurlc] =>
)[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] => images/usr_event/
[start] =>
[end] =>
[rsvp_end] =>
[created] =>
[modified] =>
[location] =>
[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] =>
[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] =>
[status_array] => Array
(
[0] => Pending
[1] => Approved
)[entry_price] => Array
(
[low] =>
[high] =>
)[location_latitude] => 51.521089
[location_longitude] => -0.0917319
[location_name] => Parker Mcmillan
[location_address] => 47 Chiswell Street
[location_town] => London
[location_state] => London
[location_postcode] => EC1Y4SB
[location_region] => London
[location_country] => Jamaica
[content] => The Hot Caribbean New Year’s Eve Party – Friday 31st December You are invited to the Hot Caribbean New Year’s Eve Friday 31st December. This explosive fete will kick start 2011 Caribbean style in Sun Bailante’s tropical furnace. We have lined up the best Dj’s originated from this part of the world with DTee the Soca master at BBC 1Xtra, DJ Djahman, Guadeloupe’s most versatile Dj jetting off to London, Sun Bailante with its infectious Latin and global sounds, plus special Grenadian guest on the night DJ QT 2 Hype the rising star from Bang radio. Don’t miss the sexy Caribbean Carnival parade and expect hip-shaking Soca, Dancehall, Zouk and Reggae alongside R&B, Hip Hop, Funky House plus Salsa, Reggaeton and Latin vibes. A surprise Live PA will get you in the party mood as you arrive to Parker McMillan one of the most mysterious yet sublime venues of London. Tasty Caribbean food will be served in the restaurant. The dress code is ‘Exotic Blue’ on that night! Finally, 10% of the profit will go to the National Committee for St Lucia Hurricane relief registered Charity no# 281188. This Sun Bailante event is sponsored by: – Poison UK, the biggest Caribbean events company in Europe – Soca News, the number one Soca Magazine in the UK.
[artist] => Sun Bailante, Dj Qt 2 Hype, Dj Dtee, Dj Djahman
[genre] => Zouk, Soca, Salsa, Reggaeton, Reggae, R&B, Dancehall
[event_price_low] => 20
[event_price_high] => 25
[fbEventId] =>
)
- The topic ‘wpdberror on event save’ is closed to new replies.