Answers.Body: <p>Was an issue with my Simple.json redactor config</p>
  
  <p>Was</p>
  
  <pre><code>{
      buttons: [bold, italic],
      toolbarFixed: true
  }
  </code></pre>
  
  <p>Needed to be</p>
  
  <pre><code>{
      "buttons": ["bold", "italic"],
      "toolbarFixed": true
  }
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-07-19T05:25:29.830Z
Answers.Text: Same here, json syntax error.
Answers.UserDisplayName: biko
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-23T03:37:26.160Z
Answers.LastActivityDate: 2018-10-23T03:37:26.160Z
Answers.UserDisplayName: Bowenac
Answers.Body: <p>Just had the same error. Something went wrong during the update to craft 3.4. </p>
  
  <p>In my case, it had todo with the corrupted stored settings information in the database. </p>
  
  <p>The solution was to remove the serialized content in the <code>info</code> table. You might want to safe it first though ;)
  After I deleted the serialized settings and reloaded the admin page, craft rebuild it and everything works fine now.</p>
  
  <p>Maybe this helps someone ;)</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-29T12:10:58.900Z
Answers.Text: I had the same error message and also found this page (my Redactor configs are fine), something went from updating from 3.1 to 3.4 this morning
Answers.UserDisplayName: darylknight
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-01-29T12:03:24.740Z
Answers.LastActivityDate: 2020-01-30T14:30:33.343Z
Answers.LastEditDate: 2020-01-30T14:30:33.343Z
Answers.UserDisplayName: Luke
Body: <p>Working in devMode, when trying to edit an existing single or structure entry, I get an InvalidArgument error</p>
  
  <p>yii\base\InvalidArgumentException: Syntax error. in ...vendor/yiisoft/yii2/helpers/BaseJson.php:133</p>
  
  <pre><code>if (isset($availableErrors[$lastError])) {
      throw new InvalidArgumentException($availableErrors[$lastError], $lastError);
  }
  </code></pre>
  
  <p>I notice in Chrome tools I get a bunch of Craft is not defined errors any ideas?</p>
  
Tags: <entries><craft3>
Title: Unable to edit single or structures, channels working fine after update to Craft 3
ThreadText: # Unable to edit single or structures, channels working fine after update to Craft 3
  
  (Asked by: username_0 on 2018-10-23)
  
  Working in devMode, when trying to edit an existing single or structure entry, I get an InvalidArgument error
  
  yii\base\InvalidArgumentException: Syntax error. in ...vendor/yiisoft/yii2/helpers/BaseJson.php:133
  
  ```
  if (isset($availableErrors[$lastError])) {
      throw new InvalidArgumentException($availableErrors[$lastError], $lastError);
  }
  
  ```
  
  I notice in Chrome tools I get a bunch of Craft is not defined errors any ideas?
  
  **Tags:** entries, craft3
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_0 on 2018-10-23. Score: 6
  
  Was an issue with my Simple.json redactor config
  
  Was
  
  ```
  {
      buttons: [bold, italic],
      toolbarFixed: true
  }
  
  ```
  
  Needed to be
  
  ```
  {
      "buttons": ["bold", "italic"],
      "toolbarFixed": true
  }
  
  ```
  
  > **Comments:**
  > **username_1**: Same here, json syntax error.  
  
  ---
  
  ### Answer by username_2 on 2020-01-29. Score: 2
  
  Just had the same error. Something went wrong during the update to craft 3.4.
  
  In my case, it had todo with the corrupted stored settings information in the database.
  
  The solution was to remove the serialized content in the `info` table. You might want to safe it first though ;)
  After I deleted the serialized settings and reloaded the admin page, craft rebuild it and everything works fine now.
  
  Maybe this helps someone ;)
  
  > **Comments:**
  > **username_3**: I had the same error message and also found this page (my Redactor configs are fine), something went from updating from 3.1 to 3.4 this morning  
  
  ---
  
  