admin管理员组

文章数量:1293969

( ! ) Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in C:\wamp\www\wordpress\wordpress\wp-includes\functions.php on line 1090
Call Stack
#   Time    Memory  Function    Location
1   0.0006  242024  {main}( )   ..\index.php:0
2   0.0010  244896  require( 'C:\wamp\www\wordpress\wordpress\wp-blog-header.php' ) ..\index.php:17
3   0.0013  265272  require_once( 'C:\wamp\www\wordpress\wordpress\wp-load.php' )   ..\wp-blog-header.php:13
( ! ) Parse error: syntax error, unexpected '.', expecting '&' or variable (T_VARIABLE) in C:\wamp\www\wordpress\wordpress\wp-includes\functions.php on line 1090
Call Stack
#   Time    Memory  Function    Location
1   0.0006  242024  {main}( )   ..\index.php:0
2   0.0010  244896  require( 'C:\wamp\www\wordpress\wordpress\wp-blog-header.php' ) ..\index.php:17
3   0.0013  265272  require_once( 'C:\wamp\www\wordpress\wordpress\wp-load.php' )   ..\wp-blog-header.php:13
Share Improve this question edited Apr 26, 2021 at 18:16 Pat J 12.4k2 gold badges28 silver badges36 bronze badges asked Apr 26, 2021 at 16:54 Manpreet KaurManpreet Kaur 111 bronze badge 1
  • Does it persist if you disable all the plugins and switch to a default theme? If it does, start re-activating the plugins one by one till the error recurs. That'll tell you which plugin has the issue, and whose support you need to contact. – Pat J Commented Apr 26, 2021 at 18:15
Add a comment  | 

1 Answer 1

Reset to default 1

Line 1090 is

function add_query_arg( ...$args ) {

This is the variable-length argument syntax that was introduced in PHP 5.6. You're probably running an older version of PHP than that.

Since version 5.2 WordPress requires at least PHP 5.6.20, but currently recommends 7.4+. See the requirements page or the readme in the download.

本文标签: I39m getting this error in localhostwordpress