diff --git a/.deploy/ucsc-news-migration/src/Import/Processors/Post.php b/.deploy/ucsc-news-migration/src/Import/Processors/Post.php index 8a70686b..e9d9eefb 100644 --- a/.deploy/ucsc-news-migration/src/Import/Processors/Post.php +++ b/.deploy/ucsc-news-migration/src/Import/Processors/Post.php @@ -133,7 +133,7 @@ protected function inject_co_authors( array $author, int $post_id ) { return; } - $this->assign_co_author( $post_id, $author['name'] ?? '', $author['email'] ?? '' ); + $this->assign_co_author( $post_id, (string) $author['name'] ?? '', (string) $author['email'] ?? '' ); } protected function inject_image_block( int $post_id, int $image_id, string $meta_key, array $meta = [], bool $has_secondary_image = false ): string {