admin管理员组

文章数量:1421730

I'm trying to install an existing Wordpress website on my local server (Mamp). When I open the site in my browser it's all white. If I activate WP_DEBUG I've got this PHP error :

Warning: Unexpected character in input: '' (ASCII=15) state=0 in /Applications/MAMP/htdocs/www/gla/wp-includes/formatting.php on line 5318

Parse error: syntax error, unexpected 'T' (T_STRING), expecting ')' in /Applications/MAMP/htdocs/www/gla/wp-includes/formatting.php on line 5318

I've been installing and using Wordpress many times but it's the first time I see so. Is it a problem of PHP version?

Thanks for the help!

I'm trying to install an existing Wordpress website on my local server (Mamp). When I open the site in my browser it's all white. If I activate WP_DEBUG I've got this PHP error :

Warning: Unexpected character in input: '' (ASCII=15) state=0 in /Applications/MAMP/htdocs/www/gla/wp-includes/formatting.php on line 5318

Parse error: syntax error, unexpected 'T' (T_STRING), expecting ')' in /Applications/MAMP/htdocs/www/gla/wp-includes/formatting.php on line 5318

I've been installing and using Wordpress many times but it's the first time I see so. Is it a problem of PHP version?

Thanks for the help!

Share Improve this question asked Jul 9, 2019 at 15:45 Mathieu PréaudMathieu Préaud 2035 silver badges18 bronze badges 1
  • What version of PHP and WordPress are you running? – Jacob Peattie Commented Jul 10, 2019 at 11:03
Add a comment  | 

1 Answer 1

Reset to default 0

Problem resolved. Just needed a fresh install from Wordpress and it works like a charm.

本文标签: PHP error on local server install