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 query: UPDATE notifications SET send_interval = 0 WHERE send_interval NOT IN () in /var/www/html/sites/all/modules/notifications/notifications.admin.inc on line 236.
When I click "Reset to defaults" on the intervals page (/admin/messaging/notifications/intervals) I get the above aforementioned error.
Comments
Comment #1
tajindersingh commented* subscribing
Comment #2
tajindersingh commentedSteps to solve this:
to
$intervals = notifications_send_intervals();code line to load$intervalsvariable with default values from notifications module, which stays null in case of 'Reset to Default'Someone needs to generate the patch for this.
Comment #3
tajindersingh commented