We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #2371165
SQL Error
Closed

Comments

  • David Wittenzellner started the conversation

    I've installed the Amelia-Plugin. However, I'm unable to use the email notifications. I've tried different smtp accounts from different servers. Also I've tried deactivating all plugins. Regardless of that, the error log shows a fairly long error statement. 

    AH01071: Got error 'sts fxc3xbcr Abfrage ALTER TABLE wz_amelia_notifications_sms_history DROP INDEX userId von activate_plugin, do_action('activate_ameliabooking/ameliabooking.php'), WP_Hook->do_action, WP_Hook->apply_filters, AmeliaBooking\Plugin::activation, AmeliaBooking\Infrastructure\WP\InstallActions\ActivationDatabaseHook::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\AbstractDatabaseTable::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsSMSHistoryTable::buildTable PHP message: WordPress-Datenbank-Fehler Can't DROP 'wz_amelia_notifications_sms_history_ibfk_3'; check that column/key exists fxc3xbcr Abfrage ALTER TABLE wz_amelia_notifications_sms_history DROP FOREIGN KEY wz_amelia_notifications_sms_history_ibfk_3 von activate_plugin, do_action('activate_ameliabooking/ameliabooking.php'), WP_Hook->do_action, WP_Hook->apply_filters, AmeliaBooking\Plugin::activation, AmeliaBooking\Infrastructure\WP\InstallActions\ActivationDatabaseHook::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\AbstractDatabaseTable::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsSMSHistoryTable::buildTable PHP message: WordPress-Datenbank-Fehler Can't DROP 'appointmentId'; check that column/key exists fxc3xbcr Abfrage ALTER TABLE wz_amelia_notifications_sms_history DROP INDEX appointmentId von activate_plugin, do_action('activate_ameliabooking/ameliabooking.php'), WP_Hook->do_action, WP_Hook->apply_filters, AmeliaBooking\Plugin::activation, AmeliaBooking\Infrastructure\WP\InstallActions\ActivationDatabaseHook::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\AbstractDatabaseTable::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\Notification\NotificationsSMSHistoryTable::buildTable PHP message: WordPress-Datenbank-Fehler 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 'FOREIGN KEY (customFieldId) REFERENCES wz_amelia_custom_fields(id) ON DELETE CAS' at line 1 fxc3xbcr Abfrage ALTER TABLE wz_amelia_custom_fields_options ADD COLUMN FOREIGN KEY (customFieldId) REFERENCES wz_amelia_custom_fields(id) ON DELETE CASCADE von activate_plugin, do_action('activate_ameliabooking/ameliabooking.php'), WP_Hook->do_action, WP_Hook->apply_filters, AmeliaBooking\Plugin::activation, AmeliaBooking\Infrastructure\WP\InstallActions\ActivationDatabaseHook::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\AbstractDatabaseTable::init, dbDelta PHP message: WordPress-Datenbank-Fehler 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 'FOREIGN KEY (`serviceId`) REFERENCES wz_amelia_services(id) ON DELETE CASCADE' at line 1 fxc3xbcr Abfrage ALTER TABLE wz_amelia_custom_fields_services ADD COLUMN FOREIGN KEY (`serviceId`) REFERENCES wz_amelia_services(id) ON DELETE CASCADE von activate_plugin, do_action('activate_ameliabooking/ameliabooking.php'), WP_Hook->do_action, WP_Hook->apply_filters, AmeliaBooking\Plugin::activation, AmeliaBooking\Infrastructure\WP\InstallActions\ActivationDatabaseHook::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\AbstractDatabaseTable::init, dbDelta PHP message: WordPress-Datenbank-Fehler 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 'FOREIGN KEY (`eventId`) REFERENCES wz_amelia_events(id) ON DELETE CASCADE' at line 1 fxc3xbcr Abfrage ALTER TABLE wz_amelia_custom_fields_events ADD COLUMN FOREIGN KEY (`eventId`) REFERENCES wz_amelia_events(id) ON DELETE CASCADE von activate_plugin, do_action('activate_ameliabooking/ameliabooking.php'), WP_Hook->do_action, WP_Hook->apply_filters, AmeliaBooking\Plugin::activation, AmeliaBooking\Infrastructure\WP\InstallActions\ActivationDatabaseHook::init, AmeliaBooking\Infrastructure\WP\InstallActions\DB\AbstractDatabaseTable::init, dbDelta ', referer: ...


  •  2,576
    Aleksandar replied

    Hello David

    Thank you for your purchase.

    This error is linked to foreign keys in the database tables, and doesn't actually have anything to do with sending notifications.

    What PHP Version do you have on your website? If it's less than v.7 please update it, and test again.

    If that doesn't help, please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •   David Wittenzellner replied privately
  •   Aleksandar replied privately