diff --git a/module/VuFind/src/VuFind/Connection/SRU.php b/module/VuFind/src/VuFind/Connection/SRU.php
index 311b66c38a539d7d0018afe414bbe9e8bb316277..c658872fa2695f43c2576e14d928edc51d2e2fda 100644
--- a/module/VuFind/src/VuFind/Connection/SRU.php
+++ b/module/VuFind/src/VuFind/Connection/SRU.php
@@ -265,7 +265,7 @@ class SRU
     public function checkForHttpError($result)
     {
         if (!$result->isSuccess()) {
-            throw new \Exception('HTTP error ' . $result->getStatus());
+            throw new \Exception('HTTP error ' . $result->getStatusCode());
         }
     }
 
diff --git a/module/VuFind/src/VuFind/Connection/WorldCat.php b/module/VuFind/src/VuFind/Connection/WorldCat.php
index 80c3b6a06396e60d000b79e7f44a8d5269c9944b..718fa33805f7dba60467ef9cddcea737a34bb8b6 100644
--- a/module/VuFind/src/VuFind/Connection/WorldCat.php
+++ b/module/VuFind/src/VuFind/Connection/WorldCat.php
@@ -75,7 +75,7 @@ class WorldCat extends SRU
         if ($this->logger) {
             $this->logger->debug('Connect: ' . $uri);
         }
-        $result = $this->client->request('POST');
+        $result = $this->client->setMethod('POST')->send();
         $this->checkForHttpError($result);
 
         return simplexml_load_string($result->getBody());
@@ -98,7 +98,7 @@ class WorldCat extends SRU
         if ($this->logger) {
             $this->logger->debug('Connect: ' . $uri);
         }
-        $result = $this->client->request('POST');
+        $result = $this->client->setMethod('POST')->send();
         $this->checkForHttpError($result);
 
         return $result->getBody();