<blockquote>
  <p>The info table is missing its row...</p>
</blockquote>

<p>The <code>craft_info</code> table in the database should only ever have one row in it.  In a fresh Craft installation, then installer should populate the row with the relevant information.</p>

<p>If you're getting that error message, then that table is missing its one row, which would indicate that some other error happened during installation.</p>

<p>If it's a Craft generated error, then that underlying message would be in your <code>craft/storage/logs</code> files.  If it's a web server generated error, that error would be in your web server's error logs.</p>

CC BY-SA 4.0
2018-08-24T04:01:46.697Z
2018-08-24T04:01:46.697Z
Brad Bell
<p>I ran across this same error and it seemed if I had minimal permissions setup for the database user then I would get this error. I changed the permissions for the database user to be a DBA and it worked. I didn't want to have the craft user setup with permissions at the DBA level but when the craft script is running ADD CONSTRAINT or adding foreign key it makes sense. </p>

CC BY-SA 4.0
2019-05-28T02:43:48.293Z
2019-05-28T02:43:48.293Z
Tim Strawbridge
<p>I just ran into this updating a site from 3.3.20.1 to 3.4.x. There was one row in the info table, but it had an ID of 2. I changed the ID to 1 and it started working again.</p>

CC BY-SA 4.0
2020-06-03T11:18:23.800Z
2020-06-03T11:18:23.800Z
darylknight
<p><a href="https://i.sstatic.net/6tsDX.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/6tsDX.png" alt="enter image description here" /></a></p>
<p>I'm new with Craft CMS and receive this error when I try to install it</p>
<blockquote>
<p>-------------------ERROR-----------------------------</p>
<p>An Error occurred while handling another error:
yii\web\ServerErrorHttpException: The info table is missing its row in C:\xampp\htdocs\craft\vendor\craftcms\cms\src\base\ApplicationTrait.php:512</p>
</blockquote>

CC BY-SA 4.0
2018-08-23T14:08:09.733Z
Welcome to Craft! Are you trying to access `/admin/install` when you get this error?
CraftQuest
CC BY-SA 4.0
2018-12-19T15:55:11.200Z
I get the same error every time i try to backup the DB from the dev to my local env, from the panel. I work on Windows 10, my coworkers are on IOS and they do not seem to have this particular issue. It's not happening on one specific setup, but all of our Craft 3 projects. The craft_info table is, in fact, empty, thus the error. If i export it from phpmyadmin, it's all good! No other error has been logged, but `The info table is missing its row...`
Cryptomothy
CC BY-SA 4.0
2021-06-15T12:47:06.917Z
be careful with version 5.7 as it works with 5.6.
Robert Ionut Neagu
CC BY-SA 4.0
2021-06-16T19:20:29.280Z
Could you give some more explanation about what you're referring to when you mention these versions?
Cavell Blood
<craft3><installation>
yii\web\ServerErrorHttpException Craft 3 install
# yii\web\ServerErrorHttpException Craft 3 install

(Asked by: username_0 on 2018-08-22)

[![enter image description here](https://i.sstatic.net/6tsDX.png)](https://i.sstatic.net/6tsDX.png)

I'm new with Craft CMS and receive this error when I try to install it

> -------------------ERROR-----------------------------
>
> An Error occurred while handling another error:
> yii\web\ServerErrorHttpException: The info table is missing its row in C:\xampp\htdocs\craft\vendor\craftcms\cms\src\base\ApplicationTrait.php:512

**Tags:** craft3, installation

> **Comments:**
> **username_1**: Welcome to Craft! Are you trying to access `/admin/install` when you get this error?  
> **username_2**: I get the same error every time i try to backup the DB from the dev to my local env, from the panel. I work on Windows 10, my coworkers are on IOS and they do not seem to have this particular issue. It's not happening on one specific setup, but all of our Craft 3 projects. The craft_info table is, in fact, empty, thus the error. If i export it from phpmyadmin, it's all good! No other error has been logged, but `The info table is missing its row...`  
> **username_3**: be careful with version 5.7 as it works with 5.6.  
> **username_4**: Could you give some more explanation about what you're referring to when you mention these versions?  

---

## 3 answers

### Answer by username_5 on 2018-08-24. Score: 2

> The info table is missing its row...

The `craft_info` table in the database should only ever have one row in it. In a fresh Craft installation, then installer should populate the row with the relevant information.

If you're getting that error message, then that table is missing its one row, which would indicate that some other error happened during installation.

If it's a Craft generated error, then that underlying message would be in your `craft/storage/logs` files. If it's a web server generated error, that error would be in your web server's error logs.


---

### Answer by username_6 on 2019-05-28. Score: 1

I ran across this same error and it seemed if I had minimal permissions setup for the database user then I would get this error. I changed the permissions for the database user to be a DBA and it worked. I didn't want to have the craft user setup with permissions at the DBA level but when the craft script is running ADD CONSTRAINT or adding foreign key it makes sense.


---

### Answer by username_7 on 2020-06-03. Score: 1

I just ran into this updating a site from 3.3.20.1 to 3.4.x. There was one row in the info table, but it had an ID of 2. I changed the ID to 1 and it started working again.


---

