I’m having this same issue with our PHP 7.3 dev site. If I’m using PHP 5.6 I do not run into this issue. I’ve tested with turning off all plugins and even using the default theme, but still receive the same error message.
Has anyone else found a fix or root cause for this error?