We were able to fix the errors by deleting the “&” character from the wp_default_scripts() function which is found in “/wp-includes/script-loader.php” around line 48.
before:
function wp_default_scripts( &$scripts ) {
after:
function wp_default_scripts( $scripts ) {
Hope this helps someone.