Posted: June 12, 2013 at 12:08 am
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 ‘WHERE event_id = ‘430” at line 1] WordPress database error: [Incorrect table name ”] what to do, to fix? |
|
|
Hi, It looks like the tables in the database havent been created for some reason. The first thing I would do is to deactivate and reactivate the Mailchimp addon plugin to see if it creates them. |
we deactivated and reactivated. we also uninstalled and reinstalled. trying both the current as well as the pre-release versions. still the same error results. |
|
just did the deactivate again, etc. and got: WordPress database error: [Incorrect table name ”] let me know what’s next to get this fixed. |
|
Hi JesterZ, I’m seeing the same errors on my newer test installs. The older ones aren’t affected. From what I can tell, the database tables for the MailChimp add-on are not being created correctly. I’ve reported what I’ve found to the dev team and one of the developers is looking into it. He wasn’t able to reproduce the errors that you and I are seeing so I sent him admin credentials to the test site that I have set up so he can investigate why the MailChimp tables are being set up correctly. |
|
I’m anxious to hear resolution from the dev team. Thank you for looking into this. |
|
Here’s what we are testing: In the MailChimp add-on this change was made on lines 103 and 104 of espresso-mailchimp.php from: define( "EVENTS_MAILCHIMP_ATTENDEE_REL_TABLE", get_option( 'events_mailchimp_attendee_rel_tbl' ) ); define( "EVENTS_MAILCHIMP_EVENT_REL_TABLE", get_option( 'events_mailchimp_event_rel_tbl' ) ); to define( "EVENTS_MAILCHIMP_ATTENDEE_REL_TABLE", $wpdb->prefix."events_mailchimp_attendee_rel" ); define( "EVENTS_MAILCHIMP_EVENT_REL_TABLE", $wpdb->prefix."events_mailchimp_event_rel" ); If you have a code editor and use FTP you can make this change if you’d like to try it out. |
|
I’ll give that a try. thank you.
|
|
looks like it accepted without errors – thank you. I’ll keep you posted on the capture of info as registrants come in. |
|
The support post ‘error with Mailchimp’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.