Thank you for this! I've been having the same error pop up the past month and it's been driving me nuts.
All fixed now :)