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
1 Answer
Reset to default 0Problem resolved. Just needed a fresh install from Wordpress and it works like a charm.
本文标签: PHP error on local server install
版权声明:本文标题:PHP error on local server install 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745309292a2652840.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论