Closed NiklasBr closed 6 months ago
Same issue appears in Pimcore admin on Save / publish
@NiklasBr thanks! But I'm curious: How is this even possible (especially your second comment)? If $elementType
is not null, one of those the statements were right:
if ($element instanceof Concrete) {
$elementId = $element->getId();
$elementType = 'object';
} elseif ($element instanceof Document) {
$elementId = $element->getId();
$elementType = 'document';
}
Why the heck does $element->getId()
returns null
?
I have no idea actually, well except for the fact that somehow palpatine surv... I mean the method returned null. Thanks for merging.
Running CLI with an
up()
migration causes this error:Error