# bin/console doctrine:migrations:migrate
WARNING! You are about to execute a migration in database "pimcore10" that could result in schema changes and data loss. Are you sure you wish to continue? (yes/no) [yes]:
>
[WARNING] You have 2 previously executed migrations in the database that are not registered migrations.
>> (Pimcore\Bundle\CoreBundle\Migrations\Version20210430124911)
>> 2023-06-18 03:52:41 (Pimcore\Bundle\CoreBundle\Migrations\Version20230307135459)
Are you sure you wish to continue? (yes/no) [yes]:
>
[notice] Migrating up to Pimcore\Bundle\CoreBundle\Migrations\Version22020614115124
[error] Migration Pimcore\Bundle\CoreBundle\Migrations\Version20230424084415 failed during Execution. Error: "An exception occurred while executing a query: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`pimcore10`.`documents_editables`, CONSTRAINT `fk_documents_editables_documents` FOREIGN KEY (`documentId`) REFERENCES `documents` (`id`) ON DELETE CASCADE ON UPDATE NO ACTION)"
.........
.........
[Definition Files] Make sure your definition files in var/classes are up-to-date and all default values are set correctly by running following migration:
mariadb | 2023-06-22 22:19:03 4 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'histogram' at position 10 to have type longblob, found type varbinary(255).
mariadb | 2023-06-22 22:19:03 4 [ERROR] Incorrect definition of table mysql.column_stats: expected column 'hist_type' at position 9 to have type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB','JSON_HB'), found type enum('SINGLE_PREC_HB','DOUBLE_PREC_HB').
[2023-07-07T07:28:08.928544+00:00] php.CRITICAL: Uncaught Error: Pimcore\Twig\Extension\Templating\Inc::__invoke(): Argument #1 ($include) must be of type Pimcore\Model\Document\PageSnippet|string|int, null given, called in /var/www/html/pimcore10/var/cache/prod/twig/02/02420062707554a538d97f75b202bbd5.php on line 442 {"exception":"[object] (TypeError(code: 0): Pimcore\\Twig\\Extension\\Templating\\Inc::__invoke(): Argument #1 ($include) must be of type Pimcore\\Model\\Document\\PageSnippet|string|int, null given, called in /var/www/html/pimcore10/var/cache/prod/twig/02/02420062707554a538d97f75b202bbd5.php on line 442 at /var/www/html/pimcore10/vendor/pimcore/pimcore/lib/Twig/Extension/Templating/Inc.php:47)"} []
[2023-07-07T07:28:08.930727+00:00] php.CRITICAL: Uncaught Exception: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pimcore10.http_error_log' doesn't exist {"exception":"[object] (Doctrine\\DBAL\\Exception\\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pimcore10.http_error_log' doesn't exist at /var/www/html/pimcore10/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pimcore10.http_error_log' doesn't exist at /var/www/html/pimcore10/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pimcore10.http_error_log' doesn't exist at /var/www/html/pimcore10/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121)"} []
Timestamp: Fri Jul 07 2023 20:46:40 GMT+0900 (日本標準時)
Status: 500 | Internal Server Error
URL: /admin/page/get-data-by-id
Message: Cannot assign null to property Pimcore\Model\Document\Editable::$realName of type string
エラーログ var/log/prod.log
[2023-07-07T11:42:36.201380+00:00] php.CRITICAL: Uncaught Error: Cannot assign null to property Pimcore\Model\Document\Editable::$realName of type string {"exception":"[object] (TypeError(code: 0): Cannot assign null to property Pimcore\\Model\\Document\\Editable::$realName of type string at /var/www/html/pimcore10/vendor/pimcore/pimcore/lib/Tool/Serialize.php:31)"} []
[2023-07-07T11:42:36.204626+00:00] request.CRITICAL: Uncaught PHP Exception TypeError: "Cannot assign null to property Pimcore\Model\Document\Editable::$realName of type string" at /var/www/html/pimcore10/vendor/pimcore/pimcore/lib/Tool/Serialize.php line 31 {"exception":"[object] (TypeError(code: 0): Cannot assign null to property Pimcore\\Model\\Document\\Editable::$realName of type string at /var/www/html/pimcore10/vendor/pimcore/pimcore/lib/Tool/Serialize.php:31)"} []
[2023-07-08T08:35:31.588820+00:00] php.CRITICAL: Uncaught Exception: An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pimcore10.http_error_log' doesn't exist {"exception":"[object] (Doctrine\\DBAL\\Exception\\TableNotFoundException(code: 1146): An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pimcore10.http_error_log' doesn't exist at /var/www/html/pimcore10/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1146): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pimcore10.http_error_log' doesn't exist at /var/www/html/pimcore10/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'pimcore10.http_error_log' doesn't exist at /var/www/html/pimcore10/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:121)"} []
[2023-07-12T08:00:17.514235+00:00] console.CRITICAL: Error thrown while running command "messenger:consume pimcore_core pimcore_maintenance pimcore_image_optimize pimcore_search_backend_message --time-limit=300". Message: "Message class "Pimcore\Messenger\SearchBackendMessage" not found during decoding." {"exception":"[object] (Symfony\\Component\\Messenger\\Exception\\MessageDecodingFailedException(code: 0): Message class \"Pimcore\\Messenger\\SearchBackendMessage\" not found during decoding. at /var/www/html/pimcore10/vendor/symfony/messenger/Transport/Serialization/PhpSerializer.php:117)","command":"messenger:consume pimcore_core pimcore_maintenance pimcore_image_optimize pimcore_search_backend_message --time-limit=300","message":"Message class \"Pimcore\\Messenger\\SearchBackendMessage\" not found during decoding."} []