Are you sure you did not add
\[ and \] inside an already existing \[\] pair? What is the output of declare -p PS1?