DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled
Execute the following in the MySQL console:
SET GLOBAL log_bin_trust_function_creators = 1;
Add the following to the mysql.ini configuration file:
log_bin_trust_function_creators = 1;