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
1 Answer
Reset to default 0Problem resolved. Just needed a fresh install from Wordpress and it works like a charm.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745309293a4621905.html
评论列表(0条)