The only time when I’ve seen this error come up it is when the WordPress constants for
WP_CONTENT_DIR was being set manually in the
wp-config.php file with it set incorrectly. If you set it, make sure to use the full absolute path without a trailing slash per the WordPress docs
Hope that helps, let me know.