functions.php pharse error on complete new install
So I have just installed wordpress on shared hosting (with php 8.0 DB (I forgot what version but it works) and immediately after setup, I get this:
Parse error: syntax error, unexpected '.', expecting '' or variable (T_VARIABLE) in /home/wwwroot/hkc01210429205315/wp-includes/functions.php on line 1090
So like what is going on? This seems to only happen some of the times that I visit the site (7/10) and other times it shows up just fine. Like, WTF?
Here is functions.php line 1090:
function add_query_arg( ... $args ) {
heres a link to the entire file: https://apipixel-1302080057.cos.ap-hongkong.myqcloud.com/functions.php
Sry for my terrible post, I'm a first time WP user :(