ethercreative / seo

SEO utilities including a unique field type, sitemap & redirect manager
MIT License
269 stars 96 forks source link

No description error 500 #371

Open driesbonte opened 3 years ago

driesbonte commented 3 years ago

Description

Some entries trigger a error 500 when no seo description is filled in. When filling in a description the error is resolved.

Only production environment is triggering a error 500.

This error is triggered in the craft php errors:

0 /data/sites/web/xxx/craft/vendor/yiisoft/yii2/db/Command.php(1304): yii\db\Schema->convertException()

1 /data/sites/web/xxx/craft/vendor/yiisoft/yii2/db/Command.php(1165): yii\db\Command->internalExecute()

2 /data/sites/web/xxx/craft/vendor/yiisoft/yii2/db/Command.php(421): yii\db\Command->queryInternal()

3 /data/sites/web/xxx/craft/vendor/yiisoft/yii2/db/Query.php(287): yii\db\Command->queryOne()

4 /data/sites/web/xxx/craft/vendor/craftcms/cms/src/db/Query.php(168): yii\db\Query->one()

5 /data/sites/web/xxx/craft/vendor/craftcms/cms/src/services/Elements.php(600): craft\db\Query->one()

6 /data/sites/web/xxx/craft/vendor/craftcms/cms/src/web/UrlManager.php(397): craft\services\Elements->getElementByUri()

7 /data/sites/web/xxx/craft/vendor/craftcms/cms/src/web/UrlManager.php(354): craft\web\UrlManager->_getMatchedElementRoute()

8 /data/sites/web/xxx/craft/vendor/craftcms/cms/src/web/UrlManager.php(114): craft\web\UrlManager->_getRequestRoute()

9 /data/sites/web/xxx/craft/vendor/craftcms/cms/src/web/Request.php(1313): craft\web\UrlManager->parseRequest()

10 /data/sites/web/xxx/craft/vendor/yiisoft/yii2/web/Application.php(83): craft\web\Request->resolve()

11 /data/sites/web/xxx/craft/vendor/craftcms/cms/src/web/Application.php(259): yii\web\Application->handleRequest()

12 /data/sites/web/xxx/craft/vendor/yiisoft/yii2/base/Application.php(392): craft\web\Application->handleRequest()

13 /data/sites/web/xxxbe/web/company/production/index.php(22): yii\base\Application->run()

14 {main}

Additional Information: Array ( [0] => HY000 [1] => 2006 [2] => MySQL server has gone away )

Additional info