@Marylee96 I had this error yestoday and I think it is caused by uncompatible plugins. I fixed it through banning all of plugins and then active them one by one to find out which plugin made the error. Finally I uninstalled them and fixed. Hope it is helpful.