not sure if this was the best way to solve the issue but
I went to the terminal and edited the cnf file
change this sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
to this
sql_mode=
Bookmarks