Thank you so much, that resolved the issue for me too.
Just one more question, is this a complete fix? I don;t exactly understand the code or the error, and I just want to make sure the error was not indicating an issue with a plugin or code or anything that I further need to resolve.
I did try deactivating all plugins and I still had the error.
Thanks for any advice.