|
|
@@ -448,6 +448,9 @@ class WordPressImport {
|
|
|
}
|
|
|
|
|
|
$placeholders = str_repeat('?,', count($postIds) - 1) . '?';
|
|
|
+ $this->log("Post IDs to map: " . implode(', ', $postIds));
|
|
|
+ $this->log("Placeholders: " . $placeholders);
|
|
|
+ $this->log("Parameter count: " . count($postIds));
|
|
|
$this->log("Executing publication mapping query with " . count($postIds) . " post IDs");
|
|
|
$pubStmt = $this->targetDb->query("
|
|
|
SELECT id, wp_post_id FROM publications
|