Friday , December 20 2024

“Parse error functions.php on line 1064” when installing WordPress

The error that occurred when installing a fresh version of WordPress on a new hosting:

Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in /wp-includes/functions.php on line 1064

The solution turned out to be extremely simple: the PHP 5.4 version was activated on the hosting, when the version was changed to 7.1, the WordPress installation started without errors – because for WordPress version 5.2+ it is mandatory to use PHP version 5.6.20 or above.

If you do not know how to change the PHP version on your hosting, just contact Technical support of your hosting provider.

About admin

Hi there! My name is Iryna, I am a web developer from Ukraine. While working on freelance projects I often face different technical issues and in this blog I publish articles on how to solve them. I am also interested in digital drawing and in this blog you will find brief tutorials that helped me and hopefully can help you as well.

Check Also

How to remove 404 //fonts.gstatic.com and //fonts.googleapis.com from WordPress head section

I tried solutions with functions that should remove from head and , but a very …

Leave a Reply

Your email address will not be published. Required fields are marked *