π | Drupal core | InvalidArgumentException: The timestamp must be numeric. in Drupal\Component\Datetime\DateTimePlus::createFromTimestamp()
πΊπ¦Ukraine Ordasoft
Hello
With "revision" check, the errors fixed like before proposed:
file:
core/lib/Drupal/Core/Entity/Controller/VersionHistoryController.php
code:
protected function getRevisionDescription(RevisionableInterface $revision): array {
$context = [];
if ($revision instanceof RevisionLogInterface ) {
replace to code:
protected function getRevisionDescription(RevisionableInterface $revision): array {
$context = [];
if ($revision instanceof RevisionLogInterface && !empty($revision->getRevisionCreationTime() ) ) {
Regards