We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I create a new BusinessTemplate, I have this error:
request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing 'INSERT INTO vic_view (bodyId, bodyClass, position, lft, lvl, rgt, root, undeletable, cssHash, cssUpToDate, roles, created_at, updated_at, parent_id, template_id, author_id, layout, backendName, query, orderBy, business_entity_id, seo_id, type) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [null, null, 0, 0, 0, 0, 0, 0, null, 0, null, "2017-08-29 09:28:09", "2017-08-29 09:28:09", 101, 7, null, null, "Page formation", null, null, "training", null, "businesstemplate"]: SQLSTATE[HY000]: General error: 1364 Field 'widget_map' doesn't have a default value" at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 115 {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'INSERT INTO vic_view (bodyId, bodyClass, position, lft, lvl, rgt, root, undeletable, cssHash, cssUpToDate, roles, created_at, updated_at, parent_id, template_id, author_id, layout, backendName, query, orderBy, business_entity_id, seo_id, type) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [null, null, 0, 0, 0, 0, 0, 0, null, 0, null, \"2017-08-29 09:28:09\", \"2017-08-29 09:28:09\", 101, 7, null, null, \"Page formation\", null, null, \"training\", null, \"businesstemplate\"]:\n\nSQLSTATE[HY000]: General error: 1364 Field 'widget_map' doesn't have a default value at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:115, Doctrine\\DBAL\\Driver\\PDOException(code: HY000): SQLSTATE[HY000]: General error: 1364 Field 'widget_map' doesn't have a default value at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:107, PDOException(code: HY000): SQLSTATE[HY000]: General error: 1364 Field 'widget_map' doesn't have a default value at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:105)"} {"@git":"b212790a885f9e78fa480bf11166cc241e0f83ca\n","app":"troopers.agency","env":"","request_uri":"/fr/victoire-dcms/business-templatetraining/create"}
It try to persist a view without any value in the deprecated widget_map column, but this value is required
We need to kick this deprecated column, or define a default value as an empty serialized array.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
When I create a new BusinessTemplate, I have this error:
It try to persist a view without any value in the deprecated widget_map column, but this value is required
Resolution Ideas
We need to kick this deprecated column, or define a default value as an empty serialized array.
Related to
The text was updated successfully, but these errors were encountered: