Answers.Body: <p>This seems to be the same as <a href="https://civicrm.stackexchange.com/questions/31657/upgrade-of-civicrm-fails-with-parse-error">upgrade of civicrm fails with parse error</a>. You need to have php 7.x on the server not php 5.x.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-18T16:26:00.043Z
Answers.Text: thank you, and good day.
Answers.UserDisplayName: philippe
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-08-16T18:08:06.127Z
Answers.LastActivityDate: 2019-08-16T18:08:06.127Z
Answers.UserDisplayName: Demerit
Body: <p>I installed civicrm on wordpress, and when I want to configure it: I fall on THIS MESSAGE /
  Thank you for helping me.</p>
  
  <h2>philippe</h2>
  
  <h2>Parse error: syntax error, unexpected ':', expecting '{' in C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\secret_defense\wp-content\plugins\civicrm\civicrm\vendor\league\csv\src\functions.php on line 33</h2>
  
  <p>Ligne 33 : function bom_match(string $str): string
      {
  static $list;</p>
  
  <pre><code>    $list = $list ?? (new ReflectionClass(ByteSequence::class))-&gt;getConstants();
  
      foreach ($list as $sequence) {
          if (0 === strpos($str, $sequence)) {
              return $sequence;
          }
      }
  
      return '';
  </code></pre>
  
Tags: <wordpress>
Title: Installation de civicrm sur worpress
ThreadText: # Installation de civicrm sur worpress
  
  (Asked by: username_0 on 2019-08-16)
  
  I installed civicrm on wordpress, and when I want to configure it: I fall on THIS MESSAGE /
  Thank you for helping me.
  username_0
  Parse error: syntax error, unexpected ':', expecting '{' in C:\Program Files (x86)\EasyPHP-Devserver-17\eds-www\secret_defense\wp-content\plugins\civicrm\civicrm\vendor\league\csv\src\functions.php on line 33
  Ligne 33 : function bom_match(string $str): string
      {
  static $list;
      $list = $list ?? (new ReflectionClass(ByteSequence::class))->getConstants();
  
      foreach ($list as $sequence) {
          if (0 === strpos($str, $sequence)) {
              return $sequence;
          }
      }
  
      return '';
  
  **Tags:** wordpress
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-08-16. Score: 3
  
  This seems to be the same as [upgrade of civicrm fails with parse error](https://civicrm.stackexchange.com/questions/31657/upgrade-of-civicrm-fails-with-parse-error). You need to have php 7.x on the server not php 5.x.
  
  > **Comments:**
  > **username_0**: thank you, and good day.  
  
  ---
  
  