<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>

CC BY-SA 4.0
2024-07-19T05:25:29.830Z
Same here, json syntax error.
biko
CC BY-SA 4.0
2018-10-23T03:37:26.160Z
2018-10-23T03:37:26.160Z
Bowenac
<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>

CC BY-SA 4.0
2020-01-29T12:10:58.900Z
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
darylknight
CC BY-SA 4.0
2020-01-29T12:03:24.740Z
2020-01-30T14:30:33.343Z
2020-01-30T14:30:33.343Z
Luke
<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>

<entries><craft3>
Unable to edit single or structures, channels working fine after update to Craft 3
# 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  

---

