From a5d97df88c08451e83383bb85b6fa85f71b057ea Mon Sep 17 00:00:00 2001 From: Alexander Killing Date: Wed, 28 Jun 2023 20:51:38 +0200 Subject: [PATCH] 37550: Blog import fails with TypeError thrown with message ilPageObject::_writeParentId(): Argument #3 () must be of --- Modules/Blog/Export/class.ilBlogImporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Blog/Export/class.ilBlogImporter.php b/Modules/Blog/Export/class.ilBlogImporter.php index 988ef51ece8c..165c808421fa 100644 --- a/Modules/Blog/Export/class.ilBlogImporter.php +++ b/Modules/Blog/Export/class.ilBlogImporter.php @@ -63,7 +63,7 @@ public function finalProcessing( foreach ($blp_map as $blp_id) { $blp_id = (int) substr($blp_id, 4); $blog_id = ilBlogPosting::lookupBlogId($blp_id); - ilBlogPosting::_writeParentId("blp", $blp_id, $blog_id); + ilBlogPosting::_writeParentId("blp", $blp_id, (int) $blog_id); } $sty_map = $a_mapping->getMappingsOfEntity("Services/Style", "sty");