From a83b10b7ed2c4aaba3db5d6760e541e4d4018161 Mon Sep 17 00:00:00 2001 From: Ramya krishna Date: Wed, 21 Aug 2024 15:11:01 +0530 Subject: [PATCH] remove error log --- includes/Services/InstaMigrateService.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/includes/Services/InstaMigrateService.php b/includes/Services/InstaMigrateService.php index f6deb20..9c6b0bc 100644 --- a/includes/Services/InstaMigrateService.php +++ b/includes/Services/InstaMigrateService.php @@ -62,16 +62,6 @@ public function install_instawp_connect() { ); $installer = new Installer( $params ); $response = $installer->start(); - error_log(json_encode($response)); - - // do the return of error here - if ( $response && !$response[0]['success'] ){ - return new \WP_Error( - 'Bad request', - esc_html__( 'Plugin is not installed' ), - array( 'status' => 400 ) - ); - } } // Connect the website with InstaWP server